Replacing default YITH wishlist plugin with WooCommerce Wishlists

This topic has 4 replies, 3 voices, and was last updated 5 years, 8 months ago ago by Rose Tyler

  • Avatar: starsailor5
    starsailor5
    Participant
    July 8, 2018 at 03:13

    Hello,
    I really liked the way the default YITH wishlist plugin integrated with the xstore theme, but unfortunately this plugin calls admin-ajax.php from the front end.
    I disabled admin-ajax.php from the front end because it was slowing down my site considerably. It is currently about twice or three times as fast and the only broken functionality seems to be the wishlist.
    I have the following plugin now which works without admin-ajax.php but would now like to integrate it with the theme the same way the default wishlist plugin was.
    https://woocommerce.com/products/woocommerce-wishlists/
    mainly in the shop page and the top bar. Currently the shop page shows a blank space where the wishlist heart icon was and the top bar heart icon is gone. The button on the product page is there as it is part of the new plugin.
    is this possible?

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 9, 2018 at 14:25

    Hello,

    You should have PHP and JS skills to replace default wishlist by the new one.
    Code of the wishlist you can find in the following files: xstore/framework/woo.php (etheme_wishlist_btn, etheme_wishlist_widget, etheme_wishlist_fragments functions), xstore/js/etheme.js, xstore/js/etheme.min.js

    But if you want to have wishlist widget in the header with information about products that you have in the wishlist and number of items in the wishlist without page reload, add products to wishlist without page reload (using ajax) you will need to use refresh fragments and admin-ajax.php.
    If you are agreed to add to wishlist with page reload and remove wishlist widget functionality then it does not matter what plugin you will use YITH or WooCommerce Wishlists.

    If you need help with additional customization you can always contact WPKraken team.

    Regards

    Avatar: starsailor5
    starsailor5
    Participant
    July 10, 2018 at 01:21

    Thank you. how can i remove the magnifying glass icon from the quickview so only the add to cart button is left?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 10, 2018 at 08:05

    You’re welcome.
    Please provide screenshot for better understanding what exactly do you want to remove (you can use such screenshot maker as Lightshot).

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.