Shopping cart not updating unless you change page

  • Posts: 180
  • Thank you received: 13
7 years 10 months ago #258471

-- HikaShop version -- : Business 2.6.4 [1610260900]
-- Joomla version -- : 3.6.4 Stable
-- PHP version -- : 7.0.3

Hi

I had a similar issue before, to which you advised that I check the cache and remove the additional cart on the page (i.e. only have one cart on the page). That solved the problem previously, but the problem has resurfaced and I can not locate where the issue lies.

When you add a product, and look at the shopping cart, there is nothing added. When you go to another page and look at the shopping cart, the product then does show. If you go to a page previously viewed, the cart show the state it was in before.

I have tried this wth both Cache OFF and also on CONSERVATIVE (recommend previously by you) and in both cases cleared the site and browser changes and relaunched the browser before testing. Both times the same scenario occurs.

Please can you advise and this site is now live and this is a vital part of the shopping experience.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 10 months ago #258473

Hi,

The Cache setting of the Joomla configuration is only one way to have cache on your website.
It could come from the Cache plugin that you can edit via the Joomla plugins manager, or a 3rd party caching extension, or even a hosting caching system like Varnish or some kind of CDN (you would have to check with your hosting for that).
The problem not being in HikaShop, there is not much else we can say unfortunately.

The following user(s) said Thank You: esotechie

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

  • Posts: 180
  • Thank you received: 13
7 years 10 months ago #258521

Thanks for your reply Nicolas

What occurred here is something you may want to place in your documentation.

It turns out that it is nothing to do with the Joomla caching at all (we did not have a plugin for caching) but to do with PHP running Varnish cache, which we had switched off, but when we switch to the live domain, it was back on as we now understand that it runs by domain and not the site it is running.

Thank you again for taking the time to reply.

Best wishes for the new year ahead :)

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 10 months ago #258522

Hi,

We actually already have a section of our FAQ which talks about that:
"I add products to cart, but I don't see them on each pages." in www.hikashop.com/support/documentation/106-faq.html#layo with the answer:

Four possibilities:

Disable the cache in Joomla configuration.
Site -> global configuration -> system -> "Cache settings". If enabled, please disable the joomla cache plugin.
Check your template' options for a potential cache option and deactivate it.
Some hosting companies use caching proxies like Varnish or CDNs which can potentially be configured to cache your pages. So please contact your hosting company to see with them if they do for your website/server and if it can be deactivated.

The following user(s) said Thank You: esotechie

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

  • Posts: 180
  • Thank you received: 13
7 years 10 months ago #259260

Thank you for taking the time Nicolas

I had not seen that.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum