WooCommerce Stock Not Updating: Fix Inventory Sync Issues

Stock numbers that freeze, drift or let customers buy sold-out items usually trace back to a few causes. Here is how to find yours and fix it.

WooCommerce stock not updating: one warehouse box out of sync with the product grid

A product page that still says five in stock after you sold the last one is the classic case of WooCommerce stock not updating. The opposite happens too: an item shows sold out while the shelf is full. Either way, your store is telling customers something false.

Wrong counts rarely stay small, because they change what customers see, what you ship and what you reorder. This guide walks through the usual causes in plain steps, so you can find yours without guessing.

What “stock not updating” usually means

The phrase covers three different problems, and each has its own fix. In the first, stock stays frozen after sales: an order comes in, but the number on the product never drops.

In the second, sold-out items can still be bought. The count says zero, yet customers add the product to the cart and check out. In the third, your sync app and your store disagree, so the warehouse tool says 12 and WooCommerce says 7.

Write down which one you see, because each points at a different part of the system. Also note whether it hits every product or only a few.

One product usually means a setting on that product. Every product points to something shared, such as caching or a sync tool.

Where stock changes come from

WooCommerce changes stock in only a few ways, and knowing them helps you work out who changed a number and when.

  • Orders reduce stock when they reach a paid or processing status.
  • Refunds and cancellations restore stock, but only if your setup allows it.
  • Staff edit the number by hand on the product screen.
  • CSV imports overwrite stock in bulk.
  • External sync tools push updates from a warehouse, a marketplace or an ERP.

Trouble starts when several of these fight each other. A sync tool may write an old number back right after an order reduced it, and the count looks frozen even though every tool did its job.

Single source of truth that fixes WooCommerce stock not updating

Common causes of WooCommerce stock not updating

Cached pages show old numbers

Page caching and object caching can both hold old data. A visitor may see a cached product page that still says in stock while the database already says zero.

Scheduled actions fail

WooCommerce runs many background jobs through a queue called Action Scheduler. When those jobs fail or pile up, sync updates wait in line and stock lags by hours.

Order statuses never trigger a reduction

WooCommerce reduces stock only at certain order statuses. A custom status, or an order that an import moved straight to completed, may skip the reduction. The sale happens and the number stays put.

Busy sales cause race conditions

On a busy day, two customers can buy the last unit in the same second. Both checkouts read the count as one, so both succeed, and you owe two people an item you only have once.

Two tools both manage stock

If a marketplace plugin and an inventory app both write stock, they overwrite each other. Neither one is broken. They just disagree about the truth, and the usual culprit is a sync plugin someone installed for one marketplace years ago and forgot.

This is behind many cases of WooCommerce stock not updating on stores that grew over time. Each new sales channel added another tool, and nobody removed the old one.

How to diagnose WooCommerce stock not updating

Work through these steps in order, because each one rules out a whole group of causes. Use a staging copy if you can, so test orders do not touch real stock.

  1. Open WooCommerce > Status > Logs and look for entries from your sync tool near the time of a mismatch.
  2. Open WooCommerce > Status > Scheduled Actions and filter by Failed and Past-due. Old pending jobs are a warning sign (and reading logs is dull, but it beats guessing).
  3. Test one product end to end. Set stock to 10, place a test order, check the number, then refund the order and check again.
  4. Compare timestamps. Note when the order happened, when the external system updated, and when the store changed. A gap of several minutes usually means a queue problem.

If orders themselves fail or webhooks never arrive, read this guide to diagnosing order failures and webhooks. It covers payments, webhooks and queues in more depth.

Also check how your store saves orders. Older sync tools sometimes read orders the old way and miss new ones, and this audit of HPOS migration compatibility explains what to look for.

Fixes by cause

Match the fix to the cause you found, and change one thing at a time. Otherwise you will not know what worked.

  • If caching is the cause, exclude the cart, checkout and account pages from page cache. Clear the cache after a stock change, and ask your host how object caching is set up.
  • If actions are failing, read the error on each failed job and fix the reason, such as a timeout or low memory. Then run a real server cron job instead of relying on visitors to trigger tasks.
  • If statuses are the cause, place a test order and watch which status it reaches. Then review WooCommerce > Settings > Products > Inventory, including the Hold stock (minutes) setting.
  • If you hit race conditions, keep a small safety buffer on fast sellers. For example, list one unit fewer on your busiest channel.
  • If two tools write stock, turn off stock writes in one of them. The next section explains which one to keep.

The official WooCommerce documentation describes each inventory setting in detail.

Multichannel stores need one source of truth

If you sell on your site and on a marketplace, pick one system to own stock. It might be WooCommerce, or your ERP or warehouse tool.

Everything else should only read that number. Two-way sync sounds friendly, but it is where most conflicts begin, so let one system write and let the rest listen.

Write down how often each tool updates, too. A sync that runs hourly cannot protect a flash sale. Then test the setup with a small order on each channel before a big promotion starts.

Patching WooCommerce stock not updating in one place often brings the problem back. Fix the ownership rule instead, and the rest stays stable. That makes WooCommerce stock not updating a design problem more than a bug.

Oversells and ghost inventory cost real money

An oversold order means a refund, an apology email and a customer who may not return. Ghost inventory, where the system says zero but the shelf is full, hides sales you could have made. Both are quiet leaks.

A fixed-fee WooCommerce Technical Review finds these problems before they cost more orders. It looks at caching, background jobs and stock sync, then gives you a clear list of what to fix first.

Frequently asked questions

Why is WooCommerce stock not updating after an order?

The most common reasons are an order status that never triggers a stock reduction, a cached product page, or a sync tool that writes an old number back. Check the order status first. Then look at Scheduled Actions for failed jobs, and review your sync tool logs.

Why can customers buy items that show zero stock?

Usually the page they see is cached, or two checkouts bought the last unit at the same moment. Backorders may also be switched on for the product. Check the product’s Inventory tab, and clear your page cache after changing stock so visitors see the new number.

Can I run two inventory tools at once?

You can, but only one should write stock. When two tools both write, they overwrite each other and the numbers drift. Pick one source of truth, and set the other tool to read only, so the counts stay consistent and you can trace any change.

Working through a similar problem?

Share the context and the part that needs to work better. I can help define the next useful step.

Muzammil HussainUpwork / Top RatedMuzammil HussainWordPress & WooCommerce engineering.100%Job Success86Jobs2.6KHoursWork with me on UpworkProfile figures checked 2026-10-26. Opens in a new tab.

Written by Muzammil, independent WordPress and WooCommerce engineer. Explore the services or discuss your project.