Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Stock not reduced after purchase: how to find and fix it

DLV-165Medium impactCould addBy FunnelGuardPublished Updated
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.

Where the stock update breaks
  1. Customer paysCheckout completes
  2. Order createdOrder appears in admin
  3. Stock reducedInventory count should drop
  4. Storefront shows stockStill shows old quantity
  5. Next buyerCan buy an item you no longer have

The customer sees a normal purchase. The break is in the back office.

Stock count versus real stockExample numbers
Stock count versus real stock (example)Day 0 real stock: 10 units; Day 1 real stock: 8 units; Day 2 real stock: 6 units; Day 3 real stock: 4 units; Day 4 real stock: 2 units; Day 5 real stock: 0 units0481086420Day 0 real stockDay 1 real stockDay 2 real stockDay 3 real stockDay 4 real stockDay 5 real stockunits

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

Run a quick stock test
  1. Pick a test product

    Choose a cheap or hidden product and set its stock to a known number, such as 10. Note it down.

  2. 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.

  3. Check the order status

    Open the order in admin and note its status, for example Processing, Completed, Pending payment or On hold.

  4. 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.

  5. 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.

Common causes and what to look for
CauseSign
Stock tracking is offProduct has no quantity field or 'Track quantity' is unticked
Order stays in an unpaid statusOrder is Pending payment or On hold, so no reduction runs
Plugin or app overwrites stockCount drops, then jumps back after a sync
Variant or location mismatchA different variant or location lost the stock
Custom checkout skips the stock callOrder 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.

Fix by platform
  1. 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?'.

  2. 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.

  3. Check order status

    If orders stay in Pending payment, fix the payment gateway webhook first. Stock is reduced when payment is confirmed.

  4. 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.

Example atomic stock update (SQL)text
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

Confirmation checks
  • 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

Habits that keep stock accurate
  • 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
Stock behaviour

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.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.