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?
Theme version: current WooCommerce version: current
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.