How To Disable Magento MSI

How To Disable Magento MSI

With the release of Magento 2.3.0, the Multi-Source Inventory was introduced that helps store merchants to accurately manage their inventory in more than one location and reflect their physical inventories without any 3rd party modules! The sources can either be physical or virtual such as DropShipping sources.

Such powerful inventory management in Magento 2 makes it easy to improve checkout, manage drop shipping, and faster delivery services.

There are many more advantages of Magento 2 MSI that we saw earlier. However, there are a few cases where the MSI feature has disappointed the merchants!

Magento MSI has its own limitation – the inability to assign different sources on the different store views of the same product.

Magento MSI does not allow to:

  • different sources per product store view
  • cannot be implemented in multi-store and multi-website Magento setup.

Additionally, a merchant quoted, “Reasons to not use MSI – doesn’t handle backorders correctly, has no option to decrease stock when order is placed (only when shipped). Some shops use outside stock keeping systems as well”

For stores with a single warehouse and a lesser number of products, MSI can bring unnecessary complexity.

Hence the best way out is to disable Magento MSI!

The post gives the solution to disable the MSI in Magento 2.3.

Method to disable Magento MSI:

Run the below command in your SSH to disable MSI in Magento 2.3.0:

Run the below command in your SSH to disable MSI in Magento 2.3.1:

Run the below command in your SSH to disable MSI in Magento 2.3.2:

Run the below command in your SSH to disable MSI in Magento 2.3.3, Magento 2.3.4, and Magento 2.3.5:

Run the below command in your SSH to disable MSI in Magento 2.4:

Run the below commands:

Check your Magento 2 mode.

If you are on a developer or a default mode, run the below command:

If you are on a production mode, run the below commands:

That’s it.

If you face an error stating “Your modules might not work properly”, do not worry. It is due to the dependencies of the modules but it won’t cause an issue in the core Magento modules.

Magento 2 MSI can be complex if you are a beginner. But do not worry! Leave your doubts in the Comments section below regarding Magento MSI. I’d be more than happy to help you out.

Also, do share the solution with fellow Magento developers via social media.

Thank you.

CTA_M2-Inventory-Report

Get Weekly Updates

Never miss Magento tips, tricks, tutorials, and news.

Thank you for subscribing.

Something went wrong.

4.9
(based on 31 Reviews)

Sanjay is a co-founder at Meetanshi. He is a Certified Magento Developer who loves creating Magento E-commerce solutions. Owing to his contributions in Magento Forums and posting solutions, he is among the top 50 contributors of the Magento community in 2019. When he is not engrossed with anything related to Magento, he loves to play cricket.

12 comments On How To Disable Magento MSI

  • Hi Sanjay,

    I have faced an issue on my customer website that a few products can not be added into a cart. An error message I got is ” There are no source items with the in-stock status”. is it something related to this article.

    Thanks in advance

  • Hi,

    I tried to do it for version 2.4.2 and recieved this error message while reindexing:

    Design Config Grid index has been rebuilt successfully in 00:00:00
    Customer Grid index has been rebuilt successfully in 00:00:02
    exception: Category Products index is locked by another reindex process. Skipping.
    Product Categories index has been rebuilt successfully in 00:00:17
    Catalog Rule Product index has been rebuilt successfully in 00:00:00
    Product EAV index has been rebuilt successfully in 00:00:00
    Stock index has been rebuilt successfully in 00:00:00
    Product Price index has been rebuilt successfully in 00:00:00
    Catalog Product Rule index has been rebuilt successfully in 00:00:00
    Catalog Search index PHP Fatal error: Uncaught Error: Cannot instantiate interface Magento\InventorySalesApi\Api\IsProductSalableInterface in /home/576869.cloudwaysapps.com/qnkksxpamd/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50
    Stack trace:
    #0 /home/576869.cloudwaysapps.com/qnkksxpamd/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create()
    #1 /home/576869.cloudwaysapps.com/qnkksxpamd/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get()
    #2 /home/576869.cloudwaysapps.com/qnkksxpamd/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument()
    #3 /home/576869.cloudwaysapps.com/qnkksxpamd/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument in /home/576869.cloudwaysapps.com/qnkksxpamd/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 50

  • Getting below exception on the backend category page. Disabled inventory on 2.4.1
    Cannot instantiate interface Magento\InventorySalesApi\Api\StockResolverInterface
    Exception in /var/www/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121

  • Thank you very much!!

  • Hi there. I get the following error message after running your commands:

    Fatal error: Uncaught Error: Cannot instantiate interface Magento…

    This is happening while trying to enter the products section in our backend.

    Best, Peter

  • Do you have a command to disable in 2.4 ? Thanks in advance!

Leave a reply:

Your email address will not be published.