To upgrade the extension, follow these steps:
- 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.
If the extension was installed via:
Composer: run the command to update the current extension with all dependencies.
composer require mirasvit/module-search-ultimate:* --update-with-dependencies
NoteIf you have the Hyva, run:
composer require hyva-themes/magento2-mirasvit-search-autocomplete:* --update-with-dependencies
NoteIn some cases, the above command is not applicable, as it's not possible to update the current module, or you just need to upgrade all the Mirasvit modules in a bundle. In this case, the above command will not be effective.
composer update mirasvit/*command. It will update all the Mirasvit modules, installed in your store.
- Direct file upload: download the new extension package from our store and copy contents to the root Magento directory
Run the command to install updates:
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
Clean the cache:
php -f bin/magento cache:clean
Rebuild the search index:
php -f bin/magento indexer:reindex catalogsearch_fulltext