This topic has 4 replies, 3 voices, and was last updated 6 years, 4 months ago ago by Rose Tyler
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?
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
Thank you. how can i remove the magnifying glass icon from the quickview so only the add to cart button is left?
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
You must be logged in to reply to this topic.Log in/Sign up