Black FridayUp to 60% off every plan – All 48 Pro add-ons included in Full Package

How to Create a WooCommerce Referral Program (Refer-a-Friend Guide)

A step-by-step guide to a WooCommerce refer-a-friend program with Ultimate Affiliate Pro: reward design, auto-enrolling customers, links and coupons in My Account, store credit and abuse controls.

To create a WooCommerce referral program, you turn existing customers into referrers, give each one a personal link and coupon, and reward them with store credit or cash when a friend buys. Ultimate Affiliate Pro does all of this inside your WooCommerce store: it enrolls customers automatically, adds a referral tab to My Account, tracks links and coupons, and converts earned rewards into single-use store coupons.

Refer-a-friend program vs affiliate program in WooCommerce

Both pay for bringing a buyer. A refer-a-friend program rewards customers who tell friends and family. An affiliate program pays marketers, creators and partners who promote you to an audience.

Refer-a-friend (customer referral program)Affiliate program
Who refersExisting customersBloggers, creators, agencies, partners
How they joinAutomatically, or with one click from My AccountApplication form, often with manual approval
Typical rewardStore credit or a discount, sometimes cashCash commission paid by PayPal, Stripe or bank transfer
Friend’s incentiveUsually a discount on the first order (two-sided)Optional, often a coupon code
Main riskSelf-referrals and coupon sharing on deal sitesCookie stuffing, brand bidding, fake signups

You do not need two plugins to run both. In Ultimate Affiliate Pro, a customer-referrer is an affiliate account with its own rank, so you can give customers one reward rate and professional partners another. If you want a broader look at the tools available, see the comparison of the best WooCommerce referral plugins. For a partner-focused program, follow the WooCommerce affiliate program setup guide instead.

Design the reward before you change any setting

The reward must be big enough that a customer bothers to share, and small enough that a referred first order is still profitable. Decide who gets rewarded, and in what form.

Reward designHow it worksBest forWatch out for
One-sided, store creditOnly the referrer earns, as credit to spend in your storeStores with frequent repeat purchases and healthy marginsLower motivation to share, because the friend gets nothing
One-sided, cashOnly the referrer earns, paid out like an affiliate commissionHigher-priced products, B2B buyers, power users who refer oftenPayout fees and admin time on many small amounts
Two-sided, credit plus discountReferrer earns credit, the friend gets a discount on the first orderMost consumer stores; the classic “give and get” offerBoth rewards come out of the same first-order margin
Two-sided, cash plus discountReferrer earns cash, the friend gets a discountStores whose customers are also creators or resellersHighest cost per referred customer; needs fraud controls

Store credit costs you less than its face value, because you pay it in products at your own cost, and it brings the referrer back. Cash suits customers who refer often, but every payout takes admin time. You can offer both: Ultimate Affiliate Pro lets the customer choose between converting earnings into store credit or waiting for a regular payout.

Worked example: what one referred order costs (illustrative)

Illustrative numbers, not benchmarks: say your average first order is $80, the friend gets 10% off with the referrer’s coupon, and the referrer earns 10% of the order.

  • The friend pays $72 after the 10% coupon.
  • Ultimate Affiliate Pro calculates percentage commissions on the line total after the coupon discount, so the referrer earns 10% of $72 = $7.20, not $8.
  • Shipping and taxes are excluded from the calculation by default, so they do not inflate the reward.
  • Total incentive cost: $8 discount + $7.20 credit = $15.20 for a new customer.

One trap: a Flat Rate rank pays a fixed amount per product line, so a $10 flat reward on an order with three different products pays $30. For a “give $10, get $10” offer, test a multi-product order first, or use a percentage rate.

What you need before you start

  • WooCommerce installed, with coupons enabled.
  • Ultimate Affiliate Pro with an active license. Store Credit is on every plan. Mass Affiliate Conversion, Dynamic Coupons, Invite Your Friends and the WooCommerce discount add-ons are listed on the Full Package and Agency plans; check the current list on the pricing page.
  • An Affiliate Portal page, which the plugin uses for links in emails and for referrers who are not customers.
  • A short program terms page that states the reward, when it is earned and what is excluded. The affiliate agreement template is a good starting point; trim it down for customers.

How to set up a WooCommerce referral program with Ultimate Affiliate Pro

The steps follow the customer’s path: become a referrer, find the link, share it or a coupon, the friend buys at a discount, the referrer collects a reward.

Step 1: Connect WooCommerce and set the customer reward rate

Go to Ultimate Affiliate Pro › Integrations and check that the WooCommerce card shows Enabled. Referrals are saved as Pending when an order is placed, become Approved when the order is Completed, and are Rejected when the order is cancelled, failed or refunded.

Then open Ultimate Affiliate Pro › Ranks and create a rank for customers, for example “Customer referrer”, with Rate Type set to Percentage and your chosen Rate Value. Switch on Default Rank so every new referrer starts on it. If you also run a partner program, keep a separate, higher rank for partners and move them to it by hand. Rates can also differ by product or category, which helps when margins vary; see commission rules.

Step 2: Turn customers into referrers

Every customer needs a link before they can refer anyone. Ultimate Affiliate Pro offers three ways to turn customers into affiliates; most stores combine them:

  • New customers, automatically. In Ultimate Affiliate Pro › Settings › General Settings, Affiliate Registration card, switch on Auto-Enroll Users as Affiliates. Every account created after that, including accounts created at WooCommerce checkout or in My Account, gets an active affiliate account with the default rank. These accounts skip the approval set for the registration form.
  • Customers who opt in. Add the shortcode to a page. Logged-in customers who are not yet referrers see a one-click button; it applies the default rank and opens their portal.
  • Existing customers, in bulk. Auto-enroll does not touch accounts that existed before you turned it on. The Mass Affiliate Conversion add-on (Ultimate Affiliate Pro › Modules) converts every user in the roles you select, such as Customer, and skips users who are already affiliates. Back up your database first.

Converted users receive the “New Affiliate account Registered” email if it is enabled. Rewrite that email in Ultimate Affiliate Pro › Email Notifications before a bulk conversion, so customers read about a refer-a-friend reward, not a generic affiliate welcome. Full details are in the docs on turning customers into affiliates.

Step 3: Put the referral link in WooCommerce My Account

Customers look for account features in My Account. Open Ultimate Affiliate Pro › Modules › WooCommerce Account Page Integration and set:

  • Menu Label: rename “Affiliate” to something customers understand, such as “Refer a friend”.
  • Menu Position: a low number moves the tab up the My Account menu, where more customers notice it.
  • Show to Non-Affiliate Users: keep it on, and use Custom Content for Non-Affiliate Users to explain the reward next to the one-click join button.

Referrers then see the full portal at /my-account/uap/: their link, a shorter custom slug, QR codes they can download for print, their referrals and their balance. If the tab returns a 404, go to Settings › Permalinks and click Save Changes. The affiliate dashboard guide shows the other tabs you can show or hide.

Affiliate Links tab showing a customer's referral link, a shorter custom slug link and a downloadable QR code for each
What a customer sees under the referral tab: a default link, a custom slug link and a QR code for each.

Step 4: Give each customer a personal coupon code

Many friends never click a link. A personal coupon still works: when the friend enters it at checkout, the referrer gets the credit with no link or cookie involved. The coupon also takes priority over another affiliate’s cookie.

Static Coupons screen in Ultimate Affiliate Pro with WooCommerce coupon codes OLIVIA15 and MARCUS15 assigned to two customers
Static Coupons: each WooCommerce code belongs to one referrer, and every order that uses it is credited to them.

For a handful of codes, enable Static Coupons under Modules and assign existing WooCommerce coupons with Add new Coupon. For every customer, use the Dynamic Coupons add-on: pick a Coupon Template (a WooCommerce coupon whose discount and usage limits are copied), set a Coupon Format such as {username}-10, and new referrers get their own code when their account is created. Bulk Coupon Generation creates codes for referrers who already exist. Keep Static Coupons on, because that module adds the Coupons tab where customers see their code. The guide to affiliate coupon tracking in WordPress covers coupon rules in more depth.

Step 5: Give the referred friend a discount

A two-sided offer needs something for the friend. You have two options. The simplest is the coupon from Step 4: its discount is the friend’s reward. The second is the WooCommerce Product Discounts For Referred Buyers add-on, which shows special prices to buyers who arrive through a referral.

WooCommerce Discounts for Referred Buyers rule with a percentage discount value and targeting by affiliate rank and products
A referred-buyer discount rule: choose a percentage or flat value, then target ranks and products.

Each rule sets a Discount Amount (Percentage Value or Flat Value), the Ranks whose referrals qualify, the Products (all, selected categories or selected products) and an optional Date Range. Targeting by rank is useful: friends of your “Customer referrer” rank can get 10% off, while visitors sent by a partner rank get a different price or none.

Step 6: Pay rewards as store credit, cash or both

Go to Ultimate Affiliate Pro › Settings › Payout Settings, click Configure on Store Credit, switch on Activate/Hold Store Credit and set a Minimum Amount. A Store Credit tab appears in the portal. Once a customer’s approved, unpaid rewards reach the minimum, they select the referrals to convert and click Add On Wallet. The plugin creates a WooCommerce coupon for that amount (a fixed cart discount with a usage limit of 1), marks the referrals Paid and records a payment, so your payout reports stay complete. The store credit documentation has the full flow.

Rewards the customer does not convert stay available for a cash payout. You trigger cash payouts yourself from Payouts › Pay Affiliates, through PayPal, Stripe or bank transfer; there is no automatic payout schedule. The guide to paying affiliates in WordPress compares the methods, and the payout features page lists what each plan includes. Set the store credit minimum low and the cash minimum high, so cash goes only to people who refer often.

Step 7: Let customers invite friends by email

The Invite Your Friends add-on adds a tab where a referrer enters a friend’s name and email, and the plugin sends an invitation that carries the referrer’s tracking code. Set Limit Invitations Per User (5 by default) and edit the Invitation Template; always keep the {register_link} placeholder. The invitation links to your affiliate registration page, so it suits recruiting friends as referrers; for shopping invites, the link or coupon works better.

Step 8: Test the whole flow before you announce it

  1. Create a test customer account and confirm it appears under Ultimate Affiliate Pro › Affiliates with the default rank.
  2. Open My Account and check the referral tab, link, QR code and coupon.
  3. In a private window, open the link and place an order as a different customer. Then place a second order with the coupon only.
  4. Check Ultimate Affiliate Pro › Referrals for two Pending referrals with the right amounts, then mark one order Completed and confirm the referral turns Approved.
  5. Convert the approved reward to store credit, apply the coupon at checkout and refund a test order to confirm its referral is rejected.

Rules that keep a customer referral program from being abused

Customer programs attract self-referrals, codes posted on coupon sites and orders placed for the reward, then returned. Most of it is handled by defaults you should leave on.

  • Self-referrals earn nothing by default. An order placed through a customer’s own link or coupon creates no referral unless you enable Allow Self Referrals. WooCommerce still applies the coupon’s discount, so keep the template’s usage limit per user at 1.
  • Refunds cancel rewards. Refunded and cancelled orders reject the referral. A partial refund keeps the full referral amount, so lower it by hand under Referrals.
  • Hold rewards until your return window closes. Store credit can only be created from approved referrals. Turn on Keep Referral Status as Pending under Settings › Admin Workflow and approve referrals once returns are no longer possible. For cash, the Referral Grace Period Days setting (30 by default) keeps recent referrals out of payouts.
  • Pay once per friend if you want. Referral cookies last 360 days by default and the first referrer keeps the credit. If the reward is meant for the friend’s first order only, the One Time Reward add-on limits each referrer to one referral per customer.
  • Watch for leaked codes. A personal code that suddenly drives dozens of orders from strangers is probably on a deal site. Filter the Referrals list by that referrer, then change or disable the code.

If referrers post about your store publicly because of the reward, that reward is a material connection. The FTC’s Endorsement Guides FAQ explains when it must be disclosed; put a one-line reminder in your program terms. More controls are covered in the guide to affiliate fraud prevention.

How to measure your WooCommerce referral program

Check five numbers each month. They show whether the problem is awareness, the offer or the friend’s checkout.

MetricHow to calculate itWhere to find the dataIf it is low
Participation rateReferrers with at least one click ÷ all customer referrersClicks screen (search by username) and the Affiliates listCustomers do not know the program exists: promote it in order emails and on the thank-you page
Click-to-order conversionConverted clicks ÷ total clicksUltimate Affiliate Pro › Clicks (Conversion Rate)The friend’s offer is weak, or the link lands on the wrong page
Referred orders and revenueApproved referrals and their order totalsUltimate Affiliate Pro › ReferralsLook at which products referred friends buy and feature them
Reward costStore credit plus cash paid plus friend discountsPayouts › Payments (store credit is recorded there) and WooCommerce Analytics › CouponsLower the rate, or switch cash rewards to store credit
Cost per referred customerReward cost ÷ new customers from referralsThe two rows aboveCompare with your paid-ads cost per new customer

Referrers see their own clicks, conversions and success rate in the portal’s Reports and Traffic Log tabs. For the tracking side of the program, see how affiliate tracking works.

Start your refer-a-friend program

A working WooCommerce referral program comes down to four decisions: a reward your margin can carry, a link and coupon for every customer, a visible tab in My Account, and approval rules that match your return window. Ultimate Affiliate Pro handles each one inside your own store, with no per-referral fees, and the same plugin runs your partner program when you are ready for one. Compare the plans on the Ultimate Affiliate Pro pricing page; every plan includes a 14-day money-back guarantee.

Frequently Asked Questions

Does WooCommerce have a built-in referral program?

No. WooCommerce has coupons but no referral links, referral tracking or referrer rewards. You need a plugin such as Ultimate Affiliate Pro, which tracks referral links and coupons, credits the referring customer and pays the reward as store credit or cash.

How do I turn existing WooCommerce customers into referrers?

In Ultimate Affiliate Pro, Auto-Enroll Users as Affiliates covers new accounts, and the Mass Affiliate Conversion add-on converts every user in a role such as Customer at once. Customers can also join with one click from a Refer a friend tab in WooCommerce My Account. Each converted customer keeps their login and gets a referral link.

Should I reward referrers with store credit or cash?

Store credit suits most consumer stores: it costs you less than its face value and brings the referrer back to buy. Cash suits customers who refer often or buy high-priced products. Ultimate Affiliate Pro supports both, so a customer can convert approved rewards into a single-use store coupon or wait for a PayPal, Stripe or bank transfer payout.

Can the referred friend get a discount too?

Yes. The simplest way is a personal coupon for each referrer: the friend enters it at checkout, gets the discount, and the referrer is credited. Ultimate Affiliate Pro also has a WooCommerce Product Discounts For Referred Buyers add-on that sets special prices for referred visitors by rank, product and date range.

Can customers refer themselves to get the reward?

Not by default. In Ultimate Affiliate Pro, an order placed through a customer’s own link or coupon creates no referral unless you turn on Allow Self Referrals. Keep the coupon’s usage limit per user at 1, because WooCommerce still applies the coupon discount even when no referral is created.

Alex Spinu
Alex Spinu

Alex Spinu is the founder of WPIndeed, the company behind Ultimate Affiliate Pro and Ultimate Membership Pro. He has built and supported WordPress plugins for affiliate programs, MLM networks and membership sites for many years, and writes about running affiliate programs on WordPress and WooCommerce.

Black Friday · up to 60% off

Your Black Friday price ends in

Full Package is $99.60/year instead of $249, with all 48 Pro add-ons and 3 sites. 14-day money-back guarantee.

Get Full Package Keep comparing plans
Black Friday · up to 60% off

Your Black Friday price ends in

Every plan is discounted until November 28, 23:59 (GMT+2). After that, prices go back to normal.

14-day money-back guarantee on every plan. Not sure yet? Try it on a free demo site.

Best deal Full Package normally $249 $99.60/ year You save 60%
  • Use on 3 sites
  • 48 Pro add-ons included
  • 36+ languages included
  • Priority support