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, please take the following steps:

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

  2. Run the command below to clear layout updates added by the Promo Banner module:

    php -f bin/magento mirasvit:banner:layout --cleanup
  3. Run the command below to disable the extension:

    php -f bin/magento module:disable Mirasvit_Banner Mirasvit_BannerGraphQl

    The same command covers a Hyvä storefront: from version 1.4.0 there is no separate Hyvä module to disable.

  4. Log in to the Magento backend and refresh the store cache (if enabled).


Removing the Extension​

To uninstall the extension, follow these steps:

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

  2. Run the following command to remove the extension:

    composer remove mirasvit/module-banner

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

  3. Log in to the Magento backend and refresh the store cache (if enabled).