How to disable extension
Using these steps you can disable or remove extension.
Temporarily disable
To temporarily disable the extension, please take the following steps:
-
Log in to the SSH console of your server and navigate to the root directory of the Magento 2 store.
-
Run the command below to cleanup related data:
php -f bin/magento mirasvit:related:cleanup -
Run the command below to disable the extension:
php -f bin/magento module:disable Mirasvit_Related Mirasvit_RelatedGraphQlThe same command covers a Hyvä storefront and the GraphQl queries: from version 1.6.0 there is no separate Hyvä module to disable, and
Mirasvit_RelatedGraphQlships in the same package. -
Log in to the Magento backend and refresh the store cache (if enabled).
To re-enable the extension later, run php -f bin/magento module:enable Mirasvit_Related Mirasvit_RelatedGraphQl and then php -f bin/magento mirasvit:related:restore to restore the product blocks' layout registrations that were removed by cleanup.
Removing the Extension
To uninstall the extension, follow these steps:
-
Log in to the SSH console of your server and navigate to the root directory of the Magento 2 store.
-
Run the following command to remove the extension:
composer remove mirasvit/module-relatedThis removes the Hyvä and GraphQl support with it. From version 1.6.0 they are part of the same package.
warningIf the former Hyvä companion was installed by unpacking an archive into
app/code/Hyva/MirasvitRelated, delete that folder by hand:composer removedoes not know about it. -
Log in to the Magento backend and refresh the store cache (if enabled).