Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi ckunderd,

    this is a strange issue! Maybe codecanyon quick view triggers wc “adding_to_cart” event missing required information.

    Can you give us a link where to check for the problem?

    Have a nice day ??

    Hi Yithemes,

    I have same issue when i try to add product using Quick view

    Here is website url

    https://silktrader.weblicious.website/product-category/fashion-fabrics/

    Thanks

    Plugin Author YITHEMES

    (@yithemes)

    Hi jay7134,

    I checked your installation, and found a little problem with woo_quick_view plugin: they’re triggering the adding_to_cart event without the two params, that by default are provided by woocommerce.

    Maybe you can contact plugin developer, letting them know this little issue.

    Anyway, I think we can learn by this problem, adding some additional check to the function that wishlist binds on adding_to_cart event.

    We will implement this checks in the next plugin release; if you want to try this solution by yourself, you can copy

    wp-content/plugins/yith-woocommerce-wishlist/assets/js/unminified/jquery.yith-wcwl.js

    and paste it in your theme root, renaming it as wishlist.js

    Then, you’ll need to change line 32 of the file from this

    if( button.closest( '.wishlist_table' ).length != 0 ){

    to this

    if( typeof button != 'undefined' && typeof data != 'undefined' && button.closest( '.wishlist_table' ).length != 0 ){

    Let me know if this solves the problem
    Have a nice day ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wishlist javascript error’ is closed to new replies.