• Resolved cantbutron

    (@cantbutron)


    Hello,

    In addition to using “YITH WooCommerce Wishlist”, I also use “WOOF – Products Filter for WooCommerce”. The problem is that when I apply a filter and reload the products via ajax, the icon to add to my wishlist disappears.

    There is a function (woof_ajax_done) from the plugin “WOOF – Products Filter for WooCommerce” that runs the actions inside that function after ajax loading is finished. To reload the wishlist icons I have added the following action:

    $ (document) .trigger ('yith_wcwl_reload_fragments');

    It seems to work correctly but I would like to verify that it is a correct way to do it.

    Thanks

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

    (@yithemes)

    Hi there

    That is exactly the solution that I’d suggest, so I think you can stick with it ??
    Let me know if you need additional help on this topic

    Thread Starter cantbutron

    (@cantbutron)

    Thanks for the clarification. Great plugin and support.

    Regards

    Plugin Author YITHEMES

    (@yithemes)

    You’re welcome

    Please, if you appreciate our plugin and work, don’t forget to leave us a good review; this would really help us

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show “add to wishlist” after ajax content reload’ is closed to new replies.