Skip to main content

How to upgrade extension

Follow these steps to update the extension via сomposer:

  1. Back up your store's database and web directory.

  2. Log in to the SSH console of your server and navigate to the root directory of the Magento 2 store.

  3. Run the command below to update the current extension with all dependencies:

    composer require mirasvit/module-email:* --update-with-dependencies
tip

If the command doesn't work or you need to update all Mirasvit modules at once, use:

  composer update mirasvit/*
  1. Run the command below to install updates:
    php -f bin/magento setup:upgrade
  1. Run the command below to clean the cache:
    php -f bin/magento cache:clean
  1. Deploy static view files:
    rm -rf pub/static/*; rm -rf var/view_preprocessed/*;
php -f bin/magento setup:static-content:deploy