Hello,
I have a problem with the mini cart. It does not display the correct information about the contents of the cart. Any idea? I am using Flatsome theme.
Example:
1) Open the Category 1 page -> Add product to cart -> Product added -> Mini cart shows 1 item in the cart
2) Open the Category 2 page -> Add product to cart -> Product added -> Mini cart shows 2 items in the cart
3) Open the Category 1 page -> Mini cart shows an empty cart
4) Open the Category 2 page -> Mini cart shows 1 product in the cart
5) Open the Category 3 page -> Mini cart shows 2 products in the cart
I am tried this, but nothing works:
1) Enable "Vary for Mini Cart"
2) Disable "Browser Cache"
3) Disable "ESI"
4) Add code to htaccess:
I have a problem with the mini cart. It does not display the correct information about the contents of the cart. Any idea? I am using Flatsome theme.
Example:
1) Open the Category 1 page -> Add product to cart -> Product added -> Mini cart shows 1 item in the cart
2) Open the Category 2 page -> Add product to cart -> Product added -> Mini cart shows 2 items in the cart
3) Open the Category 1 page -> Mini cart shows an empty cart
4) Open the Category 2 page -> Mini cart shows 1 product in the cart
5) Open the Category 3 page -> Mini cart shows 2 products in the cart
I am tried this, but nothing works:
1) Enable "Vary for Mini Cart"
2) Disable "Browser Cache"
3) Disable "ESI"
4) Add code to htaccess:
Code:
<IfModule LiteSpeed>
RewriteEngine On
RewriteRule .* - [E=Cache-Vary:woocommerce_cart_hash]
</IfModule> -Vary:woocommerce_cart_hash]