Magento cart showing products on cart and main page correctly, but it is showing empty cart on categories and product pages, actually cart is not empty.

My site cache is disable. My site is dressat.se Please help me.

  • have you used any external modules on your website ? I think this is ultimo theme you are using for website. – Dexter Mar 4 '14 at 9:20
  • Looks like a Varnish wrong configuration. – Marius Mar 4 '14 at 9:51
  • Thanks for reply guys, How can I solve this problem? – Musaver Khan Mar 4 '14 at 10:35
  • Please not ask your question multiple times. You posted your question also yesterday. magento.stackexchange.com/questions/16089/… – Tim Hofman Mar 4 '14 at 11:12
  • But I have to find solution, therefor I have asked again. – Musaver Khan Mar 4 '14 at 11:40

Yes, it looks like this was a Varnish caching issue. It seems to be working now, as the category and product page are showing a response header of: X-Cache:SGCACHE-MISS

My guess is the cart part of the page was not properly hole punched and was being cached incorrectly via a Varnish plugin or manual Varnish installation.

  • A lot of thanks for this tip. For me, also, after stop Varnish Cache, disappears this problem with empty cart. – Abdel Karim Mateos Sanchez Aug 13 '14 at 5:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.