Low Stock Action¶
With Liferay Commerce, you can set up automated actions for when a Product’s inventory falls below a specified threshold. While Commerce only includes the Set as Unpublished low stock action out of the box, you can create custom low stock actions if desired.
Follow these steps to set up a low stock action for a Product:
Open the Global Menu (), click on the Commerce tab, and go to Products.
Click on the desired Product.
Click on the Configurations tab.
Select a Low Stock Action using the dropdown menu.
Enter a Low Stock Threshold to determine when the action is automatically triggered.
Click on Publish.
Once configured, the selected Low Stock Action is triggered whenever the Product’s inventory falls below the set threshold.
Commerce 2.1 and Below¶
Access to the Products are found in the Control Panel. To configure a Low Stock Action:
Navigate to the Control Panel → Commerce → Products.
Click on a product (for example, U-Joint)
Click the Configurations sub-tab.
Enter the following:
Inventory Engine: Default
Availability Estimate: 5-7 Days
Display Availability: YES
Display Stock Quantity: YES
Low Stock Threshold: 5
Low Stock Action: Set as Unpublished
Allow Back Orders: Yes
Minimum Order Quantity: 1
Maximum Order Quantity: 5
Allowed Order Quantities: 1
Multiple Order Quantity: 1
The Low Stock Action for this product has been configured. In the future, should the number of stock fall below 5, the “U-Joint” product will be unpublished.