How to setup Stock in Magento 2


Setting up Stock for your products is the smart solution to make the shopping online more professional. You can manage stock for any product you need. You can setup the stock for every product at your store. The setting up the stock allows the shoppers to see the availability of the product they are interested in. On the storefront, “In Stock” and “Out of Stock” will describe this availability.

Set up the Stock Options

The Stock Options might be active for a entire of the products in the catalog and the quantity in stock is updated continuously. Moreover, the Stock Options help you drive more new clients shopping at your store not just those who buy a huge quantity of the products, you enable to set the maximum for an order instead of taking the whole from your inventory.

How to setup Stock stock option

  • On the Admin panel, Stores > Settings > Configuration.
  • On the left-panel, Catalog > Inventory.
  • In the Stock Options section,
    • Select Yes in the Set Items' Status to be In Stock When Order is Cancelled field when the order is postponed, and the product is given back.
    • Set Decrease Stock When Order is Placed to Yes as soon as adding or minusing the quantity of the product in the shopping cart.
    • The Display Out of Stock Products is Yes if you approve to show the product in the catalog despite of it is no longer in stock.

      If need, enable the price alert to notify the comeback of the product in stock for customers who have already logged in to follow that.

    • Enter the number of the product left in stock in the Display X left Threshold field. In the Store View, “Only X left” will be shown for the buyers. For example, only 3 left.
    • Make the quantity in stock or out of stock visible on the product detail page if choose Yes in the Display Products Availability In Stock on Storefrontfield.
  • Click on the Save Config button to finish.

How to setup Stock stock option config

Set the Product Stock Options

The Product Stock Options means the inventory settings at the product level. However, the Product Stock settings only applies for a single product instead of all items in a cart.

  • On the Admin panel, Stores > Settings > Configuration.
  • On the left-panel, Catalog > Inventory.
  • In the Product Stock Options section,
    • To apply the inventory tracking for your product, say Yes to Manage Stock.

How to setup Stock product stock option config

  • Select one of the options for Backorders :
    • No Backorder - not permit any backorder if product is out of stock
    • Allow Qty Below 0 - permit backorder even the quantity is less than 0
    • Allow Qty Below 0 and Notify Customer - permit backorders even the quantity is less than 0 and notify that customer can still place the order.
  • Insert the Maximum Qty Allowed in Shopping Cart.
  • Insert the Qty for Item's Status to Become Out of Stock.
  • Insert the Minimum Qty Allowed in Shopping Cart.
  • Insert the quantity of product in the Notify for Quantity Below. For example, if there are 1 item in stock, an alert is on to notify that the item is out of stock.
  • In the Enable Qty Increment field, choose Yes if you need, then enter the number of items for the incremal sale. Suppose that you offer the number 4, the required quantities in cart is 4, 8, or 16.
  • Choose Yes for Automatically Return Credit Memo Item to Stock, that means if there is any problem of the credit memo, the placed item will be back to the inventory.
  • Click on the Save Config button to finish.

Reference: Magento 2 user guide

Mageplaza One Step Checkout helps reduce the abandonment rate as well as increase the conversion rate dramatically. Mageplaza Layered Navigation brings a list of filters to help your customers search and get the favourite products in the shortest way. Mageplaza Social Login (FREE) supports 11+ types of social networks.

It comes to the end of tutorial: How to setup Stock in Magento 2.

Please leave comments if you have any questions, feedbacks.

Comments for How to setup Stock in Magento 2

You also may like these Magento 2 Extensions

One Step Checkout

18 reviews

Layered Navigation

11 reviews

Store Locator

2 reviews

Shop By Brand

no review

Zoho CRM

no review


10 reviews

Better Blog

7 reviews


7 reviews