How to upgrade 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.
-
Update the extension with all dependencies:
composer require mirasvit/module-gtm:* --update-with-dependencies
Note
If you updated the module from the version below 2.0.0 you should enable the module Mirasvit_Tm
Run ```shell php -f bin/magento module:enable Mirasvit_Tm<br><br>
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. <br><br> Run instead `composer update mirasvit/*` command. It will update all Mirasvit modules installed in your store. <br><br> -
Install the updates:
php -f bin/magento setup:upgrade
-
Clean the cache
php -f bin/magento cache:clean
- Deploy static view files
rm -rf pub/static/* rm -rf var/view_preprocessed/* php -f bin/magento setup:static-content:deploy