Magento 2 Ajax Cart v2.x Updating

In this article you will learn how to update your Magento 2 Ajax Cart Extension correctly, please follow this step-by-step guide below.

You can choose one of the following two methods to update the extension on your Magento 2 store:

Update Extension via FTP

Step 1. Download and unzip the Magento 2 Ajax Add To Cart extension files as shown below:

Detailed description:

  1. Login to your Plumrocket store account: https://plumrocket.com
  2. Select “My Account” in the menu . (To open this page you have to log in first)
  3. Select “My Downloads” in the menu.
  4. Press on the “Download” link to download the latest version of your extension.
  5. If you need to download one of the previous versions of your extension or to check the change logs, please, press on the “Release archive” link.
1Magento_2_ajax_cart_extension

Detailed description:

  1. In the “Release Archive” section you can see the list of available versions, read the change logs and download one of the previous versions.
2Magento_2_ajax_cart_extension

Important Information:

  1. We strongly recommend that you backup all your Magento 2 files and folders before you proceed with updating the extension.

Step 2. To upload files to the server, you may use any FTP-client (To show you how it works we used the FileZilla FTP-client.)

Detailed description:

  1. This is your client side. Here you will see the unpacked catalog containing Magento 2 Ajax Cart Extension.
  2. This is your root directory on the server side. The files should be uploaded here.
  3. All the files have to be uploaded to the server. Select the files and press right button of your mouse.
  4. Choose the “Upload” option for these files.
Magento_2_ajax_cart_extension_install_2

Step 3. SSH Installation (requires SSH access to your webserver)

1. In terminal, switch to your Magento 2 root directory using command:

cd /FULL_PATH_TO_YOUR_MAGENTO2

where “FULL_PATH_TO_YOUR_MAGENTO2” is the path to your Magento 2 folder on your server.

2. Run the next three Magento 2 commands:

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

After running these commands, the extension should be updated successfully. Similar message should be displayed in your console as displayed below:

Installation_of_extension_via_composer_by_plumrocket_v3

Next Step > Magento 2 Ajax Cart Configuration

Update Extension via the Composer

In order to update your Magento 2 Ajax Cart extension via the Composer, open the console (SSH terminal) and follow commands:

1. In terminal, switch to your Magento 2 root directory using command:

cd /FULL_PATH_TO_YOUR_MAGENTO2

where “FULL_PATH_TO_YOUR_MAGENTO2” is the path to your Magento 2 folder on your server.

2. Update your Plumrocket extension to the latest version:

composer update plumrocket/module-ajaxcart

After running this command, you will be prompted to enter the username and password (skip this step if your credentials were saved during the installation).

Installation_of_extension_via_composer_by_plumrocket_v1

In order to find your personal Username and Password to update extension via the Composer, go to your account at https://plumrocket.com > select “My Account” in the header menu > select the “My Downloads” tab > find the required Plumrocket extension in the list > and press the “Install via Composer” link . Please see screenshot below.

Step-by-Step action:

  1. Copy the “Username” key from the popup window.
  2. Copy the “Password” key from the popup window.
Composer_credentials

3. Run the next three Magento 2 commands:

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

After running these commands, the extension should be updated successfully. Similar message should be displayed in your console as displayed below:

Installation_of_extension_via_composer_by_plumrocket_v3

Next Step > Magento 2 Ajax Cart Configuration

Was this article helpful?