1. Home
  2. Docs
  3. Others
  4. AffiliateWP Sub Affiliates

AffiliateWP Sub Affiliates

Incentivize your affiliates to recruit sub-affiliates of their own and create a thriving network of marketers, each working to promote your offerings.

The AffiliateWP Sub Affiliates add-on allows users to become sub-affiliates by registering on your site using a referral link. Sub Affiliates can then generate their own unique referral links for products and on every sale, generate a profit for their corresponding main Affiliate, while also generating their own commissions.

An Affiliate (parent) can have multiple sub-affiliates (child), but sub-affiliates (child) can only have one affiliate (parent).

Video Tutorial

Watch the tutorial video below for a quick walkthrough of the add-on’s features and setup process.


For detailed instructions, please continue reading the full documentation. If you still have any questions, feel free to submit a support ticket.

Installation

  • Install and activate the AffiliateWP plugin.
  • Install and activate the AffiliateWP Sub Affiliates.
  • There will be a sub-menu labeled Sub Affiliates under the AffiliateWP menu on the WP Dashboard.
AffiliateWP Sub Affiliates – Main Menu

License Option

The license key can be added here. Place your license key in the field and click on Activate. License keys can be found in the email received when you purchased the addon.

AffiliateWP Sub Affiliates – License Configuration

General Settings

AffiliateWP Sub Affiliates – General Settings

Compensation Plan

Here you can choose the compensation plan for your sub-affiliate website network. If the “Unilevel” option is selected, the affiliates joining (Child Affiliates) will all be added right below the parent affiliate in the sub-affiliate network (whose affiliate link is used to join). If the “Forced Matrix” option is selected, then you need to define the “Width” and “Depth” options.

Width

Here, you can define the maximum number of direct affiliates each affiliate can have in the forced matrix structure. For example, if it is set to 2, then the parent affiliate can only have 2 direct child affiliates.

Depth

Here, you can define the maximum depth of the forced matrix structure (Levels).Note: If all the depths of the respective affiliate are filled with child affiliates (full) and a new affiliate registers with the respective parent affiliate’s Network Link, then the new affiliate will not be linked to the parent affiliate because all the available slots are already full.

Parent Commission From Direct Referral

Here, you can choose whether the affiliate parents will receive commissions based on the direct referral commissions. Enable this toggle to deduct sub-affiliates commissions from the immediate Parent.

Parent Referral Rate Type

Here, you can choose the referral rate type for the Parent or main affiliate. Referrals can be based on either a percentage or a flat rate amount.

Flat Rate Referral Basis

In this field, you can set the basis on which the flat rate commission will be awarded. Commission can be selected based on Per product sale or Per order.

Parent Referral Rate

Here you can set the Parent Referral Rate which could be in percentage or a flat rate.

Parent Referral Rate Level (1-10)

Here you can set the Parent Referral Rate based on level 1 to level 10.

AffiliateWP Sub Affiliates – Parent Referral Rate Level

Note: The Total parent referral rate of all levels combined should be less than 100%; otherwise, you will get an error.

AffiliateWP Sub Affiliates – Notification

Sub Affiliate list Front End

Enabling this toggle will show the Sub Affiliate tab on the frontend affiliate area. This allows you to display a list of all sub-affiliates of an Affiliate.

AffiliateWP Sub Affiliates – Sub Affiliate

Parent Referral list in Front End

Enabling this toggle will show the Parent Referral tab on the frontend affiliate area. This allows you to display a list of all of the commissions that an Affiliate (Parent) earns.

AffiliateWP Sub Affiliates – Parent Referral

Sub Affiliate Network Front End

If enabled, the Sub Affiliate Network tab will appear in the affiliate area. Here, the respective affiliate can see their network link and share it to further register their own subaffiliates (child affiliates) on the website. Also, below the network link, the affiliate will be able to view a hierarchical display of the subaffiliates below him. When any respective user’s section is hovered, their respective information will become visible, which will include the following:

  1. Visits
  2. Total Referrals (paid, unpaid)
  3. Conversion Rate
  4. Total Earnings (paid, unpaid)

When an affiliate is deleted from “AffiliateWP>Affiliates” sub-menu:

The respective affiliate’s section will be removed, and the Child-level subaffiliates will move to the upper level of the deleted parent affiliate in the affiliate network.

When the affiliate is deleted from the WordPress “Users” sub-menu, in this case, the respective affiliate’s section will not be removed, and Child-level links are maintained in the network.

Suppose Affiliate A has a child, Affiliate B, Affiliate B has a child, Affiliate C, Affiliate C has a child, Affiliate D, and Affiliate C has a child, Affiliate D (A→B→C→D→E). If Affiliate C is deleted from the WordPress “Users” sub-menu, in this case, when a customer buys a product from Affiliate E’s affiliate link, then Parent referrals will only be awarded to Affiliate D and will not go all the way to Affiliate A and Affiliate B, who are above the level of the deleted Affiliate C.

AffiliateWP Sub Affiliates – Sub Affiliate Network (I)
AffiliateWP Sub Affiliates – Sub Affiliate Network (II)

Referral Action

If you want to apply the same payment status for both Parent and Child in a single click, then enable this toggle. Applying any action on any one (Parent/ Child) will automatically be implemented on the 2nd one (Child/ Parent).

AffiliateWP Sub Affiliates – Referral Action

If enabled, you can unlink a parent affiliate in the Add Sub Affiliates tab.

AffiliateWP Sub Affiliates – Allow Parent Unlink

Debug Logs

Enable this toggle to create and show activity and debug logs. After enabling this option, 3 more tabs will show in the addon menu bar, namely “Activity Logs”, “Debug Logs”, and “System Information”.

AffiliateWP Sub Affiliates – Activity Log
AffiliateWP Sub Affiliates – Debug Log
AffiliateWP Sub Affiliates – System Information

Add Sub Affiliates

This tab allows you to add sub-affiliates (child affiliates) to parent affiliates and shows the list of all of the sub-affiliates (child) along with their data, such as the Parent User Name. It also includes a button to unlink them.

AffiliateWP Sub Affiliates – Add Sub Affiliates

To add sub-affiliates, select the parent affiliate from the dropdown and choose the specific sub-affiliate(s). Then, click the Add Sub Affiliate + button.

To unlink sub-affiliates from the parent, click the Unlink button. A confirmation pop-up will appear; click the Ok button to proceed.

Import / Export Sub Affiliates

This tab allows you to manage the import and export of sub-affiliate data.

Export: Click the “Export Sub Affiliates” button to download the current sub-affiliates data.

Import: Click the “Choose File” button to select your CSV file, then click the “Import” button to upload the sub-affiliates data.

AffiliateWP Sub Affiliates – Import Export

Here is a screenshot of the exported CSV file:

AffiliateWP Sub Affiliates – Exported Sub Affiliates

Flow of AffiliateWP Sub Affiliates

  1. A User will visit the site and then register themselves as an Affiliate.
  2. This Affiliate user (Parent) will generate its Referral link from the Affiliate URLs tab. 
AffiliateWP Sub Affiliates – Affiliate URLs
  1. The affiliate user will then promote/ share their links on different platforms.
  2. Any person who clicks on this link of the Affiliate user will land on the site.
  3. Now this person decides to join the affiliate program and register himself as an affiliate.
  4. This new person will become the SubAffiliate (Child), and their Parent will be the Affiliate.
  5. Now, when this SubAffiliate sells any product through his referral link, both the main Affiliate and SubAffiliate will earn a commission.

Note: Affiliates and Sub Affiliates will have their individual profits. Sub-Affiliates profit will be set from the AffiliateWP > Settings, while the Affiliates profit will be set from Sub Affiliates > General Settings.


FAQ‘s

1. Is there any hierarchy/ tree available to understand the parent-child relationship?

On the backend, you can check the child details from the Add Sub Affiliates tab, while on the frontend, the Sub Affiliate tab will show the details.

2. Can a Parent (main affiliate) have multiple children (Sub-Affiliates)?

Yes, an Affiliate can have multiple Sub-affiliates. There is no limitation on sub-affiliates.

3. From where can we set the Affiliate (parent) commission?

The Affiliate commission can only be set from the General Settings tab. Commission can be selected based on Per product sale or Per order. Also, the parent affiliate’s commission can only be set up to 10 levels.

4. Is it possible that sub-affiliate profit can be compromised, i.e., will the Affiliate Commission be deducted from SubAffiliate Profit?

No, both Affiliate and SubAffiliate have their individual Profit. Sub-Affiliates profit will be set from the AffiliateWP > Settings, while the Affiliates profit will be set from Sub Affiliates > General Settings.

5. How many sub-affiliate levels can we create other than the parent and sub-affiliate?

The AffiliateWP Sub-Affiliate addon does not impose any limitations on the number of sub-affiliates you can have. A parent affiliate can have multiple sub affiliates, and these sub affiliates can, in turn, become parents to their own sub affiliates, creating a multi-level affiliate structure. It’s important to note that profit sharing is specifically between the affiliate parent(s) (Up to 10 levels) and their immediate sub-affiliates.

Our addon now supports a Forced Matrix Multilevel structure where the parent affiliate earns from multiple levels beyond the immediate sub-affiliate level, i.e., the parent affiliate earns profit from their direct sub-affiliates (Level 1) up to sub-affiliates (Level 10), but they do not receive profit from the sub-affiliates of their sub-affiliates (Level 11 and beyond).

6. How will the commission be distributed if the ‘Parent Referral Rate’ is set to 3 levels, but a product is purchased through the referral link of a 5th-level sub-affiliate?

The immediate parent will receive the main commission (as set in the AffiliateWP Settings). Subsequently, with the ‘Parent Referral Rate’ configured for 3 levels in our AffiliateWP Sub Affiliate addon, commissions will be distributed from the top. The first 3 affiliates will receive the designated commission, and consequently, the Level 4 sub-affiliate will not receive any amount.


Changelogs

2.0.1

  • Fix: Fixed some security vulnerabilities issues.

2.0.0

  • New: Added compensation plan settings with support for Unilevel and Forced Matrix, including configurable matrix width and depth.
  • New: Added a Sub Affiliate Network tab in the affiliate area with an interactive network view, including zoom and pan controls.
  • New: Added referral link copy functionality to help affiliates recruit new members more easily.
  • Fix: Improved network integrity when affiliates are deleted or unlinked, including shadow-children recovery and meta cleanup.

1.1.6

  • Fix: Fixed minor UI issues.

1.1.5

  • Fix: Addressed security vulnerabilities and improved overall plugin security.

1.1.4

  • Fix: Security issues.

1.1.3

  • Fix: Fixed minor issues.

1.1.2

  • Fix – Check if sub-affiliate already exits before adding.
  • Fix – Add Sub-Affiliates in case of undeleted meta.
  • New – Option to Unlink Parent Affiliates.

1.1.1

  • New – Compatible with AffiliateWP Portal addon.
  • New – Added Sub Affiliate and Parent Referrals menu in AffiliateWP Portal dashboard.

1.1.0

  • New – Manually add sub affiliates.
  • New – Added Levels of sub affiliates.
  • New – 10 Levels of sub affiliate commissions.
  • New – Different commission for different levels.
  • New – Import and Export Sub Affiliates.
  • Fix – Activity and Debug log UI.

1.0.2

  • New – Added debug log.

1.0.1

  • Removed bootstrap from front end.
  • Minor fixes.

1.0.0

  • Initial Release.

How can we help?