HomeFeaturesWhy Self-HostedInstallSpecsGet It
WordPress · WooCommerce plugin

Your affiliate program.
Your server. Your data.

WC Self Affiliate is a lean, self-hosted affiliate program for WooCommerce. A slimmed-down alternative to heavyweight affiliate suites — everything runs in your own database, payouts stay under your manual control, and nothing phones home.

0 zł/mo
No SaaS fees
100%
Data on your site
0
Build pipeline
wp-cli — yourstore.com
$ wp plugin activate wc-self-affiliate
Plugin 'wc-self-affiliate' activated.
tables created: 6 (affiliates, visits, referrals…)
tracking: ?ref=CODE · first-party cookie
HPOS: compatible · blocks checkout: ok
external calls: none
$
// features

Everything an affiliate program needs. Nothing it doesn't.

Full feature set in plain PHP + CSS/JS — no React, no npm build, no license server.

🔗

Link & coupon tracking

First-party cookie with ?ref=CODE, first/last-click attribution, visit log — and the affiliate's customer coupon auto-applied to the cart after a referral visit. Personal own-purchase coupons per affiliate, commission-free.

🧮

Commission rules

Percentage or flat rates — global, per affiliate, or rule-based per product and category with priorities. Refunds revoke commissions automatically.

💸

Manual payouts

Affiliates request payouts from My Account; you approve, pay by transfer, and mark paid. Thresholds, reservations and full history included — no payment APIs.

🧑‍🤝‍🧑

Affiliate lifecycle

Public registration with website/social/about fields, approve / reject / ban flow, dedicated WordPress role, and admin-created accounts.

🪜

Optional multi-level

Parent-chain MLM up to 5 tiers with per-tier rates. Cycle-guarded so nobody earns from their own orders. Off by default.

🎨

Creatives & link generator

Banners and text creatives served in My Account, plus a generator that turns any store URL into a saved, copyable referral link.

📊

Stats & date filters

Admin dashboard and affiliate dashboard with visits, conversions, sales and commission totals — filterable by date range.

✉️

Editable emails

Application, status change, new referral and payout notifications via wp_mail — with editable subjects, bodies and placeholders.

📤

CSV export

One-click exports of referrals, affiliates, payouts and visits. Excel-friendly, streamed straight from your database.

// why self-hosted

SaaS affiliate platforms vs. your own stack

Built as a lightweight replacement for subscription affiliate suites — without the parts you don't need, like automatic payment processing.

Typical affiliate SaaS subscription

  • Monthly fees that scale with your revenue
  • Affiliate & customer data on third-party servers
  • Remote tracking scripts on every page load
  • Features locked behind higher pricing tiers
  • Your program dies if the service shuts down

WC Self Affiliate self-hosted

  • One codebase, zero recurring costs
  • All six tables live in your WordPress database
  • First-party cookie only — GDPR-friendly, IPs hashed by default
  • Full feature set in the code, nothing paywalled
  • Payouts stay manual and under your control
// setup

Live in four steps

01

Copy

Drop wc-self-affiliate/ into wp-content/plugins/.

02

Activate

Enable the plugin — WooCommerce must be active. Tables and roles are created automatically.

03

Configure

Set rates, cookie lifetime and payable order statuses under Affiliates → Settings.

04

Flush permalinks

Save Settings → Permalinks once so My Account endpoints resolve.

Shortcodes

[wcsa_registration] [wcsa_referral_link] [wcsa_affiliate_stats]
// requirements

Tech specs

PHP 8.1+
Language
WP 6.2+
WordPress
WC 8.0+
WooCommerce
HPOS ✓
Order storage

Run your affiliate program on your terms

WC Self Affiliate is a private plugin by devLNX Studio. Want it on your store, or need it tailored to your workflow? Let's talk.

Contact devLNX Studio