Black Friday: 30% off all plugins from 24 Nov · Join the list for early access →

Overview

A refer-a-friend program: each customer gets a personal link, friends get a discount on their first order, and the customer earns a reward code for every friend who buys.

  • A personal link for every customer
  • Friend discount on a first order
  • Reward codes for every friend who buys

Best for: Stores with happy customers and products people talk about

Installation

  1. Download referly-referral-program.zip from My account › My plugins or from your order email. Do not unzip it.
  2. In WordPress, go to Plugins › Add New Plugin › Upload Plugin, choose the zip and click Install Now, then Activate.

Requires WordPress 6.0+, PHP 7.4+, WooCommerce 7.0+. Works with any theme, block themes and page builders.

Features

  • Personal referral code and link for every customer account
  • Friend discount applied automatically on the first order
  • Protected: not usable by the customer or on a second order
  • Unique reward code by email when the friend’s order is paid
  • Refer a friend tab in My account: link, copy button, WhatsApp, email and Facebook sharing, stats and codes
  • Rewards as a fixed amount or a percentage, with a validity
  • Shortcode [referly] for any page

Shortcodes

Paste a shortcode in any page, post, widget or page builder text block.

  • [referly]
  • [referly_preview]

Options of each shortcode are described in the Features above and in the plugin settings page.

For developers

Customize the plugin from your theme’s functions.php or a small plugin, without editing its files (your changes survive updates).

Filters

  • referly_active
  • referly_sanitize
add_filter( 'referly_active', function ( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Actions

  • referly_admin_after_form
  • referly_admin_before_form
  • referly_admin_form_end
  • referly_rewarded

Updates

Updates are free. When a new version is out, it appears in Dashboard › Updates of your WordPress site and you can install it in one click, or turn on automatic updates in Plugins. This works for the zip downloaded from your Woo-Plugins account; older copies can be replaced by downloading the latest version from My plugins. See the changelog.

Frequently asked questions

When does the customer get the reward?

When the friend’s order is paid (processing or completed), a unique code is created and emailed.

Can customers use their own code?

No, the friend discount only works for someone else’s first order.

Still stuck?

Write to us with your WordPress and WooCommerce versions and what you tried: we answer by email.

Contact support