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.
OrderBadger can flag orders that will leave a product at critically low stock levels.
Any WooCommerce store managing physical inventory - especially stores with long restocking lead times or products that sell in bursts.
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
Write this (or something similar) in the OrderBadger rule builder. The AI compiler turns it into executable logic automatically.
Make it yours
- 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 '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
This badge appears in the WooCommerce order view with action buttons. Your team can respond directly from the badge pill.
When this rule matches
When this rule does not match
Workflow
This rule includes workflow features that help your team act on flagged orders.
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