Reward Points + Referral program
v3.2.9

How to install the extension

How to install the extension using composer

  1. Backup your store's database and web directory.
  2. Login to the SSH console on 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_Report Mirasvit_Rewards Mirasvit_RewardsAdminUi Mirasvit_RewardsApi Mirasvit_RewardsBehavior Mirasvit_RewardsCatalog Mirasvit_RewardsCheckout Mirasvit_RewardsCustomerAccount 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

Note

As of Magento 2.3* the GraphQl module can be also installed. The command is composer require mirasvit/module-rewards-graph-ql

How to install the extension manually

  1. Backup your store's database and web directory.
  2. Download archive from My Downloadable Products.
  3. Unzip the extension locally.
  4. Copy unzipped folder to the root directory of the Magento store.
  5. Run command php -f bin/magento module:enable Mirasvit_Core Mirasvit_Report Mirasvit_Rewards Mirasvit_RewardsAdminUi Mirasvit_RewardsApi Mirasvit_RewardsBehavior Mirasvit_RewardsCatalog Mirasvit_RewardsCheckout Mirasvit_RewardsCustomerAccount 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

Install the extension for Hyva

  1. Run the command

        composer require mirasvit/module-rewards-hyva:*
  2. Enable installed Hyva modules:

        bin/magento module:enable Hyva_MirasvitRewards Hyva_MirasvitRewardsBehavior Hyva_MirasvitRewardsCatalog Hyva_MirasvitRewardsCheckout Hyva_MirasvitRewardsCustomerAccount 
  3. Update Magento database schema and data with the command:

        bin/magento setup:upgrade
  4. Compile the extension code:

        bin/magento setup:di:compile
  5. Compile the code of the installed extension:

        cd /path/to/theme/web/tailwind/
        npm run build-prod
  6. Run the command below to clean the cache:

        cd /path/to/project/
        bin/magento cache:flush
  7. Deploy static view files
        rm -rf pub/static/*    
        rm -rf var/view_preprocessed/*  
        php -f bin/magento setup:static-content:deploy