WooCommerce Cart Not Updating? 7 Fast Fixes
If your woocommerce cart not updating problem is stopping customers from changing quantities or seeing the right total, you are almost certainly losing sales right now — and it feels like a small fire you can’t put out. Take a breath. In nearly every case the cause is one of a handful of predictable culprits, and most are fixable in minutes. This guide walks you through each one, in plain English, with the exact checks and steps.
Free WooCommerce store health check
Enter your store URL — we test the checkout, cart, SSL and speed in seconds. No login, nothing installed.
Quick answer: A WooCommerce cart that won’t update is usually caused by aggressive page caching serving a stale version, a blocked or broken AJAX request, or disabled cart fragments. Clear every cache layer first, then hard-refresh and test in a private window. If it persists, disable plugins one by one to find the conflict.
First, why is your WooCommerce cart not updating?
When you change a quantity or add an item, WooCommerce sends a quiet background request (AJAX) and updates the cart totals and the mini-cart without reloading the whole page. If that request is blocked, cached, or interrupted, the numbers you see stop matching reality.
So the fault sits in one of three places: something is serving an old copy of the page (caching), something is stopping the request (JavaScript, security rules, or a conflict), or something is breaking the session that remembers the cart. Work through the causes below in order — they are ranked by how often we see them.
Cause 1: Aggressive caching is serving a stale cart
Symptom: You add or remove an item and the total, item count, or mini-cart doesn’t change until you fully reload — or it never changes at all.
Why it happens: Caching plugins, host-level caches (LiteSpeed, Varnish, NGINX), and CDNs like Cloudflare store a ready-made copy of your pages for speed. That’s great for a homepage, but the Cart, Checkout, and My Account pages are dynamic and must never be cached.
How to check: Open your store in a private/incognito window, add a product, and change the quantity. If it works there but not in your normal browser, you’re looking at a cache. Confirm the exact page too — a cached Cart page is the classic reason for a woocommerce cart not updating on that screen only.
How to fix it:
- Purge every cache layer: your caching plugin, your host cache, and your CDN.
- In your caching plugin, add
cart,checkout, andmy-accountto the list of pages that are never cached (most plugins exclude these automatically, but check). - If you use Cloudflare, create a page rule or cache rule to bypass cache on those URLs.
- Disable “cache mobile separately” quirks if only mobile is affected.
WooCommerce publishes a clear reference on this in their official caching configuration guide, which lists the pages that must stay uncached.
Cause 2: A broken AJAX request (JavaScript error)
Symptom: The little loading spinner appears and spins forever, or nothing happens at all when you click “Update cart”.
Why it happens: If any script on the page throws an error, it can halt the JavaScript that sends the cart update. One noisy plugin or a badly coded theme snippet is enough.
How to check: Right-click the page, choose Inspect, and open the Console tab. Change a quantity and watch for red errors. A failed request in the Network tab (status 403, 404, or 500) points straight at the problem.
How to fix it:
- Note which file the console error names — it usually reveals the guilty plugin or theme.
- Temporarily deactivate that plugin and retest.
- If a “combine/minify JavaScript” setting is on, turn it off — merging scripts often breaks WooCommerce’s cart code.
- Re-enable optimisation one setting at a time so you keep the speed you can safely keep.
Cause 3: Cart fragments are disabled or misfiring
Symptom: The cart total updates on the Cart page, but your header mini-cart or “items in cart” counter never refreshes.
Why it happens: WooCommerce uses a feature called cart fragments to refresh those little live counters. Many speed plugins disable fragments to reduce requests — a reasonable tweak that quietly breaks the live count if your theme relies on it.
How to check: Look in your performance plugin for a setting like “Disable cart fragments” or “Load cart fragments only on cart page”. If it’s on, that’s your lead.
How to fix it: Re-enable cart fragments, clear the cache, and retest the mini-cart. If you want them off for speed, choose the “load only where needed” option instead of a blanket disable, and confirm your theme’s counter still updates.
Cause 4: A plugin or theme conflict
Symptom: Everything looks correctly configured, yet the cart still behaves oddly — random failures, wrong totals, or updates that only stick on the second try.
Why it happens: Two plugins (or a plugin and your theme) are fighting over the same cart hooks or scripts. Currency switchers, discount/coupon plugins, and custom “add to cart” buttons are common offenders.
How to check — the safe conflict test:
- Take a full backup first (never skip this).
- On a staging copy if you can, switch temporarily to a default theme such as Storefront.
- Retest. If the cart now updates, your theme was the cause.
- If not, deactivate all non-WooCommerce plugins, confirm the cart works, then reactivate them one at a time until it breaks.
The plugin that breaks it is your culprit — update it, replace it, or contact its author.
Cause 5: Outdated WooCommerce, WordPress, or PHP
Symptom: Intermittent glitches after you skipped updates for a while, sometimes with an admin notice about database updates being needed.
Why it happens: WooCommerce, WordPress, and your theme are built to work together at current versions. Fall too far behind — especially on PHP — and cart scripts can misbehave.
How to fix it: Back up, then update on staging: PHP to a supported version (8.1+ is a safe target for most stores), then WordPress core, then WooCommerce, then your theme and extensions. Run the WooCommerce database update if prompted, and retest the cart before pushing live.
Cause 6: Session or cookie problems
Symptom: Items vanish from the cart, the cart empties on the next page, or logged-in and guest carts behave differently.
Why it happens: WooCommerce stores the cart against a session cookie. If a security plugin strips cookies, an object cache (Redis/Memcached) is misconfigured, or your site URL settings are inconsistent, the session can’t be read back.
How to check: Confirm Settings → General shows the same WordPress and Site Address (both https://, matching www or non-www). Ask your host whether persistent object caching is active and healthy.
How to fix it: Align your URLs, whitelist WooCommerce cookies in any security/firewall plugin, and have your host flush the object cache. If a session table has grown huge, clearing expired WooCommerce sessions often restores normal behaviour.
Cause 7: HTTPS or mixed-content blocking the request
Symptom: The cart fails only on some pages, and the browser console shows “mixed content” or blocked-request warnings.
Why it happens: If part of your site still loads over insecure http://, browsers block the cart’s background requests as a security risk.
How to fix it: Ensure your SSL certificate is valid, force HTTPS site-wide, and fix any hard-coded http:// asset URLs. A search-and-replace to update old links usually clears the last stubborn cases of a woocommerce cart not updating only on certain templates.
Fast troubleshooting table
| Symptom | Most likely cause | Quick fix |
|---|---|---|
| Works in incognito, not normal browser | Page/CDN caching | Purge all caches; exclude cart/checkout pages |
| Spinner spins forever | Broken AJAX / JS error | Check console; turn off JS combine/minify |
| Cart page updates, mini-cart doesn’t | Cart fragments disabled | Re-enable fragments and clear cache |
| Random or second-try updates | Plugin/theme conflict | Run the conflict test on staging |
| Items disappear between pages | Session/cookie issue | Align URLs; flush object cache |
| Fails only on some pages | Mixed content / HTTP | Force HTTPS; fix insecure asset URLs |
If checkout is misbehaving too, our companion guide on a WooCommerce checkout that keeps loading covers the closely-related AJAX and caching traps. And because slow, bloated sites make cart glitches worse, the fixes in WooCommerce site speed and SEO are worth a read once the cart is stable.
When to call in a pro
Some causes hide well. If you’ve cleared every cache, run the conflict test, and the cart still misbehaves — or you simply can’t afford to experiment on a live, revenue-earning store — that’s the moment to hand it over.
Our WordPress Bug Fix service is built for exactly this. Here’s how we work, and why it’s safe:
- We reproduce and fix the issue on a staging copy, never by trial-and-error on your live shop.
- We take a full backup first, so there’s always a clean rollback point.
- We never ask for passwords by email — access is shared securely.
- It’s fixed or refunded: if we can’t solve it, you don’t pay.
Not sure how deep the problem goes yet? Start with our free WooCommerce Store Health Checker to spot the obvious culprits in a couple of minutes, then send us the results.
Leave your name and what is happening on WhatsApp — we diagnose it, talk it through and send you a quote. No obligation, no jargon.
Message us on WhatsAppFrequently asked questions
Why is my WooCommerce cart not updating the quantity?
Nine times out of ten it’s caching serving an old copy of the cart, or a JavaScript conflict blocking the update request. Clear every cache layer and test in a private window first; if it still fails, run a plugin conflict test to find the offender.
How do I clear the WooCommerce cart cache?
Purge your caching plugin, your host’s server cache, and your CDN (like Cloudflare) — all three. Then make sure the Cart, Checkout, and My Account pages are excluded from caching entirely, because those pages must always load fresh for each visitor.
Does the WooCommerce “Update cart” button need JavaScript?
Yes. The live update relies on a background AJAX request, so if JavaScript is broken or blocked, nothing happens when you click it. Check your browser console for errors and disable any “combine JavaScript” optimisation while you test.
Why does my mini-cart total stay wrong in the header?
That counter is powered by WooCommerce cart fragments. Many speed plugins disable them, which freezes the header count even when the Cart page itself is correct. Re-enable fragments, clear your cache, and the mini-cart should refresh again.
Can a plugin update fix a cart that won’t update?
Often, yes — outdated WooCommerce, extensions, or PHP cause exactly these glitches. Always back up and update on a staging copy first, run any prompted database update, then retest the cart before pushing the changes live.






