Reply 46709 to: Wishlist item removal not working -urgent

Avatar: mario83
mario83
Participant
March 2, 2015 at 19:24

Hi,
thank you for reply but it doesn’t help.
I forgot to mention earlier that adding products to wishlist is only possible when I’m logged in as an administrator.
what i can see from code is that this removal button is of class class=”remove” and has a ‘onclick’ call to remove_item_from_wishlist() function. However, latest version of plugin Yith wishlist (v2.0.3.) has its own binding to that function with:
$(document).on( ‘click’, ‘.remove_from_wishlist’, function( ev ){
var t = $( this );
ev.preventDefault();
remove_item_from_wishlist( t );
return false;
} );
they bind to a class which doesn’t exist in the whole theme (v2.6.2) and the jquery.yith-wcwl.js file in which remove_item_from_wishlist() function is implemented is not visible to theme files.

It’s probably something similar to ‘add to wish list’ functionality.
Importing that .js would probably fix this issue, but if versions of theme and plugin are incompatible in any other area, I don’t think that this is the way to do it.

Does any of this help?

It is possible that I got it wrong, I only took a look at the theme and plugin source code.

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.