Configure Inventory Management
The Inventory Management module supports inventory configuration settings at the product and global level and also provides additional settings that affect source availability, storefront products, and order shipment. The configuration settings apply to:
-
The whole catalog: Go to Stores > Settings > Configuration. Then, expand Catalog in the left panel and select Inventory.
-
Specific products: Go to Catalog > Products. Then, open the product in edit mode and click Advanced Inventory in the Sources section.
Your catalog can be configured to display inventory data in your storefront, manage active shopping carts, and more. Display the availability of each item as In Stock or Out of Stock and the available inventory when stock is low.
The out of stock threshold indicates when a product should be reordered, subtracts from the Salable Quantity for a stock, and can be set to support enabled or disabled backorders. Allow backorders for your store, setting a maximum quantity of orders for all or specific products.
Another way you can use the stock availability threshold is to manage products that are in high demand. If you want to capture new customers, rather than sell to high-quantity buyers, you can set a maximum quantity to prevent a single buyer from taking out your entire inventory.
Configuration options
Commerce stores and products support the following configurations for managing products, inventory, notifications and more. Commerce provides additional configuration settings for bulk actions and the Distance Priority algorithm.
Yes
.No Backorders: Does not accept backorders when product is out of stock.
Allow Qty Below 0: Accepts backorders when the quantity falls below zero.
Allow Qty Below 0 and Notify Customer: Accepts backorders when the quantity falls below zero, but notifies customers that orders can still be placed.
Backorders disabled: Entering a positive value over 0, such as 5 or 25, is recommended.
Backorders enabled: Enter a negative threshold for the maximum quantity of allowed backorders, such as -5 or -25. A value of 0 acts as infinite stock. A positive value is ignored and treated as 0.
Yes
.No Backorders: Does not accept backorders when product is out of stock.
Allow Qty Below 0: Accepts backorders when the quantity falls below zero.
Allow Qty Below 0 and Notify Customer: Accepts backorders when the quantity falls below zero, but notifies customers that orders can still be placed.
Configuration fall back and inheritance
Configurations override or apply in the following path of inheritance: Product Sources section overrides Product Advanced Options overrides global Inventory store configuration.
When Commerce checks for custom settings to apply, it follows this order:
-
Checks for custom settings at the Product level in the Sources section. A few settings are available.
-
Checks the Product Advanced Inventory settings.
-
If
Use Config Settings
is selected for the product settings, it checks for a value from the global Inventory store configuration page.
For example, you could configure backorders differently across your store with a configuration similar to the following:
-
Globally: Enable backorders for the store, set Out-of-Stock Threshold to
-50
-
Product: Disable backorders for a specific product, set Out-of-Stock Threshold to
10