How to upgrade extension
To upgrade the extension, follow these steps:
- Backup your store's database and web directory.
- Login to your server's SSH console and navigate to the root directory of the Magento 2 store.
-
Run command
composer require mirasvit/module-related:* --update-with-dependencies
to update current extension with all dependencies.Note
There are some cases when the command above is not applicable; it is not possible when updating the current module; neither will it be applicable when upgrading all the Mirasvit modules in a bundle. In this case, the command above will be of no effect.Run instead
composer update mirasvit/*
command. It will update all Mirasvit modules installed in your store. - Run command
php -f bin/magento module:enable Mirasvit_Core Mirasvit_Related
to enable the extension. - Run command
php -f bin/magento setup:upgrade
to install updates. - Run command
php -f bin/magento cache:clean
to clean the cache. -
Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
- Run command
php -f bin/magento indexer:reindex mst_related_index
to reindex the data related to the Related Products for Magento 2 extension.