Skip to content

Instantly share code, notes, and snippets.

@Nav-Appaiya
Created May 8, 2022 16:00
Show Gist options
  • Select an option

  • Save Nav-Appaiya/54604f249812444e2ad03ad22b26adcf to your computer and use it in GitHub Desktop.

Select an option

Save Nav-Appaiya/54604f249812444e2ad03ad22b26adcf to your computer and use it in GitHub Desktop.
Disable Magento 2 Multi source inventory management by CLI
php bin/magento module:status | grep Magento_Inventory | grep -v List | grep -v None | grep -v -e '^$' | xargs php bin/magento module:disable
php bin/magento s:upgrade
php bin/magento s:s:deploy -f
php bin/magento c:flush
php bin/magento i:reindex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment