Home Forums WoodMart support forum Compare and wishlist are not working properly

Compare and wishlist are not working properly

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #710100

    kitty-3588
    Participant

    Hi there, I’m using Woodmart v8.4.0. There is a couple of issues regarding the product compare and the wishlist. Firstly, with the compare – it only shows 2 items in my compare list even if I add more, and also with the icon in the header, it shows 0 even when there are items in the list. When you refresh the page, it briefly shows the correct number in the icon count, but then it goes back to 0. That same issue happens for the wishlist – when you add an item to the wishlist, the icon count does update but then on page refresh it goes back to 0. The wishlist does seem to be showing all the items I have added.

    I have deactivated all plugins except the essential ones, and the issue remains. The theme, plugins and WordPress are up to date.

    Please help!

    #710102

    kitty-3588
    Participant

    To speed things up, I have created a temporary login without password link for backend access (active for 1 week)

    #710128

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    Could you please temporarily disable all plugins that are not related to our theme and switch to the parent theme? Test how it works and let us know if this helps. Keep them turned off so we can test this either.

    Kind Regards

    #710147

    kitty-3588
    Participant

    Thank you – I have done that. The problem still happens.

    Please note, that I cannot leave the site like this for very long as I need to continue to work on it. Please let me know how you get on! Thanks so much.

    • This reply was modified 4 months, 1 week ago by kitty-3588.
    #710151

    Artem Temos
    Keymaster
    Xtemos team

    Please send us your admin username and password so we can log in and check what is wrong.

    #710152

    kitty-3588
    Participant

    I already sent the login link without password… does that not work?

    #710169

    Artem Temos
    Keymaster
    Xtemos team

    It doesn’t work at the moment because this plugin seems to be turned off.

    #710170

    kitty-3588
    Participant

    Sorry, I didn’t think of that. The plugin has been activated again, or I’ve added login credentials here in case it still doesn’t work. Thank you!

    #710460

    Artem Temos
    Keymaster
    Xtemos team

    Hi there,

    Thanks for the details and for providing access.

    Your symptoms match a cookie restriction on the server side. Wishlist and Compare in WoodMart store and read data via browser cookies:
    – woodmart_wishlist_count
    – woodmart_wishlist_products
    – woodmart_compare_list
    – woodmart_wishlist_hash

    If your server forces all cookies to be HttpOnly, JavaScript can’t read them. That leads to:
    – Header counters showing the correct number briefly on load, then dropping to 0 after the JS update
    – Inconsistent behavior when adding more items

    https://gyazo.com/35468dfd08a2fb6ece374050a1d74bcd

    Ask your hosting/server admin to disable the rule that sets HttpOnly on all cookies, or at least exclude the woodmart_* and wishlist_* cookies. These must not be HttpOnly so the front end can read/update counters.

    Kind Regards

Viewing 9 posts - 1 through 9 (of 9 total)