• Resolved rtlaird

    (@rtlaird)


    Using both custom code and via stock shortcode ([ti_wishlist_products_counter]), the wishlist product counter does not automatically update (via ajax, etc.). I have to manually refresh the page to get the counter to change. Is that normal behavior? If so, can I change it?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author templateinvaders

    (@templateinvaders)

    Hi there!

    Firstly, we apologize for the delay in getting back to you. We hope you’re doing well!

    Regarding the issue you raised about the wishlist products counter in the header not updating on AJAX events, we took a look at your website and it seems that you are using custom markup for the counter element in the header.

    This is why the counter is not updating on AJAX events. It depends on the counter element markup that is used by the AJAX script. If the custom markup is not compatible with the AJAX script, the counter will not update.

    To resolve this issue, you may need to update the custom markup for the counter element in the header to ensure compatibility with the AJAX script. Alternatively, you could consider using the default markup provided by the plugin, which is compatible with the AJAX script and should update the counter correctly.

    Plugin Author templateinvaders

    (@templateinvaders)

    Hey @rtlaird ,

    We replied to your question in the chat about how to move the heart icon after the button text, but it looks like you didn’t see our response.

    Just a small addition to your original question on this topic: we noticed that you edited the HTML markup for your wishlist icon in the header, and the counter doesn’t work with Ajax. The simple way to fix the issue is to add the counter class to your current tag, so your markup will look like this:

    <span class="wishlist-value wishlist_products_counter_number">0</span>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Counter not updating’ is closed to new replies.