Item will not be removed from cart with Expires Headers on
-
Hello!
Here’s the issue. If I enable the Set expires header in W3 Total Cache, the items from the cart can’t be removed anymore. You press X and the page just refreshes. I disabled that function in W3.
Then, I added the code recommended by our hosting company, in .htaccess:
## LEVERAGE BROWSER CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType application/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 2 days" </IfModule> ## LEVERAGE BROWSER CACHING ##
Same problem. The item won’t be removed from the cart anymore… I removed several lines and then checked things out, but still nothing. Now I removed the code completely, of course.
This happened with every version of WooCommerce that we’ve used.
Any suggestions that might help?
Looking forward to your reply!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Item will not be removed from cart with Expires Headers on’ is closed to new replies.