How to upgrade the extension
To upgrade the extension follow these steps:
- Backup your store's database and web directory.
- Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
- Run command
composer require mirasvit/module-sales-rule:* --update-with-dependencies
to update current extension with all dependencies.Note
In some cases the command above is not applicable, it's not possible to update just current module, or you just need to upgrade all Mirasvit modules in a bundle. In this case command above will have no effect.
Run insteadcomposer update mirasvit/*
command. It will update all Mirasvit modules, installed on your store.
- Run command
php -f bin/magento module:enable Mirasvit_Core Mirasvit_SalesRule Mirasvit_Banner
to re-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