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 Mirasvit_RewardsGraphQl

    Mirasvit_RewardsGraphQl provides the GraphQl API and ships with the extension. To keep Reward Points but switch its GraphQl API off, disable that module alone:

    php -f bin/magento module:disable Mirasvit_RewardsGraphQl

    The same commands cover a Hyvä storefront: from version 3.6.0 there are no separate Hyvä modules to disable.

  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

    This removes the Hyvä and GraphQl support with it. From version 3.6.0 they are part of the same package.

  3. Log in to the Magento backend, refresh the store cache (if enabled), and deploy the static view files.