Configure the default configuration options for product and stock for your websites. Some of these settings can be overridden per product through Configuring Product Options. To configure Distance Priority settings, see Configuring Distance Priority Algorithm.
On the Admin sidebar, go to Stores > Settings > Configuration.
In the left panel, expand Catalog and choose Inventory.
Expand the Stock Options section and set the options:
To adjust the quantity on hand when an order is placed, set Decrease Stock When Order is Placed to
To return items to stock if an order is canceled, Set Items’ Status to be in Stock When Order in Cancelled to
To continue to display products in the catalog that are no longer in stock, set Display Out of Stock Products to
If price alerts are enabled, customers can sign up to be notified when the product is back in stock.
To set the start for displaying the last remaining inventory amount on the product page, enter an amount for Only X left Threshold.
The message begins to appear when the quantity in stock reaches the threshold. For example, if set to
3, the message “Only 3 left” appears when the quantity in stock reaches three. The message adjusts to reflect the quantity in stock, until the quantity reaches zero.
To display an “In Stock” or “Out of Stock” message on the product page, set Display Products Availability In Stock on Storefront to
To check inventory when loading a product in the cart, set Enable Inventory Check On Cart Load to
Yes. With this option disabled, the inventory check is skipped. Disabling this option speeds up checkout, especially if there are many items in shopping cart. However, if you skip pre-validation, customers could see “out of stock” errors later in the checkout process.
To keep consistency between inventory and catalog, set Synchronize with Catalog to
Yes. With this option enabled, inventory data is adjusted according to the catalog changes (such as product removed, product SKU changed, and product type changed).
Expand the Product Stock Options section and set the options:
To activate inventory control for your catalog, set Manage Stock to
Set Backorders to one of the following:
||To not accept backorders when product is out of stock.|
||To accept backorders when the quantity falls below zero.|
||To accept backorders when the quantity falls below zero, and notify the customer that the order can still be placed.|
Enter the Maximum Qty Allowed in Shopping Cart.
Enter an amount for the Out-of-Stock Threshold:
|Positive amount||With Backorders disabled, enter a positive amount.|
|Zero||With Backorders enabled, entering
|Negative amount||With Backorders enabled, entering a negative amount is recommended. The amount is added to the Salable Quantity. For example, enter
Enter the Minimum Qty Allowed in Shopping Cart for selected group and amounts.
For Notify for Quantity Below, enter the stock level that triggers notification that the item is out of stock.
To activate quantity increments for the product, set Enable Qty Increments to
Yes. Then, for Qty Increments, enter the number of the items that must be purchased to meet the requirement.
For example, an item that is sold in increments of six can be purchased in quantities of 6, 12, 18, and so on.
For Inventory Management, Automatically Return Credit Memo Item to Stock is set to
No. When submitting a credit memo, you enter and select to return stock to sources.
Expand the Admin bulk operations section and set the options:
Set Run asynchronously to run bulk operations asynchronously for mass product actions
These operations include bulk assigning and unassigning sources, and transferring inventory to source. It collects bulk actions up to the Asynchronous batch size, then runs those actions. This option is disabled by default. Reviewing your performance with bulk actions before enabling is recommended.
To configure and support asynchronous queue managers, you must issue a command using the command line. This step may require developer assistance. See Start message queue consumers in the Configuration Guide.
If enabled, set the Asynchronous batch size. The default batch size is 100. When bulk processes reach this amount, the system triggers it.
When complete, click Save Config.