Last updated
By default, advocates earn a coupon for every successful referral. You can reward them only for every Nth referral instead, for example one coupon for every three friends who buy. This is a built-in setting, so no code is needed.
Turn it on
- Go to WooCommerce → Refer a Friend → Settings → Advocate Reward.
- Click Show advanced options.
- In Generate Coupon on every X Order, enter the number of referrals per reward, for example
3. - Click Save.
Leave the field empty to reward every referral.
How the count works
- Each successful referral adds one to the advocate’s referral count, whether or not it earns a coupon. You can see the count under Advocates.
- The advocate gets a coupon when their count reaches a multiple of your number. With
3, that’s the 3rd, 6th and 9th referral. - Referrals that fail fraud checks or the Minimum referral order don’t count.
- Skipped referrals show Coupons wont be generated due to nth coupon option. in the order’s Refer a Friend Data box.
In version 4.4.12, this setting also skips the friend’s Post-First Purchase Coupon for the referrals in between. It only works for advocates with a customer account. Guest advocates don’t have a referral count, so they never get a reward while this is set.
Make the reward match the effort
If you reward every third referral, consider a bigger coupon. Update the reward text under Display Settings → Reward Box so advocates know the rule, for example “$30 for every 3 friends”.