Menu Close
    Start a Project Request quote Reading list Switch to dark mode

    Magento 2 Affiliate System


    Affiliate System module is frequently overlooked by advertisers. Also, the Affiliate System is a type of performance-based marketing module.

    It allows an online merchant to pay commission to the affiliate user for sending them traffic.

    This module facilitates the affiliate user to be rewarded. Earn a reward for one or more affiliate’s clicks for each visitor or customer brought.

    Note – 

    • Only live site URL is displayed as a referring URL in the traffic summary at the admin and the customer end.
    • If any affiliate customer makes any changes in the blog link after approval by the admin then the affiliate customer needs to be approved by the admin again.


    • Management of Affiliate Configuration by Admin.
    • Enable/disable affiliate registration by admin.
    • Control Affiliate General Commission Rates by admin.
    • Handle rewards for Unique Click, Per Click, and Affiliate Order by Admin.
    • Manage transactions by admin.
    • The owner can Approve/Disapprove the Affiliate.
    • Merchant can set the Payment Method for the Affiliate.
    • Admin can Create/Delete the Text Banners.
    • The admin can set the commission based on category.
    • Handle Affiliate User, Payment, Traffic, Sales, and Statistics by admin.
    • Manage advertisement by affiliate user.
    • Fully open-source and easy to use.

    Affiliate System Installation

    Customers will get a zip folder and they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. Then, you need to transfer this app folder into the Magento2 root directory on the server.  As shown below in the below-given screenshot:

    Post the successful installation, run these commands in the Magento2 root directory.

    First command – 

    Second Command – 

    Third Command – 

    After running the commands, you have to flush the cache from the Magento admin panel.  Navigate through->System->Cache management as shown below.

    Module Translation

    If a user wants to translate their module from English to German. Then they need to follow the path app/code/Webkul/Affiliate/i18n in their unzipped Magento2 Affiliate folder. And then the user will get a CSV file with the name “en_US.csv”.

    Now, they will rename that CSV as “de_DE.csv” and translate all right side content after the comma in the German language. After editing the CSV, save it. And then upload it to the path app/code/Webkul/Affiliate/i18n where they have installed Magento2 on the server.

    Then, The module will get translated into the German Language. It supports both RTL and LTR languages.

    Even, the user can edit the CSV like the image below.

    Module Configuration

    Post the successful installation of the Affiliate System module, admin can see the configuration panel. Admin can get the configuration panel under Stores->Configuration->Webkul->Affiliate System.

    Affiliate System General Settings :

    Here the admin will –

    • Allow affiliate registrations – Firstly, select Yes to enable the affiliate registrations else select No.
    • Automatically approve affiliates – Then, select Yes to approve the affiliates automatically else select No to manually approve the affiliates.
    • Set Commission Priority – Also, the admin can set the commission priority based on the Category or Customer.
    • Minimum payout balance – Now, set the minimum payout balance to be credited into the customer’s account.
    • Payment day of the month – Then, you can set it to any day 1 to 31 of a month.
    • Blog URL Hint – After that, enter the hint for the blog URL that is visible to the affiliate users at the time of registration.
    • Affiliate-
      • Manage E-mail – Then, enter the Affiliates email address.
      • user notification by admin email template – Then, select the email template that will be used when the seller sends any notification to the user.
    • E-mail campaign template – After that, select the template for the email campaign.
    • Manager email template – Then, select the email template for notifying the admin when affiliate sales order approve
    • Payment credit notification email template – Now, select the email template for notifying the affiliate when the affiliate user payment is credited into his bank.
    • Affiliate user email template on order approve – Finally, select the email template for notifying the affiliate of sales order completed notification.

    Payment Information :

    Here, the admin will –

    Sandbox – Select the mode as Sandbox(testing) or not.

    Assign Payment Methods – Select the payment methods that will be available to the affiliates from the listed payment methods.

    Manage Affiliate General Commission Rate :

    Here the admin can configure below points :

    Pay Per Click – Can configure payment amount per click.

    Per Unique Click – Can configure the payment for every unique click.

    Set Commission Type For Sale – Can configure the commission type for the sale whether it is Fixed or Percentage.

    Set Commission – Can set the commission as per the requirement. 

    Affiliate Program Terms :

    Now, the admin will set the Affiliate program terms, and that needs to be accepted before a user can register himself as an affiliate.

    Category Commission

    For a particular category, the admin can add the affiliate commission type (Fixed or Percent) as shown in the image below.

    Storefront Functionality Affiliate System

    So, already registered customers can directly login via the sign-in option available at the front-end. 

    Therefore the customer login into their account, they can see the “Become Affiliate User” link under his account menu as shown below in the snapshot.

    For clicking on the “Become Affiliate User” affiliate will have to enter his Blog URL (Where affiliate wants to post the ads and banners). And then will agree to the terms & conditions and click save to save his blog link as shown below. Now, after clicking the Save button above. The affiliate will be able to see his complete affiliate account menu and the success message in the case of auto-approval. Else, the admin needs to approve the affiliate manually. Check the below-given screenshot for more details.

    Affiliate Registration :

    Hence for new customers, there is an Affiliate Registration link in the footer block. A user can register themselves as shown below in the screenshot.

    Thus, clicking the Affiliate Registration link, the affiliate registration page will open up as shown below in the screenshot.

    By clicking the Affiliate Terms, a user can view the affiliate terms as well. The terms will appear inside a popup as shown below.

    Forthwith, the affiliate will be able to see his complete affiliate account menu in my account as below image.

    Summary :

    All details for the affiliate are shown in at the Summary Page as shown below in the screenshot.

    Banners & Ads :

    Now, the affiliate can add banners & ads under My Account > Banners & Ads menu item. Here affiliate can check his Product Ads and Banners/Text Ad. Now, the affiliate can copy the Html code from here and paste it in the website where he wants to put it.

    Product Ads :


    A preview can be displayed as below image by clicking Preview.

    Momentarily, you can see the advertisement site snapshots with the banner as shown below.

    Banners/Text Ad :

    Click on Preview to check the preview of the banner. 

    On front-end at affiliate’s website it will be displayed as below image :

    When a user clicks on banner or purchases the products then the affiliate user gets a reward.  Affiliate user gets reward for the referred click based on the pre-decided commission rate.

    The customer gets the commission only when the order is completed and the admin approved that affiliate status.

    E-mail Campaign :

    An affiliate user can send emails to multiple users. As an e-mail campaign.

    Traffic : 

    Also, the affiliate user can check all the traffic details under the Traffic section of the account.

    Sales :

    Sales of an affiliate can be viewed in the Sales section.

    Payment Records :

    Even the affiliates can check their payment records by clicking the “Payment Records” tab as shown below in the snapshot.

    Statistics :

    Moreover, the affiliates can see Statistics for traffic in his account as shown below in the screenshot.


    Payment Preference :

    For making payment or transactions for admin, the affiliate user needs to set the payment method. Affiliate users can set it from his “Payment Preference” tab under his account. Check the below-given screenshot for more details.

    Here the seller can select any one payment method from the admin allowed payment methods – Check/Money Order, Bank Transfer Payment, and PayPal Standard Payment.

     The affiliate can opt for any of the options. Below we have selected Banks Transfer Payment :

    If Affiliate Payment is done by the admin, then the affiliate user can check the transaction history from his payment grid in his account panel.

    Admin Management

    Admin will be able to create Text Banners/Ads for the affiliates –

    To add the text banner admin will navigate through Affiliate ->Affiliate Banner->Banner/Text Ad as per the below screenshots.


    After clicking the “Banner/Text Ad” menu item, a page with an option to add the new text banner appears as per the below screenshot.

    Banner/Text Ad :

    Here, by clicking the “Add New Banner” button a page to create the text banner appears. Here the admin will enter the Banner Title, Content, Link, and the Size of the banner as shown below.

    The added banner will be displayed as below image in the Affiliate Banner List :

    Moreover, admin can also see the preview of the banner by clicking the “Preview” as shown below in the screenshot.

    Manage Affiliate :

    At the backend, admin can manage the affiliate user – Approve/Reject as shown in the below snapshots under Affiliate > Affiliate Manage > Manage Affiliate.

    Thus, the admin will pay the commission amount of the affiliate user by clicking the “Pay To Affiliate” button as shown below.

    By clicking on the Pay To Affiliate a pop-up appears to enter the transaction details as per the selected payment method by the affiliate. 

    So, when the transaction is done then admin can see the transaction history for that affiliated user. Admin can check transaction history from the payment record list.

    Email Affiliate :

    Admin can send emails to the affiliate users as shown below by navigating to Affiliate > Affiliate Manage > Email Affiliate.

    Payment Records :

    The admin can navigate through the path Affiliate-> Statistics-> Payment Records like in the below snapshot.

    Traffic :

    Even, the admin can see the Traffic Record list from the admin panel. So, navigate through Affiliate->Statistics->Traffic as shown below in the snapshots.

    Sales :

    Now, the admin can see the Sales Record list from the admin panel by navigating through Affiliate->Statistics->Sales. Here the admin can approve an affiliate Sales Record Status after which the affiliate user gets the commission for that order.

    Moreover, check the below-given screenshot for more details.

    Statistics Graph :

    Moreover, the admin can see Statistics Graph showing the Traffic Graph Monthly. Additionally, the Traffic Graph Daily under the Statistics Graph section as per the below snapshot.

    Also, the admin will be able to see the payment preference method that has been selected by every individual affiliate.

    Thus, navigate through Customers >All Customers> and clicking the edit button as shown below in the snapshot.

    Affiliate Information :

    After this, the admin will go to the menu option Affiliate Detail to individually change the commission type or amount of commission.

    Pay Per Click and Pay Per Unique Click amount values. Thus, enable or disable the affiliate for each individual affiliate user. 

    Forthwith, the admin can also see the affiliate payment preference details. That is, what the payment method has been selected by each individual affiliate user as shown below in the snapshot.

    So, that’s all for the Magento 2 Affiliate System.

    If you still have any issues feel free to add a ticket.

    Also, let us know your views to make the module better at

    Current Product Version - 3.0.0

    Supported Framework Version - 2.0.x , 2.1.x , 2.2.x , 2.3.x

    . . .

    Comment (1)

    Add Your Comment

  • Pratik Shah, Brush Your Ideas
    The main advantage of Magento 2 is the official communications – are a faster time to market & easier site maintenance, better scalability & improved conversions.
  • Back to Top
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again

    Table of Content

    Hide Index