A customer buys the last unit, and the product page still says 12 in stock. Or an order shows as completed and the inventory number never moved. WooCommerce normally updates stock by itself, so when it stops, a short list of causes is almost always behind it.
This guide covers those causes in the order that finds the problem fastest, then shows how to correct the numbers once the cause is fixed.
How WooCommerce handles stock
WooCommerce does not subtract stock when someone clicks the buy button. It acts on the order’s status, and it does so once per order.
| What happens | Effect on stock |
|---|---|
| Payment completes at the gateway | Stock is reduced |
| Order moves to Processing, On hold or Completed | Stock is reduced, once per order |
| Order moves to Cancelled or back to Pending payment | Stock is restored, if it had been reduced |
| Order waits in Pending payment | Stock is held for a set number of minutes, not reduced |
Each reduction leaves an order note such as Stock levels reduced: Product name 10→9. If WooCommerce cannot reduce an item, it adds a note saying it was unable to reduce stock for that item. Those notes are your best evidence, because they show exactly what the store did.
A five-minute diagnosis
- Open one affected order and read the order notes on the right. Look for Stock levels reduced or a note about being unable to reduce stock.
- Check the order status. Did it ever reach Processing, On hold or Completed? An order that stays in Pending payment or Failed will not reduce stock.
- Check stock management. Go to WooCommerce, Settings, Products, Inventory and confirm stock management is enabled. Then open the product and check that Manage stock is ticked on its Inventory tab.
- Check variations. On a variable product, stock can be managed on the parent or on each variation. Confirm the level you expect is the one being tracked.
- Read the logs. Go to WooCommerce, Status, Logs and look for errors from the time of the order.
- Test on a copy of the store. Place a test order with only WooCommerce active and a default theme. If stock reduces there, a plugin or your theme is the cause. Our staging site guide shows how to set that up safely.
The eight usual causes and their fixes
1. Stock management is switched off
If stock management is off for the whole store, or Manage stock is unticked on the product, WooCommerce has nothing to reduce. Turn it on, set the quantity, and place a test order. Orders placed while it was off are not reduced afterwards, so those quantities need a manual correction (see below).
2. The order never reaches a stock-reducing status
Many stock problems are really payment problems. If the gateway’s confirmation never reaches your store, the order sits in Pending payment, and stock is held but not reduced. Check the gateway’s webhook or notification settings and the order notes for a missing payment confirmation. Our order not completing fix walks through that side.
3. A plugin or custom code blocks the reduction
WooCommerce lets code switch off stock reduction for an order, and a theme snippet or plugin can do it by accident. Inventory, multi-location stock, ERP, point-of-sale and marketplace plugins are the usual suspects. Support threads also describe the opposite problem, stock reducing twice after a multi-location plugin was activated. Deactivate the stock-related plugins on a staging copy one at a time and repeat the test order. For the method, see our plugin conflict troubleshooting guide.
4. Variable products track stock in the wrong place
If the parent product manages stock but the variations do not, or the other way round, the number you watch may not be the number that changes. Pick one level per product and set it deliberately. If variations are missing altogether, see variable products not showing.
5. Caching shows an old number
Sometimes stock is correct in the admin and wrong on the site. A page cache or CDN can keep serving a product page with the old quantity, and an object cache can hold a stale stock value. Compare the product in a private window and in the admin. If they differ, purge the cache for that product and make sure your cache plugin clears product pages when stock changes. Cart, checkout and account pages should never be cached.
6. Held stock makes the available quantity look low
WooCommerce reserves stock for unpaid orders for a set number of minutes, set under WooCommerce, Settings, Products, Inventory as Hold stock (minutes). During that time the available quantity is lower than the shelf count, and when the time runs out the pending order is cancelled and the stock is released. If this confuses customers or staff, shorten the period or leave it blank to turn the feature off.
7. An outside system overwrites stock
An ERP, marketplace connection, point-of-sale system, CSV import or API script can push an older quantity over the one WooCommerce just calculated. The sign is stock that drops correctly after an order and then jumps back later. Decide which system is the single source of truth, and make every other tool read from it rather than write to it.
8. The store was migrated or orders were imported
Orders that were created or imported while stock management was off, or on another platform, never reduced anything here. After a migration, count the real stock and set the quantities directly rather than trying to replay old orders.
Correcting stock numbers that are already wrong
- Fix the cause first. Otherwise the numbers drift again.
- Count real stock for the affected products.
- Set the quantities directly on the product, with bulk edit, or with the product CSV importer using the stock column for many products.
- Avoid fixing stock by changing order statuses. Moving an order to Cancelled restores stock, and moving it back to Processing reduces it again. That works, but one wrong click on a live order changes the numbers and sends customer emails.
- Run one test order and confirm the note and the new quantity.
How to stop it happening again
- Place a test order after every plugin, theme or WooCommerce update, on a staging copy first.
- Turn on low stock and out of stock notifications under the Inventory settings so you hear about problems early.
- Keep one system in charge of stock numbers.
- Spot-check five products a week against the real shelf count until you trust the setup.
- Keep gateway webhooks healthy. Orders stuck in Pending payment are the most common root cause.
When to bring in a developer
Stock that moves in the wrong direction, reduces twice, or gets overwritten by another system usually needs someone to trace the order flow and the plugins involved. If you want an idea of what WooCommerce fixes cost, our WooCommerce price list by task lists typical jobs.
Inventory still wrong after these checks?
Send me the product, one affected order note and the plugins you use. I will trace why stock is not moving and give you a fixed quote within 24 hours.
FAQ
Why is WooCommerce stock not reducing after an order?
Usually stock management is off for the store or product, the order never reached Processing, On hold or Completed, or a plugin or custom code blocked the reduction. Open the order and read its notes to see which.
At what order status does WooCommerce reduce stock?
WooCommerce reduces stock when payment completes and when an order moves to Processing, On hold or Completed. It does this once per order, and it records the change in an order note.
Does WooCommerce restore stock when an order is cancelled?
Yes. When an order whose stock was reduced is moved to Cancelled or back to Pending payment, WooCommerce restores the quantity and adds a note.
Why does my product show less stock than I have on the shelf?
Unpaid orders can hold stock for a set number of minutes. Check the Hold stock setting under the Inventory settings, and look for pending orders that have not yet been cancelled.
Why did stock reduce twice?
A second plugin or custom code is usually reducing stock as well, often a multi-location, inventory or sync tool. Test on a staging copy with those plugins deactivated one at a time.
Can caching show the wrong stock?
Yes. A page cache or CDN can serve an old product page, and an object cache can hold a stale value. Compare the live page in a private window with the admin and purge the cache for that product.