close

Somewhere, in a parallel universe,
the-other-you just clicked on
"Subscribe To Our Monthly Newsletter"

The-other-you seems eager to stay updated with the technological changes.

Please enter your name. Please enter your name.
Please enter your email. Please enter your email.

How To Integrate MSI Inventory Management In Magento 2?

Post by|Magento27 May,2020
52 View

Multi-Source Inventory is the new feature introduced by Magento 2.3.x. The previous versions of Magento were using single inventory management. So, as a Magento developer, it was very difficult to manage multi-channel inventory. In the past, we were using a third-party extension to manage multi-channel inventory, but this is now an inbuilt feature of Magento 2.3

Before we begin to understand how to manage Multi-source inventory in Magento 2, let’s understand some main concepts of MSI.

Sources

Source means your location of stock and products, like warehouses, distribution centers, etc. Magento default provides one source with the name Default source. You can add multiple sources here, as per your Warehouse, or it can be a single source if you are running a single store in Magento.

Stocks

Stock is used for representing multiple sources and each stock is linked to a sales channel.

Sales Channels

Sales channels are the Magento website which will be linked to the stock.

Saleable Quantity

It is the actual quantity to be sold. If you check in the product grid in Magento, you will find two columns. One is for “Quantity” and the other is “Saleable Quantity”. 

Now, let’s look at the difference between quantity and saleable quantity. 

The quantity represents your total stock with ordered quantity but not delivered quantity from the warehouse. 

The saleable quantity represents quantity which is yet to be sold. It will not be counted in the ordered quantity.

For example, if you have 10 qty in your stock and one is purchased but not delivered yet. So your quantity is 10 and the saleable quantity is 9.

Algorithm (How Multisource Inventory Work)

Magento will check the assigned stock to the particular website and look for the related sources of the Stock. So if any new order is placed, then Magento will find default source and decrease quantity from the particular source.

Now, let’s see how we can configure MSI in Magento 2. Let’s check the step by step guide.

Add A New Source

  • Login to the admin panel.
  • Go to Stores > Inventory > Sources.
  • As mentioned above, you can see only the default source which can not be disabled. All the products will be assigned to it by default in a single source mode.
  • Click “Add New Source”
  • Enter all the required information.
  • Save the configuration.

Add New Stock

  • Go to Stores > Inventory > Stocks.
  • As mentioned above, You can see only the default stock is available. This stock is already by default assigned to the default source and website.
  • Click “Add New Stock”
  • Enter all the required information and save the configuration.

Product Inventory Configuration

  • Go to Catalog > Products.
  • Edit any product.
  • In the source tab, click on ‘assign source’
  • Select any sources to assign.
  • Save the product.

That was about the multi-source inventory with Magento. It might be possible that you are running the single store mode and you do not require the multi inventory configuration. In this case, you can disable all the Magento modules related to the multi-source inventory.

You just need to run the below command to disable the module;

bin/magento module:disable -f [MODULE_NAME]

After running the above command, run the below commands to flush cache and reindex;

bin/magento cache:flush

bin/magento indexer:reindex

Conclusion 

The above was a guide to walk you through MSI (Multi-source Inventory) integration in Magento 2. As a Magento development company, the demand for integrating MSI must be sky-rocketing due to its ability to connect to stores for a particular source. Also, its accurate algorithm enables you to choose the source that caters to the various conditions. 

In case of any query, you can always click here to visit ZealousWeb and chat! 

Load more