Title: Sawir Referral – Refer a Friend for WooCommerce
Author: Ricardo Sawir
Published: <strong>21. juli, 2026</strong>
Last modified: 21. august, 2026

---

Søg plugins

![](https://ps.w.org/sawir-referral/assets/banner-772x250.png?rev=3616923)

![](https://ps.w.org/sawir-referral/assets/icon-256x256.png?rev=3616923)

# Sawir Referral – Refer a Friend for WooCommerce

 Af [Ricardo Sawir](https://profiles.wordpress.org/sawirricardo/)

[Download](https://downloads.wordpress.org/plugin/sawir-referral.1.0.0.zip)

 * [Detaljer](https://da.wordpress.org/plugins/sawir-referral/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/sawir-referral/#reviews)
 * [Udvikling](https://da.wordpress.org/plugins/sawir-referral/#developers)

 [Support](https://wordpress.org/support/plugin/sawir-referral/)

## Beskrivelse

Turn your customers into your sales channel. Every customer gets a personal referral
code (a real WooCommerce coupon) and a share link on their My Account page, with
one-tap WhatsApp sharing.

 * **Friends get a discount** — percentage or fixed amount, applied like any coupon
   at checkout.
 * **Advocates get rewarded** — a coupon issued automatically once the friend’s 
   order is completed and the hold period clears.
 * **Codes, not cookies** — attribution runs through the coupon on the order. Codes
   survive being pasted into WhatsApp, Instagram DMs, or anywhere links get mangled.
   Share links (`?ref=CODE`) simply remember and auto-apply the code.
 * **Refund-safe** — rewards are held for a configurable number of days. A full 
   refund or cancellation during the hold cancels the reward; partial refunds keep
   it. After the hold, a fully refunded order automatically revokes the reward coupon
   if it is still unused, and flags the referral for review if it was already redeemed.
 * **Fraud guards** — self-referral is blocked (by account and billing email), each
   friend can be limited to one order per code, codes can be capped in total, and
   you can restrict codes to new customers only.
 * **HPOS and Checkout Blocks compatible.**

No payout system, no tax forms, no approval queues — rewards are store coupons, 
which keeps the money in your store.

#### More free plugins from Sawir Studio

 * [Sawir Insights](https://wordpress.org/plugins/sawir-insights/) — Heatmaps, session
   recordings, surveys, funnels, and form analytics. Everything stays on your server.
 * [Sawir Live Translate](https://wordpress.org/plugins/sawir-live-translate/) —
   Translate any front-end page live: pick a language, auto-translate the visible
   strings, save them, and let visitors switch languages.
 * [Sawir Media Folders](https://wordpress.org/plugins/sawir-media-folders/) — Fast,
   unlimited folders for the WordPress media library with drag & drop.
 * [Sawir Min Max Quantities for WooCommerce](https://wordpress.org/plugins/sawir-min-max-quantities-for-woocommerce/)—
   Set minimum and maximum purchase quantity rules for WooCommerce products, product
   categories, and the whole order.
 * [Sawir Product Image Zoom for WooCommerce](https://wordpress.org/plugins/sawir-product-image-zoom-for-woocommerce/)—
   Adds a product image lightbox with navigation and click-to-zoom to WooCommerce
   product galleries.
 * [Sawir Pulse – Live Sales & Social Proof for WooCommerce](https://wordpress.org/plugins/sawir-pulse/)—
   Live social proof from real activity: recent orders, live viewers, and reviews
   as corner notifications. No fake notifications, ever.
 * [Sawir Renew – Recurring Billing for WooCommerce](https://wordpress.org/plugins/sawir-renew/)—
   Complete subscriptions for WooCommerce — recurring billing, trials, sign-up fees,
   pause/skip, plan switching, dunning, smart retries. All free.
 * [Sawir Restock Notifier for WooCommerce](https://wordpress.org/plugins/sawir-restock-notifier-for-woocommerce/)—
   Let customers request an email notification when an out-of-stock WooCommerce 
   product is back in stock.
 * [Sawir Role Capabilities Manager](https://wordpress.org/plugins/sawir-role-capabilities-manager/)—
   Create custom user roles and manage capabilities for new and existing WordPress
   roles.
 * [Sawir Variation Gallery Tools for WooCommerce](https://wordpress.org/plugins/sawir-variation-gallery-tools-woocommerce/)—
   Manage variation-specific gallery images in WooCommerce. Works with Sawir Product
   Image Zoom for WooCommerce.

## Skærmbilleder

[⌊Refer a friend page in My Account: personal code, share link, WhatsApp sharing,
referral history.⌉⌊Refer a friend page in My Account: personal code, share link,
WhatsApp sharing, referral history.⌉[

Refer a friend page in My Account: personal code, share link, WhatsApp sharing, 
referral history.

[⌊Referral code auto-applied in the cart from a share link.⌉⌊Referral code auto-
applied in the cart from a share link.⌉[

Referral code auto-applied in the cart from a share link.

[⌊Admin referral list with statuses, manual actions, and settings.⌉⌊Admin referral
list with statuses, manual actions, and settings.⌉[

Admin referral list with statuses, manual actions, and settings.

## FAQ

### How does it compare to alternatives?

Affiliate platforms — AffiliateWP, SliceWP, Solid Affiliate — are built for recruiting
external marketers, with registration flows, tracking dashboards, and payout runs.
Hosted services like ReferralCandy run referral programs as a subscription outside
WordPress. Sawir Referral is narrower on purpose: your existing customers share 
a personal coupon code or link, friends get a discount, and rewards are store coupons.
Attribution runs through the coupon itself, so it survives being pasted into chat
apps and needs no payout infrastructure. If you are building an affiliate channel,
use an affiliate platform; if you want customers referring friends, this is the 
shape of that.

### How is a referral attributed?

By the coupon on the order. If a referral code was used at checkout, the advocate
who owns that code gets the credit when the order is completed. Share links just
store the code in a first-party cookie and auto-apply it to the cart — there is 
no separate tracking system.

### What happens when a referred order is refunded?

Partial refunds keep the reward — it is a flat amount and does not scale with the
order. A full refund or cancellation during the hold period cancels the reward before
it is issued. If the order is fully refunded after the reward was issued, the reward
coupon is automatically revoked (trashed, restorable from the coupons screen) as
long as it is unused; a reward that was already redeemed is flagged in the admin
list for you to review. You can also release, reverse, or revoke any referral manually
from WooCommerce  Referrals.

### Can customers refer themselves?

No. Codes are rejected when the customer is the code’s owner or shares the owner’s
email, and the check is repeated when the order completes.

### Where do customers find their code?

My Account  Refer a friend: their code, share link, copy button, WhatsApp share 
button, and the status of their referrals.

## Anmeldelser

![](https://secure.gravatar.com/avatar/481e6949747b22076baf3c7f425cbd0bd3d9b615664edda1c30783aa8addc439?
s=60&d=retro&r=g)

### 󠀁[So Far, So Good](https://wordpress.org/support/topic/so-far-so-good-1305/)󠁿

 [chadwikster](https://profiles.wordpress.org/chadwikster/) 12. august, 2026 1 svar

Just needed a basic referral system for a clients woocommerce store. Added this 
plugin, did some testing, and it worked fine for testing. We'll see how it goes 
for actual customers. I did run the plugin php code through chatgpt to see what 
it said. Here's the response: The code is coherent and implements the referral system
you described. I don’t see obvious malicious behavior, hidden external requests,
encoded code, or dangerous file operations. The flow is: A registered customer receives
a reusable referral code. A friend follows the referral link or enters that code.
The friend receives the configured discount. When the order reaches Completed, the
referral is recorded. The plugin waits the configured hold period. It creates a 
separate, single-use reward coupon restricted to the referrer’s email. If the original
order is fully refunded, cancelled, or failed, the reward is revoked when possible.
Good signs include: Database queries using WordPress preparation methods. Admin 
actions protected with permissions and nonces. Output and user-controlled input 
generally sanitized/escaped. Reward coupons restricted to the referrer’s email. 
Duplicate referral events prevented by order ID. Refund reversal and delayed rewards
are genuinely implemented. No customer or order information is transmitted to Sawir
or another service. Important limitations “New customers only” is disabled by default.
You must enable it in the settings. Rewards start only when an order becomes Completed,
not Processing. For Swiss Villa’s physical orders, that likely means after fulfillment
rather than immediately after payment. Self-referral prevention compares user IDs
and email addresses. Someone could circumvent it with another account and email 
address. There’s no IP, address, payment-method, or device matching. Partial refunds
do not cancel the reward. Only a full refund does. The friend’s referral coupon 
is reusable across customers. Its total usage limit and per-customer limit must 
be configured correctly. I don’t see explicit Checkout Block integration. It uses
standard WooCommerce coupon systems, so it may work, but the code alone doesn’t 
prove full block compatibility. The reward-release process has a small concurrency
risk: two simultaneous release attempts could theoretically create duplicate coupons.
That’s unlikely but could be hardened. My assessment: the code makes sense and looks
reasonably responsible for a free version 1.0 plugin. It gives me more confidence
than its low installation count alone did. I would still test it on staging before
trusting it on the live store—not because I found malicious code, but because checkout,
scheduled rewards, refunds, and subscription purchases need real-world verification.

 [ Læs 1 anmeldelse ](https://wordpress.org/support/plugin/sawir-referral/reviews/)

## Bidragsydere & udviklere

“Sawir Referral – Refer a Friend for WooCommerce” er open source-software. Følgende
personer har bidraget til dette plugin.

Bidragsydere

 *   [ Ricardo Sawir ](https://profiles.wordpress.org/sawirricardo/)

[Oversæt “Sawir Referral – Refer a Friend for WooCommerce” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/sawir-referral)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/sawir-referral/), tjek
[SVN repository](https://plugins.svn.wordpress.org/sawir-referral/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/sawir-referral/) via 
[RSS](https://plugins.trac.wordpress.org/log/sawir-referral/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0.0

 * Initial release: personal referral codes, share links with auto-apply, hold period
   with automatic reversal on full refund, unused-reward revocation, reward coupons
   by email, admin referral list with manual actions, and settings.

## Meta

 *  Version **1.0.0**
 *  Senest opdateret **2 måneder siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 6.0 eller højere **
 *  Testet op til **7.1.3**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/sawir-referral/)
 * Tags
 * [refer a friend](https://da.wordpress.org/plugins/tags/refer-a-friend/)[referral](https://da.wordpress.org/plugins/tags/referral/)
   [whatsapp](https://da.wordpress.org/plugins/tags/whatsapp/)[woocommerce](https://da.wordpress.org/plugins/tags/woocommerce/)
   [word of mouth](https://da.wordpress.org/plugins/tags/word-of-mouth/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/sawir-referral/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/sawir-referral/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/sawir-referral/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/sawir-referral/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/sawir-referral/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/sawir-referral/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/sawir-referral/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/sawir-referral/reviews/)

## Bidragsydere

 *   [ Ricardo Sawir ](https://profiles.wordpress.org/sawirricardo/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/sawir-referral/)