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

    If you have Hyvä theme, run:

    php -f bin/magento module:disable Mirasvit_Banner Hyva_MirasvitBanner
  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

    If you have Hyvä theme, run:

    composer remove mirasvit/module-banner hyva-themes/magento2-mirasvit-banner
  3. Log in to the Magento backend and refresh the store cache (if enabled).