When the stock prompt appears
Two things must both be true:- The order contains at least one stock-tracked product. That’s a product with inventory tracking turned on.
- The order status crosses the Cancelled boundary. It moves from an active status into Cancelled, or from Cancelled back to an active status.
Which orders count as stock-tracked
An order is stock-tracked when at least one of its products has inventory tracking turned on:- A physical product with Track quantity on: stock-tracked.
- A digital product without stock tracking: not stock-tracked.
- A service without stock tracking: not stock-tracked.
- Any product with inventory tracking turned off: not stock-tracked.
What yes and no do
The prompt is a choice, not a condition. Saying no never blocks the status change.
Step by step
- Open the order, or find its row in the Orders list.
- Change the Order status to Cancelled, or from Cancelled to an active status.
- If the order contains stock-tracked products, the stock prompt appears.
- Choose yes to move the stock, or no to skip the stock movement.
- The status change is saved and recorded in Order history.
Examples
Cancelling an order of shirts. A customer orders two stock-tracked shirts. You change the order from Confirmed to Cancelled. Eaglecart asks whether to return the tracked quantity to inventory. You choose yes, and the two shirts are back in stock. Reopening the same order. The customer changes their mind again. You change the order back to Confirmed. Eaglecart offers to deduct the stock again. You choose yes, and the two shirts are taken out of stock. Cancelling a digital download. An order contains only a digital download with inventory tracking turned off. You change it to Cancelled. No stock prompt appears, because there’s no tracked inventory to move. Confirming an order. You change an order with stock-tracked products from Pending to Confirmed. No prompt appears, because the change doesn’t involve Cancelled.The prompt doesn’t check past stock movements
Eaglecart decides whether to show the prompt by looking at the products in the order, not at what happened to the stock before. The prompt can appear even if no stock was deducted for that order earlier. So before choosing yes, think about whether the stock really left your inventory for this order. If it didn’t, choosing yes would add stock you don’t actually have.Technical note: the prompt is shown when the order is trackable (
is_trackable, meaning at least one product in the order has inventory tracking on) and the order status change goes into or out of Cancelled. Accepting into Cancelled sends restock=1, declining sends restock=0. Accepting out of Cancelled sends deduct=1, declining sends deduct=0. The check is on product trackability, not on the order’s history of inventory movements. Changes between two non-cancelled statuses never show the prompt.Troubleshooting
Why didn’t I see the restock prompt when cancelling? The order has no stock-tracked products. For example, it only contains a digital product or a product with inventory tracking turned off. Why does reopening a cancelled order offer to deduct stock? Moving out of Cancelled means the order is active again. If the stock was returned when you cancelled, it needs to come out again for the order. I declined the prompt by mistake. The status still changed. Correct the stock with a stock adjustment. Can I cancel an order without restocking it? Yes. Choose no when the prompt appears. The order is cancelled and stock stays as it is.Related guides
- Cancel and reopen an order: the full cancellation steps.
- Correct inventory quantities: fix stock with a reason.
- View and manage inventory: check stock after a cancellation.
- Product inventory, SKUs and barcodes: turn tracking on or off.
