Installing the extension
Go through the following steps to install the extension.
Prepare for installation
- Back up your store's database and web directory.
- Log in to the SSH console of your server and navigate to the root directory of your Magento 2 store.
- Copy the installation instructions from the My Downloadable Products page and paste them into the SSH console. Press ENTER to proceed.
Execute the following commands to install
-
Run the following command to enable the extension:
php -f bin/magento module:enable Mirasvit_Core Mirasvit_SeoFilter Mirasvit_Scroll Mirasvit_LayeredNavigation Mirasvit_Brand Mirasvit_AllProducts Mirasvit_SeoNavigation Mirasvit_LandingPage
If you are using Magento LiveSearch, additionally run:
php -f bin/magento module:enable Mirasvit_LayeredNavigationLiveSearch
-
Run the following command to install the extension:
php -f bin/magento setup:upgrade
-
Clear the cache:
php -f bin/magento cache:clean
-
Deploy static view files:
rm -rf pub/static/*; rm -rf var/view_preprocessed/*;
php -f bin/magento setup:static-content:deploy
If you are using the Hyvä theme, install the compatibility module
-
Install the Hyvä compatibility module with the command:
composer require mirasvit/module-navigation-hyva:*
-
Enable the installed Hyvä modules:
bin/magento module:enable Hyva_MirasvitLayeredNavigation Hyva_MirasvitAllProducts Hyva_MirasvitBrand Hyva_MirasvitQuickNavigation Hyva_MirasvitScroll Hyva_CompatModuleFallback
-
Update the Magento database schema and data:
bin/magento setup:upgrade
-
Compile the code for the installed extensions:
bin/magento setup:di:compile
-
Compile theme assets:
cd /path/to/theme/web/tailwind/
npm run build-prod -
Deploy static view files:
cd /path/to/project/
rm -rf pub/static/*; rm -rf var/view_preprocessed/*;
php -f bin/magento setup:static-content:deploy -
Flush the cache:
bin/magento cache:flush
If you want to upgrade the extension, please refer to the how to upgrade the extension page.
To temporarily disable or remove it, use the commands from the how to disable the extension guide.