Low Stock

How to get low stock alerts from orders in WooCommerce

Flag orders that will leave a product at critically low stock

Automatically badges orders where at least one product will have 2 or fewer units remaining after fulfilment, giving your team an early warning to reorder before stock runs out.

Stock warning
The problem

When a product drops to critically low stock after an order, the next customer may face out-of-stock disappointment. Without a proactive alert, replenishment happens too late and you lose sales.

The solution

OrderBadger can flag orders that will leave a product at critically low stock levels.

Who this is for

Any WooCommerce store managing physical inventory - especially stores with long restocking lead times or products that sell in bursts.

At a glance
Checks projected stock after fulfilment Threshold: 2 or fewer units remaining Includes Reordered/Noted interaction buttons Routes to inbox for replenishment action Badge: Low Stock (red, warning)
People also search for
WooCommerce alert when order leaves product at low stock how to detect critically low inventory after an order in WooCommerce flag orders that deplete stock to reorder level WooCommerce WooCommerce proactive restock warning on order placement prevent stockouts with order-triggered inventory alerts WooCommerce

How it works

Checks each line item's projected remaining stock after the order is fulfilled. If any product will have 2 or fewer units left, the order is badged so you can initiate replenishment before a stockout occurs.

Review your supplier reorder schedule for the flagged products. Place a replenishment order or adjust the product's stock status to prevent overselling.

Rule template

Plain English rule At least one product will have 2 or fewer units remaining in stock after this order is placed

Write this (or something similar) in the OrderBadger rule builder. The AI compiler turns it into executable logic automatically.

Make it yours

Adjust thresholds
  • Raise '2 or fewer units' to '5 or fewer units' if your supplier lead times are long and you need more buffer before a stockout.
  • Lower '2 or fewer units' to '0 units' if you only want to be alerted when a product is completely depleted after the order.
Add or remove conditions
  • Add 'and at least one product is in the Best Sellers category' to prioritise stock alerts on your highest-demand products. …or fewer units remaining in stock after this order is placed and at least one product is in the Best Sellers category
  • Add 'and order total is over £100' to focus stock warnings on larger orders where running out has a bigger revenue impact. …or fewer units remaining in stock after this order is placed and order total is over £100

Badge preview

Default: Low Stock
Passed: Low Stock
Failed: Low Stock

This badge appears in the WooCommerce order view with action buttons. Your team can respond directly from the badge pill.

When this rule matches

One Unit Remaining
After this order, the Widget will have only 1 unit left which is below the threshold of 2.
Zero Units Remaining
After this order, the Widget will have 0 units left - completely depleted.
Two Units Boundary
After this order, the Gadget will have exactly 2 units left which is at the threshold boundary (2 or fewer).

When this rule does not match

Ten Units Remaining
After this order, 10 units remain which is well above the threshold.
Three Units Just Above
After this order, 3 units remain which is just above the threshold of 2.

Workflow

This rule includes workflow features that help your team act on flagged orders.

Inbox
Yes
Interaction
Reordered / Noted

Good to know

  • The stock remaining calculation is based on current WooCommerce stock levels at evaluation time. Concurrent orders may change the actual remaining count.
  • Products without stock management enabled will not have a stock_remaining_after_order value and will not trigger this rule.

Frequently asked questions

  • Does the stock check account for other pending orders that haven't been fulfilled yet?
    The stock remaining value is based on WooCommerce's current stock count at evaluation time. Other pending orders that have already reduced stock will be reflected, but concurrent orders placed at the same moment may not be.
  • What if I don't use WooCommerce stock management for some products?
    Products without stock management enabled will not have a stock_remaining_after_order value and will never trigger this rule. Enable stock management on products you want monitored.
  • Can I raise the threshold from 2 units to something higher, like 5 or 10?
    Yes. Edit the rule text and change the threshold number. Stores with longer supplier lead times often benefit from a higher reorder threshold.
  • What do the Reordered and Noted buttons do on the inbox item?
    They let you record your response to the low-stock alert. 'Reordered' indicates you have placed a replenishment order; 'Noted' means you have acknowledged it without immediate action.

Related rules

Try this rule in your store

OrderBadger is free on WordPress.org. Install it and create this rule in minutes - no code required.

Install OrderBadger Free