On this page
What this issue is
After a customer pays, your shop should subtract the quantity bought from the product's stock level (also called inventory). When that does not happen, the order exists but the shelf count stays the same. The shop keeps showing items as available when they may already be sold.
It is different from a missing order. Here the order is fine. Only the back-office stock number is wrong.
Why it costs you leads or sales
Stock that never goes down leads to overselling: you take payment for items you cannot ship. You then have to cancel, refund and apologise, which costs time, fees and trust. Low-stock and sold-out messages also stop working, so you lose the urgency they create. Ad spend can keep pushing products that are already gone.
- Customer paysCheckout completes
- Order createdOrder appears in admin
- Stock reducedInventory count should drop
- Storefront shows stockStill shows old quantity
- Next buyerCan buy an item you no longer have
The customer sees a normal purchase. The break is in the back office.
Example: a product starts with 10 units. Real stock falls by 2 a day, but the shop count never changes, so by day 5 you have sold units you do not have.
How to check if your site has it
Pick a test product
Choose a cheap or hidden product and set its stock to a known number, such as 10. Note it down.
Place a test order
Buy 1 unit using your store's test mode or a 100% discount code. Do not use real card details unless you plan to refund.
Check the order status
Open the order in admin and note its status, for example Processing, Completed, Pending payment or On hold.
Re-read the stock
Reload the product page in admin. The stock should now be 9. Wait a few minutes in case a sync runs.
Look at the order notesWordPress
In WooCommerce the order notes usually say something like 'Stock levels reduced: Product (10→9)'. If that note is missing, the reduction never ran.
| Cause | Sign |
|---|---|
| Stock tracking is off | Product has no quantity field or 'Track quantity' is unticked |
| Order stays in an unpaid status | Order is Pending payment or On hold, so no reduction runs |
| Plugin or app overwrites stock | Count drops, then jumps back after a sync |
| Variant or location mismatch | A different variant or location lost the stock |
| Custom checkout skips the stock call | Order created through your own code or API with no inventory step |
How to fix it
The fix depends on your platform. Start with the setting for your shop, then work through the shared steps below.
Enable stock management
Go to WooCommerce > Settings > Products > Inventory and tick 'Enable stock management'. Then open each product, go to the Inventory tab and tick 'Manage stock?'.
Check the hold stock setting
In the same Inventory settings, check 'Hold stock (minutes)'. Pending orders reserve stock but only reduce it when the status moves to Processing or Completed.
Check order status
If orders stay in Pending payment, fix the payment gateway webhook first. Stock is reduced when payment is confirmed.
Disable conflicting plugins
Temporarily deactivate inventory, ERP or marketplace sync plugins and repeat the test. If stock now drops, re-enable them one at a time.
Turn on Track quantity
Open Products, select the product, scroll to Inventory and tick 'Track quantity'. Make sure the right location has a quantity.
Check the variant
Inventory is tracked per variant and per location. Check the variant that was sold, not just the main product.
Check Settings > Locations
Make sure the location that fulfils online orders is set to 'Fulfil online orders from this location'.
Review apps
Inventory sync apps can overwrite counts. Check the app's activity log and pause it while you test.
Set the inventory on the product
In the Ecommerce Products panel, open the SKU and tick 'Track inventory'. Enter a quantity.
Check the order status
Open Ecommerce > Orders and confirm the test order is paid. Then recheck the SKU quantity.
Track inventory
In the Wix dashboard open Store Products, select the product and switch Inventory to 'Track inventory'. Enter the quantity.
Check variants
If the product has options, set stock for each variant.
Set a stock quantity
Open Commerce > Inventory, find the product or variant and enter a number instead of Unlimited.
Find the order creation code
Locate where your code saves a paid order. Add a stock decrement in the same database transaction, so the order and the stock change succeed or fail together.
Use an atomic update
Subtract in the query itself rather than reading and writing the number, so two buyers at once do not clash. See the SQL example below.
Run it only once
Payment webhooks can be sent twice. Store a flag such as stock_reduced on the order so a repeat does not subtract twice.
UPDATE products
SET stock = stock - 1
WHERE id = 123 AND stock >= 1;
-- If 0 rows are changed, the item is out of stock: stop the order.How to confirm it's fixed
- Set a known stock number on a test product
- Place a test order for 1 unit and see it reach Processing or Paid
- Stock drops by exactly 1, not 0 or 2
- The order note or inventory history records the change
- The storefront shows the new quantity or a sold-out label at 0
- Cancel or refund the test order and confirm the stock returns if you expect it to
- Wait an hour and check a sync did not reset the number
How to prevent it happening again
- Repeat the stock test after changing themes, checkout plugins, payment gateways or inventory apps
- Keep one source of truth for stock instead of several tools writing to it
- Compare your shop count with a physical count each month for fast-selling items
- Turn on low-stock email notices in your platform
- Review the order status list so paid orders reach the status that reduces stock
- Make custom stock code safe to run twice
Broken
- Order placed, count unchanged
- Sold-out items still for sale
- Refunds and apologies after overselling
Fixed
- Each paid order lowers the count once
- Sold-out items stop being purchasable
- Inventory matches your warehouse
How FunnelGuard handles this
FunnelGuard does not check this yet. It does not read your inventory counts, so a stock number that fails to drop would not be reported. A stock check is a possible future addition.
What FunnelGuard does cover nearby is the front of the journey. A robot visitor runs your real checkout on a schedule, checks each step and the tracking hits sent to ad and analytics platforms, and confirms test leads reach the inbox and CRM. It stops before payment unless your store's test mode is set up. That tells you the purchase path works, but not that stock changed afterwards.
To watch for it yourself, repeat the stock test above after every change, turn on your platform's low-stock notifications, and review a stock report weekly. You can also try the Free plan (1 site, 2 journeys, daily checks, no card) to keep your checkout itself under watch.
Questions people ask
Why is my WooCommerce stock not reducing after an order?
Most often 'Manage stock' is off for the product, or the order never reaches Processing or Completed, so the reduction does not run. A plugin that syncs inventory can also overwrite the number. Check WooCommerce > Settings > Products > Inventory, the product's Inventory tab and the order notes.
Why is Shopify inventory not decreasing after a sale?
Check that 'Track quantity' is ticked for the product and that the sold variant has stock at a location that fulfils online orders. Inventory apps can also reset the quantity. Pause them and test again.
Does stock reduce when an order is placed or when it is paid?
It depends on the platform. WooCommerce reserves stock for pending orders but reduces it when payment is confirmed, moving to Processing or Completed. Shopify reduces it at checkout or when the order is created, depending on your settings. Check your platform's documentation for the exact moment.
How do I test that my stock reduces correctly?
Set a test product to a known quantity, buy one unit using test mode or a 100% discount code, then check that the count falls by one. Also look at the order notes or inventory history for a record of the change.
Why did my stock go down and then come back up?
Something else is writing to the stock number, often a marketplace, ERP or inventory plugin syncing an old value. Pause the sync, repeat the test and make one system the source of truth.
Can stock be reduced twice for one order?
Yes, if a payment webhook is received twice or custom code runs on every status change. Store a flag on the order showing stock was already reduced, and skip the update if it is set.
Does FunnelGuard monitor stock levels?
No. FunnelGuard does not check stock levels yet. It checks that your checkout steps, tracking hits and test leads work. For stock, use your platform's low-stock alerts and a regular manual test.
Related issues
- DLV-166Overselling: stock sync with marketplace/ERP brokenFix guide
- DLV-160Order not created in the store after test purchaseFix guide
- DLV-164Order stuck in pending paymentFix guide
- DLV-161Payment captured but order missing (webhook from Stripe/PayPal failed)Fix guide
- DLV-171Order not exported to fulfilment/3PL/ERPFix guide
- DLV-162Stripe webhook endpoint disabled after repeated failuresFix guide