How to Fix the Problem with Removing Items from WooCommerce Cart

>How to Fix the Problem with Removing Items from WooCommerce Cart
  • fix wrench

A lot of people are experiencing problems with removing items from the WooCommerce cart while using caching plugins (mainly W3 Total Cache), including us, so we’ve decided to show you how to fix this issue since it’s quite easy.

Note that this fix works for the majority of people, not all; it depends on the case.

Also, this guide is for those who are using the W3 Total Cache plugin.

You might also want to read:

What’s actually the problem with the cart?

The problem is that if you add an item into the cart, but then you want to remove it, it won’t go away; the page just refreshes and the product is still there.


What’s causing this problem?

Well, even though the guys at Woo say that with the implementation of DONOTCACHEPAGE constant, added in the WooCommerce 1.4.2+ versions, the caching plugins won’t cache WooCommerce’s dynamic pages anymore, they still do in some cases.

How to fix the problem with removing the cart item

1) Disable the Set expires header in Browser Cache > General.


If that doesn’t do the trick…

2) Add these page exceptions in Page Cache > Advanced > Never cache the following pages:





3) If 1 or 2 doesn’t work, then apply them both. Disable the Set expires header and then add the page exceptions. That should do the trick.

Don’t forget to hit Ctrl + F5 (Command + R on Mac) on your browser, so you can refresh the page and override the cache before making a test.

That’s it! Pretty simple and fast, no?

Don’t forget to share and let others know!

You might also want to read:

WP Rocket - WordPress Caching Plugin
By |2018-11-14T15:17:15+00:00September 5th, 2014|Fixes, Plugins|8 Comments


  1. spinaker January 12, 2015 at 3:34 PM - Reply

    Nice, thanks for the advice…
    Solved half of the problem after removing the cache plugin but still cannot remove cart item on mobile version as the quantity edit buttons are missing.

    cheers guys

    • ThemeSkills January 15, 2015 at 6:57 PM - Reply

      We are happy to hear that you at least solved half the problem! As for the quantity edit buttons, it sounds like a minified CSS issue. Do you have Minify enabled?

  2. Charles April 5, 2018 at 4:53 AM - Reply

    Please check you use Jetpack plugin and deactivate it first then test it again. I had same problems and spent 2 weeks but after disabling the plugin it works fine.

    • ThemeSkills April 5, 2018 at 3:56 PM - Reply

      Yes, Jetpack can cause quite a few conflicts in different areas, and that’s because it’s too “heavy” and packed with all kind of features. We gave up on it years ago. Thanks for contributing!

      If anyone else has experienced the same issue, involving Jetpack, please do let us know, and I’ll add it as a fix.

  3. GC May 28, 2018 at 8:09 PM - Reply

    Hi I have some items that are getting stuck in my cart, I am trying apply the actions mentioned above but an have a total blank, where do I find “Browser Cache > General” is this located in WordPress or WooC ?, also where is “Page Cache > Advanced > Never cache” I cannot find them.

    • ThemeSkills May 29, 2018 at 6:46 AM - Reply

      Hello! This fix is for WooCommerce + W3 Total Cache, so you can find those in W3’s settings.

  4. Raghav Gakhar October 19, 2018 at 3:14 AM - Reply

    Please tell the settings for wp super cache and woocommerce, I am stuck in this issue since long.

    • ThemeSkills October 19, 2018 at 9:10 AM - Reply

      I’m not aware of this issue on WP Super Cache. But, besides checking it out once or twice, I’ve never really used WP Super Cache; only W3 Total Cache or WP Rocket.

Leave A Comment


- Get guides and offers right into your inbox -

The type of emails that you would like to receive (multiple selection allowed):

You can unsubscribe at any time by clicking the link in the footer of the emails. For more information, please check the privacy policy.

I use MailChimp as my emailing service. By subscribing, you understand that your email and preferences will be transferred to MailChimp. Learn more about MailChimp's privacy practices here.