- Posts: 57
- Thank you received: 2
Cart is not updated when we navigate from page to page.
3 years 4 months ago #351929
by Marcin71
Cart is not updated when we navigate from page to page. was created by Marcin71
-- 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?
-- 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.
3 years 4 months ago #351930
by nicolas
Replied by nicolas on topic Cart is not updated when we navigate from page to page.
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.
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.
3 years 4 months ago #351934
by Marcin71
Replied by Marcin71 on topic Cart is not updated when we navigate from page to page.
Thanks Nicolas, issue fixed.
Please Log in or Create an account to join the conversation.
Time to create page: 0.155 seconds