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 a 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 ...
      • 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 to uninstall an extension?

        This article describes a basic flow for extension uninstallation, not touching DB changes.       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 ...
      • How to translate a Magento 2 extension?

              Generally, an extension consists of specific elements (i.e. interface, settings display, added content) which can be translated to another language. When making a translation, as the first step, look through the module's elements in the Admin ...
      • What Amasty extensions support PWA and GraphQL?

              Amasty PWA add-ons provide the same functionality as the original Amasty extensions. The PWA add-ons are created with the required Magento PWA stack of technologies, which makes it applicable for building a PWA site on the base of Magento. PWA ...
      • Announcements

      • Already Done in Q1'23

        New features and improvements Order Attributes v3.8.0 NEW now Order Attributes are placed on the PayPal Review Page; we added compatibility with Hyvä Theme for the module. You can find package for installing in composer suggest (Note: the compatibility
      • Roadmap | What to expect in Q1'23

        New features and improvements Improved Layered Navigation generate SEO-friendly URLs for multi-select Category filter; better speed performance of the Apply filters button; improve Category list load time. Special Promotions Pro optimize data types in
      • Already Done in Q4'22

        New Amasty services Make sure your site is well-performing with our E-commerce QA testing service. Let our specialists check various elements of your website and get the issues fixed. The service is available for any e-commerce platform (Magento, Shopify,
      • Roadmap | What to expect in Q4'22

        New features and improvements Elastic Search better performance of synonyms; REST API support. Product Labels enhanced extension performance with a lot of products on the page. Blog Pro posts migration from one Magento instance to another; email notifications
      • Already done in Q3'22

        New solutions Our new SaaS tool - Website SEO Health Check. Discover the most severe SEO mistakes which can damage your website. Available as part of Pro and Premium SEO Toolkit. New features and improvements Import and Export NEW we added the possibility