1. Documentation /
  2. Affiliate For WooCommerce

Affiliate For WooCommerce

Affiliate For WooCommerce helps add and manage affiliates and track performance from a single place – commissions, sales, payout, leaderboard, etc. Earn money without hard work. Increase your brand outreach, and get potential customers.


↑ Back to top
  1. Download the .zip file from your WooCommerce account.
  2. Go to: WordPress Admin > Plugins > Add New to upload the file you downloaded.
  3. Activate the extension.

More information at: Installing and Managing Plugins.

Enable plugin updates

↑ Back to top

Please follow the steps listed here to enable plugin updates for Affiliate For WooCommerce.

Setup and Configuration

↑ Back to top

Upon activating Affiliate for WooCommerce, you will see a welcome page. It explains how to use the plugin.

Settings for Affiliate For WooCommerce

↑ Back to top

Find in detail here.

Make a user as an affiliate

↑ Back to top

There are three ways in which you can make a user as an affiliate:

By individual user

↑ Back to top

You can make a user as an affiliate from All users > edit user. Check ‘Is Affiliate?’ and click on ‘update user’.

By user role

↑ Back to top

You can make users from a particular user role as affiliates. Go to WooCommerce > Settings > Affiliate > Affiliate Users Roles. Select the user role and save settings to make them as an affiliate.

By registration form

↑ Back to top

You can use a shortcode [afwc_registration_form] on any page or post on your site. This will show the registration form to visitors on your site and they can request to join your affiliate program.
Read more: Create an affiliate registration form to let users sign up for your affiliate program

Tracking for affiliates

↑ Back to top

Each affiliated user will see a new tab named Affiliate under their My Account (Read FAQ 1 for more information).

a. Reports

↑ Back to top

It will show data on how much traffic and referrals an affiliate has sent along with a few KPIs (Read FAQ 2 for more information).

Reports for affiliate in their account
Affiliate Reports
  • Total Commissions: It will show how much amount is paid and unpaid to an affiliate.
  • Gross Commission: Total revenue earned by affiliates along with the number of orders.
  • Refunds: Total amount refunded from the affiliate’s referrals along with a number of orders.
  • Net Commission: Total revenue affiliate is eligible for payout along with the number of orders less any amounts for discounts, refunds, reversals, payment processing fees, and Taxes.
  • Sales: Total revenue earned by the store from affiliate referrals.
  • Clicks: Number of hits affiliate’s referrals have sent.
  • Conversion: Conversion rate for the affiliate.
  • Products: This will show the top products purchased with quantity and how much was earned for that product purchased via an affiliate’s referral link.
  • Referrals: This will show how much commission an affiliate has earned on each successful referral. It will show the date of a referral order, the referral customer’s name, referral commission, and payout status i.e. if the payout is accepted, rejected, or unpaid.
  • Payout History: This will show the payout done against your referrals.

Remove customer information

By default, ‘Referrals‘ show the name of the customer using which affiliate got a sale. The same information goes in the ‘New Conversion Received’ email to an affiliate. If you want to remove this information due to privacy concerns, then firstly, make sure you are using the latest version of the plugin. Then add the following custom code on your site (in either functions.php or a custom code plugin on your site. Read this to know more):

add_filter( 'afwc_account_show_customer_column', 'is_show_customer_name' );
function is_show_customer_name() {
    return false;

b. Profile

↑ Back to top

Here affiliate users will find all information about their affiliate i.e. affiliate id, affiliate link, coupons (Read FAQ 3 for more information), and enter their PayPal email address for payouts.

Profile of affiliate user
Profile of affiliate user

Referral URL generator

Affiliate users can also generate a custom affiliate link using the ‘Referral URL Generator’.

The affiliate just needs to enter the path of the page to generate a custom referral link and share it with their audience.

c. Campaigns

↑ Back to top

Once your marketing campaigns are created and active, your affiliates will find the generated campaigns here.

Clicking on a campaign will show all the details of the campaign along with the marketing material – images, banners, swipe files, etc. added within the campaign.

Affiliates can use these materials and promote your brand/products.

Learn more on setup and usage from here – How to create affiliate marketing campaigns

Tracking for store admin

↑ Back to top

Store admin can see a detailed overview of each affiliate’s activity.

Admin Dashboard to view all Affiliate activity
Admin Affiliate Dashboard

How affiliate commission is calculated for an order?

↑ Back to top

Affiliate for WooCommerce plugin automatically marks commission status for various orders based on the order status. Here’s how the commission statuses are calculated/marked for orders:

  • For paid WooCommerce order statuses (Processing, Completed), the commission status will be marked as ‘Unpaid’. The store admin needs to later review them and mark them as ‘Paid’ after paying to the affiliates.
  • For rejected WooCommerce order statuses (Refunded, Cancelled, Failed), the commission status will be marked as ‘Rejected’.
  • But for those orders wherein the order is placed but payment is not received yet (Pending, On Hold), the commission status will be marked as ‘Draft’.

Orders with commission status as ‘Draft’ will not be considered while calculating KPIs.

Customize affiliate referral link

↑ Back to top

How to customize affiliate referral link

Create and assign coupons to affiliates

↑ Back to top

How to create and assign coupons to affiliates

Create and assign tags to affiliates

↑ Back to top

How to create and assign affiliate tags

Commission plans

↑ Back to top
  1. How to create affiliate commission plans
  2. How to set different affiliate commission rates for affiliates
  3. How to set different affiliate commission rates for product or product category

Set up a multilevel/multi-tier affiliate program

↑ Back to top

How to set up a multilevel referral/multi-tier affiliate program

Lifetime commissions

↑ Back to top

How to set up lifetime commissions

Assign/unassign an order to an affiliate

↑ Back to top

How to assign/unassign an order to an affiliate

Commission payout

↑ Back to top

How to payout commissions to affiliates and check all the processed payouts

Export affiliate data to CSV

↑ Back to top

How to export affiliate data to CSV

Search affiliates by filters

↑ Back to top

How to search affiliates based on affiliate’s status, commission status, tags, and date filters

Customizing Affiliate For WooCommerce

↑ Back to top

How to override the templates


↑ Back to top

1. Where can an affiliate login?

↑ Back to top

WooCommerce creates my account page for logged-in users/affiliates which gives an overview of their past orders, edit addresses, and payment details. You can read more about it here. So an affiliate can log in to their account from WooCommerce’s My Account page.

2. Where can an affiliate get their statistics from?

↑ Back to top

An affiliate can get their statistics from WooCommerce’s My Account page > Affiliate > Reports. Check FAQ 1 on how affiliates can login to their account.

3. Where can an affiliate find their affiliate link/coupon?

↑ Back to top

An affiliate can find their affiliate link/coupon under WooCommerce’s My Account page > Affiliate > Profile. Check FAQ 1 on how affiliates can login to their account.

4. When customers click on multiple affiliate links to make a purchase, which affiliate will receive the commission?

↑ Back to top

It depends on the setting ‘Credit first/last affiliate’ explained here.

5. How are referrals tracked?

↑ Back to top

Referrals are tracked via cookies.

6. Where can the store admin set cookie expiration to identify referrals?

↑ Back to top

A setting “Cookie Expiration” is provided under WooCommerce > Settings > Affiliate. Here the store admin can set the number of days for the cookie expiration.

7. I’m using this plugin. What information I should write in my privacy policy to comply with GDPR?

↑ Back to top

Go to your WordPress admin > Settings > Privacy. There you will see an ‘Edit’ link. Click on it and it will take you to the edit privacy policy page. Once you open the privacy policy page for editing, you will see a notification on top with a link to the default WordPress privacy policy page guide. Click on that link. Here you will find the content to write in your privacy policy under the section => Source: Affiliate For WooCommerce

8. How is the affiliate commission calculated for an order?

↑ Back to top

The affiliate commission is calculated on the order’s subtotal. It excludes any taxes (fees), shipping costs, and discounts from coupons.

9. Does shipping and taxes consider while calculating commission?

↑ Back to top

No, affiliate commission calculation doesn’t consider shipping costs and tax (fees).
For example, let’s consider the order total is $55. In it, taxes+shipping sum up to $5, and the order subtotal is $50. Then the commission will be calculated on $50 (i.e. order subtotal) and not on $55.

10. Where can the store admin find an affiliate link for an affiliate?

↑ Back to top

Store admin can see any affiliate’s ‘affiliate link’ under their name in the Affiliate For WooCommerce dashboard. Additionally, go to Users > All Users. Locate the user and click on edit. You will see their affiliate link on their profile page.

11. Can affiliates earn a commission on their purchase?

↑ Back to top

Store admin can control whether an affiliate can earn a commission on their purchase or not. Refer to the setting ‘Affiliate self-refer’ to enable or disable this. Learn more about it from here (setting 11).

12. I can’t find the transaction id of the commission payout done via PayPal.

↑ Back to top

The transaction id should be visible under WooCommerce > Affiliate > Select an affiliate from left panel > Payout tab > Note. If it’s not appearing, make sure that PayPal IPN is configured correctly.

13. Is this plugin compatible with WooCommerce Subscriptions?

↑ Back to top


14. Using WooCommerce Subscriptions, can I control whether to pay a recurring commission or a one-time commission?

↑ Back to top

Yes, you can. Go to WordPress admin > WooCommerce > Settings > Affiliate. If you want to allow commission on each renewal, then enable ‘Issue recurring commission?’ and click on save changes. This will issue the affiliate commission on each renewal.

Leave it disabled to issue commission-only during sign-up.

15. Using WooCommerce Subscriptions, is affiliate commission calculated on a product sign-up fee?

↑ Back to top

No. As of now, the commission is calculated only from the product’s recurring/subscription price.

You can submit a feature request from here to consider the sign-up fee as well.

16. How to automatically apply a discount to the user when they visit with an affiliate referral URL?

↑ Back to top

You can use another plugin – Smart Coupons – which will allow you to apply the coupon via URL. Here is a doc that explains how to apply discount coupons via URL. You can append the affiliate’s referral param in it to track the affiliate and apply a discount for the user.

This is the affiliate link:


And this is the shareable coupon link from Smart Coupons:


Then this will be your final link:


Feature request

↑ Back to top

Have a feature request or enhancement suggestion for Affiliate For WooCommerce? Submit it from here: Submit a feature request

Questions and Support

↑ Back to top

Have a question before you buy it? Please fill out this pre-sales form.

Already purchased and need some assistance? Get in touch with the developer.

  • 30-day money-back guarantee
  • Support teams across the world
  • Safe and secure online payment