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 proceed if I need to update Amasty Base extension?

        To finish license registration for your amasty.com account, you need to enter your Instance Registration Key into our Base module functionality that becomes available with v.1.16.0 and newer. In order to check your Base module version and its latest ...
      • How do I update the theme?

        We are constantly improving and updating our extensions, therefore, we suggest that you always use the latest extension/theme version on your site. An update of a Magento 2 extension/theme from Amasty should be done the same way as it was installed - ...
      • Composer doesn’t allow me to update the module to the latest version. Is there a solution for it?

        While updating Amasty extensions via composer, you may encounter a Nothing to install, update or remove message, as if there are no updates for the modules. There are several possible reasons why the composer is not fetching the latest version of the ...
      • 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 ...