How To Set Up Product Stock Management In Magento 2

Person Shopping Online

Magento 2, the widely used eCommerce platform, provides merchants with numerous features that allow them to manage their online stores efficiently. Among these features is the ability to manage product stocks, which is essential for keeping track of the inventory and stock levels. In this tutorial, we’ll guide you through the process of setting up product stock management in Magento 2.

Speed Up Your Magento Store by 300%

Step 1: Enable Stock Management

Before you can start managing product stocks, you need to ensure that the stock management feature is enabled in your Magento 2 store. To do this, follow these steps:

  1. Log in to your Magento 2 admin panel
  2. Navigate to Stores -> Configuration -> Catalog -> Inventory -> Stock Options
  3. Find the ‘Manage Stock’ option and set it to ‘Yes’
  4. Save the settings

By enabling the stock management feature, Magento 2 will automatically keep track of your stock levels and make updates whenever a purchase or return occurs.

Step 2: Create Stock Inventory

Once you’ve enabled stock management, the next step is to create stock inventories for your products. To do this, follow these steps:

  1. Navigate to Stores -> Inventory -> Stock

  2. Click the ‘Add New Stock’ button

  3. Fill out the required fields, such as the stock name, stock code, and the website where the stock inventory will apply to

  4. Save the stock inventory

Repeat this process for each stock inventory that you need to create. For example, if you have stores in multiple locations, you might need to create a separate stock inventory for each location.

Step 3: Set Up Product Stock

Now that you’ve created stock inventories, it’s time to set up product stock levels. There are two ways to do this:

Method 1: Set Up Stock Levels Individually

Here’s how to set up stock levels individually for each product:

  1. Navigate to Catalog -> Products

  2. Select the product that you want to set up stock levels for

  3. Click on the ‘Advanced Inventory’

  4. Fill in the ‘Qty’ field with the stock level for the product.

  5. Choose the stock inventory that the stock level applies to

  6. Save the settings

Repeat this process for each product that you want to set up stock levels for.

Method 2: Use Bulk Actions

You can also set up stock levels for multiple products using the bulk actions function in Magento 2:

  1. Navigate to Catalog -> Products

  2. Use the checkbox on the left-hand side of each product to select the items you want to update.

  3. Choose ‘Update Attributes’ from the ‘Actions’ dropdown.

  4. In the window that appears, locate the Inventory section and click on ‘Advanced Inventory.’

  5. In the ‘Qty’ field, specify the number of products you have in stock.

  6. Click on ‘Save’ to apply the changes.


Magento 2 offers an efficient and easy way to manage your product stocks. By enabling the stock management feature, creating stock inventories, and setting up product stock levels, you can ensure that you always know exactly how much inventory you have on hand. With these tips, you can start managing your stocks like a pro on your newly optimized eCommerce store in no time.

Scroll to Top