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