Settings
WooCommerce automatically decreases/increases product stock on order related actions, for example, stock is reduced if order status changes to “Completed”. With Stock Triggers for WooCommerce plugin you can control which actions automatically decrease or increase your product stock.
Stock Triggers
- Order status: Cancelled
- Order status: Completed
- Order status: Failed
- Order status: On hold
- Order status: Pending payment
- Order status: Processing
- Order status: Refunded
- Payment complete
- Custom order statuses (added automatically)
- Custom triggers
Stock Triggers Options
Settings are located in “WooCommerce > Settings > Stock Triggers”.
Decrease Stock
Stock will be decreased only once, on whichever trigger is called first.
- Decrease Stock
- Enables/Disables “Decrease Stock” section.
- Default:
no
- Default:
- Triggers
- Possible values: Order status: Cancelled; Order status: Completed; Order status: Failed; Order status: On hold; Order status: Pending payment; Order status: Processing; Order status: Refunded; Payment complete.
- Default:
Payment complete; Order status: Completed; Order status: Processing; Order status: On hold
- Default:
- Custom triggers
- Custom triggers for stock decrease. One action per line. E.g.:
woocommerce_order_status_completed
- Default: None
- Advanced: Force order stock update
- Enable this if you are having issues with order stock not updating.
- Default:
no
- Default:
Increase Stock
Stock will be increased only once, on whichever trigger is called first. Please note that only stock which was previously decreased can be increased.
- Increase Stock
- Enables/Disables “Increase Stock” section.
- Default:
no
- Default:
- Triggers
- Possible values: Order status: Cancelled; Order status: Completed; Order status: Failed; Order status: On hold; Order status: Pending payment; Order status: Processing; Order status: Refunded; Payment complete.
- Default:
Order status: Cancelled; Order status: Pending payment
- Default:
- Custom triggers
- Custom triggers for stock increase. One action per line. E.g.:
woocommerce_order_status_cancelled
- Default: None
- Advanced: Force order stock update
- Enable this if you are having issues with order stock not updating.
- Default:
no
- Default:
General Options
- Admin new order
- Stock action performed when admin creates a new order and adds products via “Add item(s) > Add product(s)” buttons. Possible values: Default; Increase; Decrease.
- Default:
Default
- Default:
Advanced Options
- Debug
- Will add a log to “WooCommerce > Status > Logs”.
- Default:
no
- Default: