← Back to Blog
Woocommerce Troubleshooting

WooCommerce Cart Not Updating: Quick Fix

September 26, 2026 16 views Amanur Rahman
Quantities frozen, items vanishing, or totals stuck at the wrong number? Here's how to diagnose and fix WooCommerce cart update problems — from caching conflicts to AJAX errors.

A shopper changes the quantity in their cart, hits update, and the total doesn't move. Or they remove an item and it stays right there on the page. Or the cart icon in the header still shows items long after checkout. Cart-update bugs are one of the fastest ways to lose a sale — the shopper assumes the store is broken and leaves, even when the order would have gone through fine.

The good news: this is one of the more fixable WooCommerce problems, and it almost always traces back to one of five causes. This guide walks through each one, in the order most likely to solve it fastest.

The Five Common Causes

CauseTypical symptom
Page cachingCart page shows old quantities/totals after an update
AJAX/JavaScript conflictUpdate button does nothing, or spins without finishing
Session/cookie issueCart empties randomly or shows items from a different session
Theme/plugin conflictUpdate works on some pages but not others (e.g., mini-cart vs. cart page)
Stock or variation syncQuantity resets to 1 or item disappears when a variation is out of stock

Work through these in order — caching and AJAX conflicts cover the large majority of real-world cases.

Computer setup representing WooCommerce store admin dashboard

Caching Plugins and the Cart Page

This is, by a wide margin, the most common cause. Page-caching plugins (WP Rocket, W3 Total Cache, LiteSpeed Cache, hosting-level caching) speed up static pages beautifully — but the cart, checkout, and my-account pages must never be cached, because they're dynamic and specific to each shopper.

If your cache is serving a stale, cached version of the cart page, quantity changes appear to do nothing because the shopper's browser is showing an old snapshot rather than the live page.

How to fix it

  1. Open your caching plugin's settings and look for a page-exclusion list.
  2. Exclude: the cart page, checkout page, and my-account page (WooCommerce plugins like WP Rocket usually detect and exclude these automatically — confirm it's actually checked).
  3. Clear the existing cache completely after adding the exclusions.
  4. Test in an incognito/private browser window to rule out browser-level caching too.

AJAX and JavaScript Errors

WooCommerce updates the cart without reloading the page using AJAX and JavaScript. If a JavaScript error anywhere on the page breaks the script that handles this, the update button can appear to do nothing.

How to check

  1. Open the cart page in your browser.
  2. Right-click → Inspect → go to the Console tab.
  3. Try updating the cart and watch for red error messages appearing in the console.
  4. A common one is a jQuery conflict — two plugins loading incompatible versions of jQuery, or a plugin loading jQuery in a way that breaks WooCommerce's own scripts.

If you see console errors, note the script name mentioned in the error and check whether disabling that specific plugin resolves it. If you're not comfortable reading console output, this is a quick, cheap check for a developer to run.

Session and Cookie Problems

WooCommerce tracks each shopper's cart using PHP sessions and cookies. If session data isn't persisting correctly, the cart can appear to reset, empty itself, or show a stale count.

Common triggers

  • Object caching (Redis/Memcached) misconfigured to cache session data that should stay dynamic.
  • A security or cookie-consent plugin blocking WooCommerce's session cookie before consent is given.
  • Server-level session storage running out of space or being cleared too aggressively (common on some shared hosting plans).

If you're using a CDN like Cloudflare, confirm cookies aren't being stripped for logged-out visitors — this is a frequent, easy-to-miss cause on stores that recently added a CDN.

Theme and Plugin Conflicts

If the mini-cart in the header updates fine but the full cart page doesn't (or vice versa), that's a strong signal the theme or a specific plugin is overriding one of WooCommerce's cart templates incorrectly.

How to isolate it

  1. Switch temporarily to a default WordPress theme (like Storefront) and test the cart.
  2. If it works fine on the default theme, the current theme's cart template is the problem — check for a customized cart.php template file in the theme that may be out of date with the current WooCommerce version.
  3. If switching themes doesn't help, deactivate plugins one at a time, retesting after each, starting with any cart/checkout customization or upsell plugins.

Stock and Variation Sync Issues

For variable products, cart-update problems sometimes trace back to stock management rather than the cart itself. If a specific variation goes out of stock while it's sitting in someone's cart, WooCommerce may reset the quantity or remove the item unexpectedly on update.

Check WooCommerce → Settings → Products → Inventory and confirm stock levels for the specific variation involved are accurate, and that "Hold stock" duration settings aren't too aggressive for your typical checkout time.

Preventing This Going Forward

  • Always exclude cart, checkout, and my-account pages from any caching plugin from day one.
  • Test the full add-to-cart → update-cart → checkout flow after every plugin or theme update, not just after major changes.
  • Keep a staging site to test updates before pushing them live — this catches conflicts before they reach real customers.
  • Monitor for abandoned-cart spikes right after any plugin update; a sudden jump is often the first sign of a cart bug.

Still stuck after checking all five causes? Cart bugs that survive this checklist are usually buried in a specific theme template or a conflict between two plugins that only shows up together. If you'd rather have it diagnosed directly, hire a WooCommerce developer to isolate and fix it without the trial-and-error.

Frequently Asked Questions

Why does my WooCommerce cart show the wrong quantity?

This is most often a caching issue — the cart page is being served from a cached snapshot instead of live data. Excluding the cart page from your caching plugin resolves this in most cases.

Why does the update cart button do nothing when I click it?

Check the browser console for JavaScript errors while clicking it. A jQuery conflict between plugins is the most common cause of the update button appearing unresponsive.

Why do items disappear from my cart randomly?

This usually points to a session or cookie problem — either object caching misconfigured to interfere with session data, or a CDN/security plugin stripping the session cookie before it's set.

Does a CDN like Cloudflare cause cart problems?

It can, if page caching rules aren't set up to exclude dynamic WooCommerce pages, or if cookies are being stripped for logged-out visitors. Most CDNs have a WooCommerce-specific caching guide worth following exactly.

Should I disable all my plugins to find a cart bug?

Yes, temporarily, and only on a staging site if possible. Deactivate everything except WooCommerce, confirm the cart works, then reactivate plugins one at a time to isolate the conflict.

Can a theme update cause cart issues?

Yes — if the theme includes a customized cart template file that hasn't been updated to match the current WooCommerce version, cart functionality can break after either the theme or WooCommerce updates.

Is a broken cart the same issue as a broken checkout?

Not always — they can share causes like caching, but a broken cart happens before checkout even starts. If checkout itself is failing separately, that's usually a payment gateway or a different plugin conflict.

Tags: WooCommerce Cart Issues Troubleshooting WordPress Troubleshooting Store Bugs
Explore more: Services · Hire a WooCommerce Developer · Portfolio · Contact

Need Help with Your WordPress Project?

Let's discuss how I can help you build something amazing!

Get in Touch →
← Back to Blog