2. Installation

First Installation

To install correctly Inventory Management on your Magento 2, here are the steps to follow :

  1. Download the extension (provided in a ZIP archive) from your BoostMyShop account, “My Downloads” section.
  2. Unzip the archive, then upload extracted files to your server.


If files upload have been done correctly, a module folder named “AdvancedStock” should be visible in directory app/code/BoostMyShop/.

  1. Connect to your server via SSH, then run the following command lines :

    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy
    php bin/magento bms_advancedstock:flush_stock_index
    php bin/magento indexer:reindex
    php bin/magento cache:flush


    These commands will install the module in Magento.

  2. Once done, run these additional commands to initialize module data :

    php bin/magento bms_advancedstock:refresh_quantity_to_ship
    php bin/magento bms_advancedstock:refresh_sales_history
    php bin/magento bms_advancedstock:refresh_sellable_quantity
    php bin/magento bms_advancedstock:fix_reservation
    php bin/magento bms_advancedstock:check_stock_discrepencies --fix


    More informations on the stock discrepencies command line : Stock Discrepancies.

    Once everything is done, go back to menu System > Web setup wizard, then click on the Component Manager button : You should see the new extension displayed there.


The upgrade process is exactly the same as the installation process.

Disable extension

To disable any Magento extension, go in System > Web setup wizard and click on the Component Manager button. Find the extension you want to disable, then select Disable from the “Actions” column.

You can also disable the Advanced Stock module using Magento module:disable command line (via SSH) :

php bin/magento module:disable BoostMyShop_AdvancedStock