How to install the extension

Installation via composer (preferably)

We recommend this installation method because composer automatically checks and installs necessary dependencies.

  1. Backup your store's database and web directory.
  2. Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
  3. Copy the installation instructions from the page My Downloadable Products to the SSH console and press ENTER.
  4. Run command php -f bin/magento module:enable Mirasvit_Core Mirasvit_Affiliate to enable the extension.
  5. Run command php -f bin/magento setup:upgrade to install the extension.
  6. Run command php -f bin/magento cache:clean to clean the cache.
  7. Deploy static view files

    rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy

Installation via direct file upload

You can also install the extension via direct files uploading.

  1. Go to My Downloadable Products / View & Download.
  2. Unpack .zip package and copy contents to magento root directory
  3. Login to the SSH console of your server and navigate to the magento root directory.
  4. Run command composer require icomefromthenet/reverse-regex:0.0.6.* for install required libraries.
  5. Run command php -f bin/magento module:enable Mirasvit_Core Mirasvit_Affiliate to enable the extension.
  6. Run command php -f bin/magento setup:upgrade to install the extension.
  7. Run command php -f bin/magento cache:clean to clean the cache.
  8. Deploy static view files

    rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy