Magento2 – How to install the extension
How to install the extension
- 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.
- Copy the installation instructions from the page My Downloadable Products to the SSH console and press ENTER.
- 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 the extension. - 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 extension-related data. - Make sure that the native Magento cron job is configured and working correctly. The Related Products for Magento 2 extension runs all tasks in cron.