You are viewing: Affiliate Programs
Contents |
In this article you will learn how to update your Magento 2 Affiliate Programs 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:
1. Update via FTP2. Update via the Composer
Step 1. Download and unzip the Magento 2 Affiliate Programs login extension's files as shown below:
![]() |
|
![]() |
|
![]() |
|
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.)
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:
Next Step > Magento 2 Affiliate Programs v2.x Configuration
In order to update your Magento 2 Affiliate Programs 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-affiliate
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).
In order to find your personal Username and Password to update extension via the Composer, go to your account at https://store.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.
![]() |
|
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:
Next Step > Magento 2 Affiliate Programs v2.x Configuration
On Top