0


I managed to get Lesti FPC working with memcached, but I quickly ran into a problem.
When I add an item to my cart from any page and go back to the homepage, it shows that my cart is empty.
I understand that I need to specify the block names for cache exclusion in configuration page and I added the following on the module configuration:
enter image description here


enter image description here


My Site URL is https://www.yogastudio.co.uk and I believe that the cart-header block name is correct.
Can you please tell me what am I doing wrong here?

4
  • Can you check your layout .xml files for your theme? I think it should be cart_header Commented May 21, 2018 at 11:16
  • <block type="checkout/cart_sidebar" name="cart_header" template="checkout/cart/topcart.phtml"/> I have this Commented May 21, 2018 at 11:21
  • I updated cart-header to cart_header. Now the icon on the cart is showing wrong numbers while the actual minicart shows correct cart items. Commented May 21, 2018 at 11:29
  • Interesting - take cart-header out of 'bypass' also, as its technically an invalid handle. Are there any embedded blocks in checkout/cart/topcart.phtml? Commented May 21, 2018 at 14:06

1 Answer 1

0

I was unable to get this to work, Then I realized that this website has Amasti FPC plugin and I was able to find out the blocks for the cart icon and cart side bar.
The blocks were:

cart_header,cart_icon

The site was using claue theme, if anyone else stumbled upon this issue again, I hope these two blocks will help you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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