How to upgrade extension
Follow the steps below to update the extension to the latest version available for you.
Please note that these instructions are valid for Magento 2.4 only. For installing the extension on an earlier version of Magento, please follow:
Execute the following commands to update the extension via composer:
-
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 the Magento 2 store.
-
Run the command below to update the current extension with all dependencies:
composer require mirasvit/module-search-ultimate:* --update-with-dependencies
If you have Hyvä, run:
composer require mirasvit/module-search-ultimate-hyva:* --update-with-dependencies
In some cases, the commands above may not be applicable, or you may be unable to update only the current module. If that's the case, you will need to upgrade all Mirasvit modules in a bundle. The command above will have no effect in such scenarios. Instead, run the following commands to update all Mirasvit modules installed in your store:
composer update mirasvit/*
-
Install the updates by running the following command:
php -f bin/magento setup:upgrade
-
Deploy static view files:
rm -rf pub/static/*; rm -rf var/view_preprocessed/*;
php -f bin/magento setup:static-content:deploy -
Run the command below to clean the cache:
php -f bin/magento cache:clean
-
Rebuild the search index:
php -f bin/magento indexer:reindex catalogsearch_fulltext