Affiliate
v1.4.33

How to install the extension

Installation via composer (preferably)

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

  1. Back up your store's database and web directory.
  2. Log in 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 the command php -f bin/magento module:enable Mirasvit_Core Mirasvit_Affiliate to enable the extension.
  5. Run the command php -f bin/magento setup:upgrade to install the extension.
  6. Run the 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 the .zip package and copy the contents to the Magento root directory.
  3. Log in to the SSH console of your server and navigate to the Magento root directory.
  4. Run the command php -f bin/magento module:enable Mirasvit_Core Mirasvit_Affiliate to enable the extension.
  5. Run the command php -f bin/magento setup:upgrade to install the extension.
  6. Run the 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

Install the extension for Hyva

  1. Run the command to obtain the Blog MX Hyva component

    composer config repositories.hyva-themes/magento2-mirasvit-affiliate git [email protected]:hyva-themes/hyva-compat/magento2-mirasvit-affiliate.git
    composer require hyva-themes/magento2-mirasvit-affiliate
  2. Enable the installed Hyva component:

    bin/magento module:enable Hyva_MirasvitAffiliate
  3. Update the Magento database schema and data with the command:

    bin/magento setup:upgrade
  4. Compile code to generate the contents of the Magento var/di folder:

    bin/magento setup:di:compile
  5. Run the command below to clean the cache:

    bin/magento cache:flush