6 min readLoyalty & Affiliate Programs

In short: A referral program gets your customers to bring in new buyers for you. Each customer gets a personal link and a coupon code, and earns a commission on every order placed through their referral. WooCommerce can’t do this on its own – it doesn’t assign orders to referrers or calculate commissions. Below we explain how a referral program should work, how much to pay per referral, what to watch out for and how to set one up.

Why referrals beat advertising

A recommendation from a friend is trusted far more than any ad. A buyer who comes through a referral already knows your shop from someone else’s experience, converts more often and abandons fewer carts. For you, that means:

  • you only pay for results – a commission is due on a paid order, not on a click or an impression,
  • customers become ambassadors – instead of a one-off purchase you get someone with a reason to keep recommending you,
  • predictable acquisition cost – you know in advance what percentage you give away for a referred sale.

How a referral program works in an online shop

The mechanism is simple, but it has to run automatically:

  1. The customer joins the program and gets a referral link and a coupon code.
  2. They share the link or code – with friends, on social media, in groups or on a blog.
  3. A new buyer arrives through the link – the shop remembers the referrer for a set time (the cookie lifetime, e.g. 30 days).
  4. The order is paid and completed – the referrer earns a commission, e.g. 10% of the net order value.
  5. The referrer sees their results – sales and commissions – and can request a payout.

Link or coupon code?

Referral link Referrer’s coupon code
How it works The shop remembers whose link the customer used The customer enters the code at checkout
Advantage No extra step for the buyer Works for word-of-mouth and Stories too
Buyer incentive Optional Usually a discount, e.g. 10%
Risk The cookie can expire The code can end up on coupon sites

Using both works best – some people prefer sending a link, others sharing a code.

How much should you pay per referral?

There’s no single rate for every niche. Start from your margin and what customers cost you through other channels. A few rules:

  • calculate commission on the net value – after discounts, excluding tax and shipping, so you don’t pay commission on VAT and delivery,
  • make it worth it – 2% of a €25 order motivates no one,
  • leave room for returns – the commission should wait until the return period ends before it can be paid out.

If you want customers not only to refer buyers but also to invite more referrers, you can pay commission on several levels. See how to launch a multi-level affiliate program in WooCommerce.

The referrer’s dashboard

A referral program quickly generates questions: “where’s my link?”, “how much have I earned?”, “when do I get paid?”. To avoid answering them by email, referrers should have, in their shop account:

  • their link – ideally with a builder for links to a specific category or product,
  • their coupon code,
  • ready-made materials – banners and graphics for Stories and posts,
  • a list of their sales and commissions,
  • a payout request button.

How to set up a referral program in WooCommerce

WooCommerce doesn’t assign orders to referrers, so you need a plugin. We’ll show it with Affiliates Tree, an affiliate program for WooCommerce, where every registered customer can become a partner.

Step 1: a sign-up page

Create a page such as “Join our referral program” and add the partner registration form. The customer creates an account and immediately gets a link and a code. New partners receive a welcome email.

Referral program sign-up form in a WooCommerce shop
The “Join the program” page: the customer creates a partner account and gets their link and code straight away.

Step 2: commission rate and link lifetime

In wpAsist → Affiliates Tree → Settings set the commission for a partner’s own sales (e.g. 10%), the cookie lifetime (e.g. 30 days), the minimum payout amount and how long commissions wait for the return period to end.

Step 3: the partner dashboard in My Account

Partners go to My Account → Affiliates Program. There they find a link builder (shop, category, brand, tag or product), their code, banners, their sales, their team and withdrawals.

Referral link builder in a WooCommerce partner account
Partner dashboard in My Account: a link builder for the shop, a category, brand or product.

Step 4: test with one order

Copy a partner’s link, open it in a private window, create an account and place an order. Once the order status changes to Completed, the commission shows up for the partner.

What to watch out for

Frequently asked questions

Does WooCommerce have a built-in referral program?

No. WooCommerce has coupons, but it doesn’t assign orders to referrers or calculate commissions. You need an affiliate program plugin.

Can any customer become a referrer?

Yes, if your program allows it. In Affiliates Tree every registered customer joins the structure and can refer others.

What amount should commission be based on?

The safest base is the net order value – after discounts, excluding tax and shipping.

What if a referred customer returns the product?

Commission on a refunded or cancelled order shouldn’t be paid. That’s why it should wait until the return period ends.

How long does the shop remember the referrer?

As long as the cookie lifetime you set – often 30 days. A purchase after that, without the link or code, earns no commission.

Affiliates Tree – Multi-Level Affiliate Program for WooCommerce
A customer referral program, commissions across many levels, refund protection, payouts and a partner dashboard in My Account – no coding needed. Try it free for 7 days.

Read next

← All posts

Leave a comment

A question or your own experience? Write it here – we reply personally. Your e-mail address will not be published; your comment appears after approval.

Custom features

Missing a feature? We will build it for your store

Every one of our plugins started with a real store’s need. Tell us what you need – we will adapt an existing plugin or build a new feature, compatible with WooCommerce, HPOS and WPML.

Custom WooCommerce functionality

Partner program

Recommend the plugins you use and earn 20%

Every wpAsist customer gets their own link and discount code. We pay 20% on every sale from your recommendation and another 20% every time that customer renews. Building stores for clients? The developer program pays 33%.

More about the partner program
Przemek Szczęch – developer of wpAsist plugins

Hi, I’m Przemek

I started out in 2009 with affiliate programs, and a year later I made it onto GVO’s list of top-selling partners worldwide. Since 2014 I have been building stores and websites for clients: setting up analytics, improving conversions, connecting systems, driving traffic with SEO and Ads, and turning the numbers into a clear picture of what really sells.

Since 2019 I have been writing my own WooCommerce plugins for the needs of real stores. Missing a feature? Get in touch – my best plugins started with a client’s question.

E-mail: help@wpasist.eu