Need to reload the site when a product is added or removed from the wishlit

This topic has 4 replies, 2 voices, and was last updated 1 months, 2 weeks ago ago by Luca Rossi

  • Avatar: Chris0483
    Chris0483
    Participant
    October 20, 2025 at 17:11

    Hello,
    I am using the native XStore wishlist and I am encountering an issue with the automatic update of adding or removing a product from the wishlist.
    In the header, the notification number on the icon does not update, and the wishlist slide-out menu does not work. I have to refresh the page to see the addition or removal of a product from the wishlist.
    I cannot find how to fix this issue. Can you help me, please?
    No caching plugin enable for information.
    Best regards
    CN

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    October 21, 2025 at 12:21

    Hello @Chris0483,

    Could you please try using the following custom JS code?

    
    jQuery(document).on('xstore_wishlist_fragment_refresh', function() {
        window.location.reload();
    });
    

    We hope this helps.

    Best regards,
    The 8Theme Team

    Avatar: Chris0483
    Chris0483
    Participant
    October 21, 2025 at 13:58

    Hello Sir

    It works fine thanks you.
    Do you know or understand why there is this issue please ?
    Greatings
    Chris

    Avatar: Justin
    Luca Rossi
    Support staff
    October 21, 2025 at 17:19

    Dear @Chris0483,

    We recommend that you disable all third-party plugins that are not included with XStore (https://www.8theme.com/documentation/xstore/plugins/included-plugins/). After doing so, please clear your browser’s cache and check again. It is possible that one of these additional plugins is causing the issue.

    Let us know the results.

    Best Regards,
    8Theme’s Team

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

You must be logged in to reply to this topic.Log in/Sign up

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