2. Installation

First Installation

To install a boostmyshop magento2 extension on your platform, process the following steps :

  • Download zip archive from your boostmyshop customer account
  • Upload files on your server : once uploaded, module must be in directory app/code/BoostMyShop/
  • Connect on your server via ssh, and run the following commands :
php bin/magento setup:upgrade
rm -rf var/generation
php bin/magento module:enable BoostMyShop_BarcodeLabel
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Once everything is done, go back in Magento, select menu system > web setup wizard, then click on the component manager button : you should see the new extension here

Barcode attribute

If you do not have a product attribute to store the barcode number, you must create a new one following these steps :

  • Select menu stores > Attributes > Product : then click on button “Add new attribute”
  • Configure the new attribute this way :
  • Default label : barcode
  • Attribute code : barcode
  • Catalog Input Type for Store Owner : Text field
  • Scope : global
  • Then save the attribute

Assign barcodes for existing products

If you want to assign barcode number to existing products, you can run the following command line :

php bin/magento bms_barcodelabel:assign_barcodes

Upgrade

The upgrade process is exactly the same as the installation process

Disable extension

To disable an extension, select menu system > web setup wizard, then click on the component manager button Find the extension you want to disable and select “disable” in the “Actions” column