Skip to main content

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:

  1. Unpack the Mexbs_FreeGift_v1.2.3.zip file.
  2. Go to Mexbs_FreeGift_v1.2.3/extension_files. Copy the content of this directory into your Magento installation directory.
  3. Connect via SSH and go to your Magento root directory
  4. Determine the mode that your Magento is running on, by running the following command:
php bin/magento deploy:mode:show
  1. 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
  1. 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
  1. 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
  1. Go to the admin panel – “System->Cache Management” and click “Flush Magento Cache”.
  2. Run the following command in your SSH:
php bin/magento indexer:reindex apactionrule_rule apactionrule_product