Refer A Friend for WooCommerce by WPGens


Increase your store sales through Word Of Mouth, by having people promote your products to their friends.

Compatible with WooCommerce from 2.4 and above, including the latest 8.x version of WooCommerce.

This plugin will create a simple but powerful referral system on your website. Instead of giving money to your referrals, you are rewarding them with coupons that they can use to get discounts when buying on your website, or even free products, depending on a coupon settings. Free version comes packed with lots of features, premium version has shortcodes, coupons for friends and a couple more options.

The plugin will create a unique link for each of your members, link that is visible on their account page. Members can use this referral link to invite people to your site, and every time someone comes to your site through their link and makes a purchase, you will reward them with a coupon. Simple as that.

Coupons Are Connected With WooCoupons. This Allows You To:

  • set the value of each coupon;
  • define the type of the coupon;
  • define the minimum order;
  • determine whether the coupon is product specific or not; (PREMIUM only)
  • set a coupon expiry date; (PREMIUM only)
  • award coupon to a friend as well; (PREMIUM only)

After order is marked as complete, coupon is sent to a person who referred you a customers. Every time referral receives a coupon, it will be shown on his account page and only he can use it.

As with our other plugins, refer a friend is coded with best practice, it is super light and will not slow down your site.

Coupons are created only once order is marked as complete, to prevent abuse.

For demo, check out screens in the screenshot page.

Refer a Friend PREMIUM

Refer a Friend has also PREMIUM version that comes up with additional features:

  • Advance Shortcode to place referral link anywhere on the site.
  • Give coupon to person being referred as well and apply on first purchase OR give it for second purchase
  • Refer a Friend Woocommerce Tab under each product, that comes with share icons that can directly share referral links
  • Contact Form 7 shortcode
  • Each person has statistics how many people he refered, admin sees this for each person as well
  • Order details screen shows referral info if order was made through referral.
  • Referral statistics/info screen for admin.
  • Enable coupons for specific products only
  • Set Expiry date for each coupon
  • More filters and actions for developers
  • One year of support & free updates

Click here to check it out!

If you have any suggestions/feedback/feature on how i could improve Refer a Friend plugin, please get in touch with me via email


  • screenshot-1.png
  • screenshot-2.png
  • screenshot-3.png


  1. Upload the Refer a Friend plugin to your site, Activate it.
  2. Go to WooCommerce -> Settings -> Refer a friend tab to set it up.
  3. Now every customer will have referral link under “My Account” page.
  4. Start earning more money! 🙂


27 ਦਸੰਬਰ 2023 1 reply
I ran into a roadblock because CartFlows checkout wasn’t allowing the RAF Coupon Code to work, and Goran (the plugin dev) not only replied immediately to my support request, he replied multiple times until we sorted out the problem — even on Christmas Eve! Best customer experience I’ve ever had with any software company. I couldn’t recommend this plugin (or any of Goran’s plugins) more, and I tried all the RAF plugins. Also, he’s available for custom coding/problem solving as well. – Matthew Poole,
1 ਦਸੰਬਰ 2023
Works exactly as claimed. Using the premium version. The plugin works perfectly exactly as I wanted. Support has been one of the best I have experienced so far from a developer. The shortcode and email are also easily customizable via templates, so you can have a peace of mind when updating the plugin. Highly recommended.
8 ਮਾਰਚ 2023 2 replies
Like my title, the plugin works but important functions are missing – e.g. to mark a coupon as invalid in case of order refund. Without these you cannot use this plugin on big onlineshops with lot of orders. You have to spend too much time to check this and deactivate coupons manually if necessary. The developer does not respond to any emails either. I use free and pro version.
24 ਫਰਵਰੀ 2022 1 reply
I use the premium version. I am impressed. You will find everything you need. Keep it up guys!
28 ਜੁਲਾਈ 2020
Thanks a million for the great and fast support Goran! I’ve been incredibly helpful!
Read all 38 reviews

ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ

“Refer A Friend for WooCommerce by WPGens” is open source software. The following people have contributed to this plugin.


“Refer A Friend for WooCommerce by WPGens” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।

ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • WP version bump. Preparing for big update.


  • 404 bug fix.


  • Removed jQuery dependency, pure JS baby.


  • WooCommerce 3.9 support update.


  • WooCommerce 3.9 support update.


  • Security update – missing plugin sanitization


  • Read me update.


  • Fixed order notice bug.


  • Fixed translation bug, which prevented translation from working in some cases.= 1.1.2 =
  • Smaller coupon codes.


  • Fixed translation missing strings
  • Made it compatible with older PHP versions. But we strongly urge you to use at least PHP 5.3+.


  • Added ability for order details screen to shows referral info if order was made through referral. Check:
  • Backend How-TO, plugin direct link to settings.


  • Added minimum amount.


  • Fixed .pot referal string misspel, added unique ID “raf-message” for “Your referral link:” div.


  • Made so that user cant use his own referral link to gain coupons.


  • Fixed translation bug, .po and .mo files will work now. Thanks Anton Markelov for bug report.


  • Emails are now pretty styled like woocommerce emails.


  • Fixed bug where coupon would sometimes be created even if no referral link was added
  • Translate ready


  • Fixed min amount bug and coupon type issue 14.11.2015


  • Initial Release 29. October 2015