Plugin Details
Home / Plug-in market / Three-Level Referral
Three-Level Referral
3-Tier Affiliate Plugin
A comprehensive multi-level referral marketing system for BeikeShop, featuring global & product-level commission rates, hold periods, payout approval workflows, and full API support.
Feature Overview
- 3-Tier Affiliate Architecture: Supports commission allocation across Level 1, Level 2, and Level 3 affiliates.
- Flexible Commission Rates: Configurable global rate + product-level overrides (Product-level takes priority, falls back to Global if empty; option to force global rate).
- Hold Period (Anti-Fraud): Configurable waiting period (N days) after order settlement before commissions become withdrawable.
- Payout Approval Workflow: Affiliate applies for withdrawal → Admin reviews and approves → Payout is dispatched.
- Automatic Affiliate Upgrade: Customers automatically become affiliates upon meeting a cumulative spend threshold ($N).
- Referral Tracking: Auto-generated referral links with automatic binding upon visit/registration (supports Session persistence).
- Mobile & App Ready: Includes native ShopAPI endpoints for seamless App/Mini-program integration.
Admin Configuration
1. Enable the Plugin
Go to Admin Panel → Plugins → Find "3-Tier Affiliate" → Install & Enable.
2. Configure Affiliate Parameters
Go to Admin Panel → Affiliate Management → Settings.
| Parameter | Description |
|---|---|
| Enable System | Toggle switch to turn the affiliate module ON/OFF. |
| Affiliate Tier | Select active tiers (1 to 3 levels). |
| Global Commission Rates (L1/L2/L3) | Value between 0 and 1 (e.g., 0.1 = 10%). |
| Force Global Rate | When enabled, ignores all product-level commission settings. |
| Minimum Spend Threshold | Cumulative spend required to become an affiliate (0 = no requirement). |
| Hold Days | Waiting days required after settlement before payout (0 = immediate). |
| Minimum Payout Threshold | Minimum amount per withdrawal request. |
3. Configure Affiliate Products
Go to Admin Panel → Products → Edit Product → Right Sidebar "Affiliate Settings":
- Enable "Is Affiliate Product".
- Set Product-Level Commission Rates (optional; leave empty to use global default rates).
4. Manage Payout Approvals
Go to Admin Panel → Affiliate Management → Payout Requests:
- View withdrawal request list.
- Approve or Reject payout requests.
5. Monitor Commissions & Affiliates
Go to Admin Panel → Affiliate Management → Commissions / Affiliates to view detailed performance logs.
Storefront Operations
For Affiliates
-
Upgrade to Affiliate: Customer Dashboard Sidebar → "Become an Affiliate" (must meet minimum spend threshold).
-
Affiliate Center: Customer Dashboard Sidebar → "Affiliate Center".
- Dashboard: Overview of total earnings, withdrawable balance, team size, and referred products.
- Key Sections: My Commissions, Referral Links, Affiliate Products, My Team, Referred Customers, Commission Orders, Leaderboard, and Payout Requests.
For Regular Customers
- Access the store via an affiliate’s referral link (
?ref=AFFILIATE_ID). - Register an account (automatically binds referral relationship to the affiliate).
- Place an order and complete payment. The referrer earns commission (withdrawable after the hold period).
Commission Workflow
Plaintext
User Places Order → Pending Record Created → Order Paid → Commission Settled + Balance Ledger Scheduled (available_at = now() + N days) → Hold Period Expires → Funds Available → Affiliate Requests Payout → Admin Approves → Payout Dispatched
| Term | Description |
|---|---|
| Pending Commissions | Settled commissions currently within the hold period. |
| Total Earned Commissions | All settled commissions that have passed the hold period. |
| Withdrawable Balance | Available Balance = Total Earned Commissions - Total Withdrawn Amount |