The local inventory management can help your shop in preventing back orders or managing order quantities. For more details on the InventoryPart
itself, see its documentation page.
- Enable the Orchard Core Commerce - Inventory feature.
- Edit the product in the content item editor.
- Set the current inventory count.
- Check the Allows Back Order box if you don't mind back orders and only need this feature to track inventory.
- Optionally set the minimum and maximum order quantity.
- You may provide a customized out of stock message, but if you leave it empty, then "Out of Stock" will be displayed anyway.
The inventory count is reduced after the payment is completed, so back orders are still possible. This is preferable to reducing inventory when the product is added to the cart, which could be abused.
Note that the InventoryPart-AllowsBackOrder, InventoryPart-IgnoreInventory, InventoryPart-MaximumOrderQuantity, and InventoryPart-MinimumOrderQuantity shapes are empty by default, to reduce clutter on the product page. If you want to display them, go to Design → Templates in the admin dashboard and create a new template for the one you wish to override.