Cart is not updated when we navigate from page to page.

  • Posts: 57
  • Thank you received: 2
10 months 3 weeks ago #351929

-- url of the page with the problem -- : www.skalarki-electronics.com/en/onlineshop/category.html
-- HikaShop version -- : 4.7.2
-- Joomla version -- : 3.10

I am not sure, when this happen, but there was no update to the template for sure.
Now if something is added to the cart, on the top of the page I can see info about items added to the cart.
But when I move to different page to add different product the same message says "CART IS EMPTY"

Any idea, what this could be?

Please Log in or Create an account to join the conversation.

  • Posts: 81478
  • Thank you received: 13062
  • MODERATOR
10 months 3 weeks ago #351930

Hi,

This indicates that the pages are cached and since the cart module is displayed together with the rest of the page, when the whole page is cached, when someone displays a previously cached page, he sees the cart module from when the page was cached.
And the cart module displays the correct thing after an add to cart because in that case, the system will refresh the cart module area with the current content dynamically.
You need to turn off full page caching on your website if you don't want that to happen.

Please Log in or Create an account to join the conversation.

  • Posts: 57
  • Thank you received: 2
10 months 3 weeks ago #351934

Thanks Nicolas, issue fixed.

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum