Skip to main content

How to disable the extension

Using these steps you can disable or remove extension.

Temporarily disable

To temporarily disable the extension, follow these steps:

  1. Log in to the SSH console of your server and navigate to the root directory of your Magento 2 store.

  2. Run the following command to disable the extension:

    php -f bin/magento module:disable Mirasvit_Rewards Mirasvit_RewardsAdminUi Mirasvit_RewardsApi Mirasvit_RewardsBehavior Mirasvit_RewardsCatalog Mirasvit_RewardsCheckout Mirasvit_RewardsCustomerAccount

    To disable Rewards GraphQL module, run:

    php -f bin/magento module:disable Mirasvit_RewardsGraphQl

    If you have Hyvä, run:

    php -f bin/magento module:disable Hyva_MirasvitRewards Hyva_MirasvitRewardsBehavior Hyva_MirasvitRewardsCatalog Hyva_MirasvitRewardsCheckout Hyva_MirasvitRewardsCustomerAccount
  3. Log in to the Magento backend, refresh the store cache (if enabled), and deploy the static view files.

Extension removal

To uninstall the extension, follow these steps:

  1. Log in to the SSH console of your server and navigate to the root directory of your Magento 2 store.

  2. Run the following command to remove the extension:

    composer remove mirasvit/module-rewards

    To remove Rewards GraphQL module, run:

    composer remove mirasvit/module-rewards-graph-ql:*

    If you have Hyvä, run:

    composer remove mirasvit/module-rewards-hyva
  3. Log in to the Magento backend, refresh the store cache (if enabled), and deploy the static view files.