How to update a Magento 2 Amasty extension?

To update a Magento 2 extension by manual upload:

1. log in to the customer account;

2. navigate to the Products tab, scroll to thePackages section, andclick the Download link next to the extension that should be updated;

3. Important: If some extension files were modified before, it is required to make a backup for them. They may be overwritten with the update;

4. unpack the extension ZIP file onto your computer. The folder you need to upload is under ModuleName/upload/ Here you will find the /app folder that needs to be copied over;

5. connect to your website source folder with SFTP/SSH client and upload all the files and folders from the extension package to the corresponding root folder of your Magento instance.The system will ask to overwrite files during the update - please accept that;

6. connect to your Magento directory with SSH.

Run the following command:

php bin/magento setup:upgrade

- applies the changes in the extension code

If needed, also run:

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy

7. On the next login to the backend of the site, you should find the extension under Stores > Configuration > Amasty Extensions.

To update the extension via Composer:

1. Log in to your server via a command line.

The needed repository must have already been specified, if not check the following guide:

2. Proceed to the Root Magento folder.

3. Execute the following command:

composer update amasty/<composer_module_name>;

For example:

composer require amasty/shopby

You can learn the composer module name under the Products tab of your account.

4. When the extension has been installed, execute:

php bin/magento setup:upgrade

If needed, also run:

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy

If you would like to check the extension version via the files, please keep in mind that the relevant extension version is specified in the composer.json file of the extension folder. The version in etc/module.xml is NOT the extension version but the version of installation scripts.

In order to check the current extension version, proceed to Stores > Configuration > Amasty Extensions > Extensions & Notifications > Installed Extensions.


Helpful hint: say, updated your M2 extension, you haven't found one feature that would close your current functionality requirements. Hiring a dedicated development team seems to be too expensive in the case. We offer our configuration service for $59. We design and know our extensions like no one else does. We can customize it or develop any add-on according to your desire.

See also how to update Magento extensions by Amasty.

According to the statistics, you may find helpfull the following question about less compilation modes

How can we help you?

Didn’t you find the answer to your question? We are always happy to help you out.

© 2009-2021 Amasty. All Rights Reserved.