How to update an Amasty extension?

How to update an Amasty extension?

Below, you may find the instructions on installing an update to an Amasty extension. Choose the appropriate method of the extension update – via Composer or via manual file upload. The choice of the method corresponds to the initial way the extension was installed.

Before updating the module, it's recommended to create a backup of the modified extension files (if any). When the update is finished, you can re-apply the custom patches and/or re-upload the altered files from the previously created backup if needed. 

Composer update

Step 1. Log in to the server via a command line and proceed to the root Magento folder.

Step 2. Execute the following command:

composer update amasty/<composer_module_name>

Here <composer_module_name> is the Composer name of the extension you are updating. To find the Composer name of the module, open the Products tab of your account and scroll down to the Composer packages section:

It is also possible to update multiple extensions with one command:

composer update amasty/<module_name_a> amasty/<odule_name_b> amasty/<module_name_c>

Or update all installed Amasty extensions at once: 

composer update amasty/*

Step 3. After the extension update, the following commands should be run:

php bin/magento setup:upgrade
php bin/magento setup:di:compile 
php bin/magento setup:static-content:deploy (your locale)

Manual file upload

Please delete the files of the previous module version. It is necessary to prevent possible errors due to the old files creating a conflict. This will not result in losing any configurations, created rules, etc., as this data is stored in the database and is not affected by the module update. 

To install the extension update, follow the steps below.

Step 1. Navigate to the Products tab in your customer account. Scroll down to the Packages section and click the Download link for the extension that should be updated:

Step 2. Unpack the downloaded .zip file. 

Step 3. Connect to the server where the website source folder is located with an FTP/SFTP client (WinSCP, Filezilla, Cyberduck, etc).

Step 4. Go to /upload/app and upload the files to the /app folder of your Magento website using the ‘Merge’ upload mode: 

Step 5. Connect to the Magento root directory via SSH and run the following commands: 

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

As the 'Base' extension has been already installed, the system may ask to overwrite its files during the update — feel free to accept that.
      • Related Articles

      • How to install an Amasty extension?

        There are two ways of installing an extension on Magento 2. It's recommended to use one and the same installation method for all Amasty extensions. Composer installation Step 1. To download and install Magento modules, the vendor repository is ...
      • How to uninstall an extension?

        Preparation Before making any changes to your Magento instance, either live or a dev site, make sure to create backups. This way you can secure the changes in case something goes wrong in the process. So that the uninstall goes smoothly, it's ...
      • Composer doesn’t allow me to install the latest update of the module. Is there a solution for it?

        There are two possible reasons why the composer is not fetching the latest version of the module. The first one is that the module package is loaded from caches - composer cannot see the latest available version, so it loads the latest that is ...
      • How can I check the current version of my Amasty extension?

        Verifying the version of an Amasty extension can be done through multiple methods. Method #1. Magento admin You can easily check the version of an installed extension through the Magento admin panel. For that, navigate to Stores → Configuration → ...
      • How to install a specific version of the extension?

        Kindly note that older versions of the modules may miss some features that are presented on their product pages. Moreover, we can't guarantee their stability, correct performance, and effective result. We don't provide support for older versions of ...