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 the packages section, and click 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 this 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.
Support Subscription Pro and Support Subscription Premium come with a free configuration service for a number of extensions so you can install new features for your modules at no extra cost.
See also how to update Magento extensions by Amasty.
Update magento 2 to latest version(be it Magento Community latest version or Magento 2 Enterprise latest version): Get your Magento upgraded to the Magento 2 latest stable version and stay protected from security breaches while benefiting from new features with the Magento 2 Upgrade Service. Magento latest version now is 2.4.x.
According to the statistics, you may find helpfull the following question about less compilation modes.
Login and Registration Form