Wishlist Heart Icons on products not loading after AJAX call

This topic has 13 replies, 2 voices, and was last updated 4 years, 3 months ago ago by Imagine This

  • Avatar: Imagine This
    Imagine This
    Participant
    February 8, 2021 at 17:51

    The Wishlist Heart icons on my site using xStore theme and YITH Wishlist, are not loading after a AJAX call, either Ajax Pagination or Ajax product filtering. Reloading the page manually, or disabling Ajax for both those items fixes it.

    I reached out to YITH support, but they need to know which trigger they can use after product filter and pagination – unless you have an idea how to fix this? Thank you.

    Please, contact administrator
    for this information.
    12 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    February 8, 2021 at 23:30

    Hello,

    Provide us with FTP access to your site to check the issue in more detail.

    Regards

    Avatar: Imagine This
    Imagine This
    Participant
    February 9, 2021 at 00:27

    FTP Creds added. Thank you for taking a look.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    February 9, 2021 at 15:57

    Hello,

    Thank you. I have passed the issue to our developers. I’ll inform you once they find the solution.

    Regards

    Avatar: Imagine This
    Imagine This
    Participant
    February 16, 2021 at 19:27

    Any progress on this? Can I safely disable AJAX pagination and filters or do you need it active to troubleshoot?

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    February 17, 2021 at 15:57

    Hello,

    Unfortunately, we can’t fix the problem only from our side. So, reply to YITH support the following:

    “While filtering using Ajax we add GET[‘et_ajax’] to link (http://prntscr.com/z2wp5y) after getting the content.
    So, we need either code to reinit your wishlist after this Ajax loading or any improvements from your side in plugin code to make it work together.
    For any other questions, you may contact us using 8themes@gmail.com to avoid misunderstanding between our customer and your support.”

    Regards

    Avatar: Imagine This
    Imagine This
    Participant
    February 17, 2021 at 18:07

    OK, will do. Thanks

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    February 17, 2021 at 23:21

    Hello,

    You are welcome.

    Regards

    Avatar: Imagine This
    Imagine This
    Participant
    February 18, 2021 at 17:16

    Oddly, it seems the heart icons are loading on my site now. Not sure if you or they did something on my site or not. The hearts load but they Wishlist tool tips do not, after the Ajax.

    Response from YITH:

    They will need to trigger this JS code after doing the AJAX:

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

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    February 19, 2021 at 13:28

    Hello,

    Check now.

    Regards

    Avatar: Imagine This
    Imagine This
    Participant
    February 19, 2021 at 19:40

    The wishlist heart icon loads (after the Ajax call), but clicking on it does nothing (unable to add to wishlist),.

    Also the Wishlist tool tip does not load either.

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    February 22, 2021 at 11:48

    Hello,

    I don’t see the mentioned issue https://gyazo.com/4a34616bfd8c7479cd0e729372a47c73
    Could you, please, clear the browser cache and try again Or provide us with video using Gyazo gif tool for a better understanding of your actions.

    Regards

    Avatar: Imagine This
    Imagine This
    Participant
    February 22, 2021 at 17:49

    Looks like it is all working. Thanks!

  • Viewing 13 results - 1 through 13 (of 13 total)

The issue related to '‘Wishlist Heart Icons on products not loading after AJAX call’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.