Installation
Before we begin, please ensure that you have a backup of your data before proceeding with the installation of the extension. This is because although we will make our best to support you, we cannot take responsibility of any data loss that might occur during the installation of this extension.
Installation steps:
- Unpack the Mexbs_FreeGift_v1.2.3.zip file.
- Go to Mexbs_FreeGift_v1.2.3/extension_files. Copy the content of this directory into your Magento installation directory.
- Connect via SSH and go to your Magento root directory
- Determine the mode that your Magento is running on, by running the following command:
php bin/magento deploy:mode:show
- If you are in developer or default mode, run the following commands:
php bin/magento module:enable Mexbs_ApBase --clear-static-content
php bin/magento module:enable Mexbs_FreeGift --clear-static-content
php bin/magento setup:upgrade
- If your Magento version is 2.1.x run:
php bin/magento setup:static-content:deploy
If your Magento version is 2.2.x or higher:
php bin/magento setup:static-content:deploy -f
- If you are in production mode, run the following commands:
php bin/magento module:enable Mexbs_ApBase --clear-static-content
php bin/magento module:enable Mexbs_FreeGift --clear-static-content
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
- Go to the admin panel – “System->Cache Management” and click “Flush Magento Cache”.
- Run the following command in your SSH:
php bin/magento indexer:reindex apactionrule_rule apactionrule_product