XtremeReferrals — Affiliate Referral System

Affiliate Referral System for WooCommerce

A simplified, high-performance affiliate plugin. Affiliates receive unique coupon codes and referral links — when a referred customer completes a purchase, the affiliate earns a commission.

WordPress 6.0+WooCommerce 7.0+PHP 7.4+

Core Features

Coupon-Based Tracking

Affiliates share unique WooCommerce coupon codes. When a customer uses the code, the affiliate earns a commission — no complex setup required.

Referral Links

Cookie-based referral link tracking as a fallback. Visitors who click an affiliate link are tracked even without a coupon code at checkout.

Flexible Commissions

Set flat-fee or percentage-based commissions per affiliate or globally. Admins approve commissions before payout.

Affiliate Portal

A standalone frontend dashboard where affiliates view stats, track referrals, request payouts, and manage their profile.

Payout Management

Affiliates request payouts when their balance hits the threshold. Admins review, approve, and mark payouts as paid.

Admin Dashboard

Full admin panel with affiliate management, referral order tracking, payout requests, coupon mapping, and global settings.

How It Works

1

Register

Affiliates sign up or get invited by an admin.

2

Share

Get a unique coupon code or referral link to share.

3

Earn

When a customer buys using their code, the affiliate earns a commission.

4

Get Paid

Request a payout once the commission is approved.

Tech Stack

BackendPHP 7.4+ (WordPress 6.0+, WooCommerce 7.0+)
DatabaseMySQL via wpdb + custom tables
FrontendVanilla JS — no jQuery dependency
StylesPlain CSS with custom properties (no build step)
APIWP REST API v2
Emailwp_mail() with HTML templates

Built Secure

Nonce Verification

All admin actions verified with check_admin_referer() nonces.

Role-Based Access

Portal gated by WordPress login + xr_affiliate role.

Output Escaping

Every output escaped with esc_html(), esc_url(), esc_attr().

Input Sanitization

All input sanitized with sanitize_text_field(), absint(), floatval().

Roadmap

  • Self-registration & admin invite system
  • Email notifications (approved, payout requested, payout paid)
  • WooCommerce order hooks with commission calculation
  • REST API endpoints for external integrations
  • XtremePlugins dark gloss design system
  • Multi-tier commission structures (Pro)
  • PayPal & Stripe auto-payouts (Pro)
  • Affiliate leaderboards & gamification (Pro)

Ready to Boost Your Sales?

Start growing your store with a powerful affiliate referral system. Pick a plan and get started today.

Buy Now