Affiliates
Complete guide to managing affiliate programs, commissions, and tracking in OpenCart 4
Introduction
The Affiliate system in OpenCart 4 enables you to build a powerful referral marketing program. Customers can become affiliates and earn commissions by referring new customers to your store. The system provides comprehensive tracking, commission management, and payment processing tools to help you grow your business through word-of-mouth marketing.
System Configuration
Before using the Affiliate system, configure the basic settings in System → Settings → Option tab:
Affiliate Status
Enable or disable the entire affiliate system
Disabled (0)
Affiliate Approval
Whether affiliate registrations require manual approval
Yes (1)
Affiliate Auto
Auto-add customers to affiliate group after approval
No (0)
Affiliate Group
Customer group for approved affiliates
Default (1)
Affiliate Commission
Default commission percentage for new affiliates
0.00%
Affiliate Expire
Days before affiliate tracking cookies expire
30
Affiliate Terms
Page containing affiliate terms and conditions
None
Important: Enable "Affiliate Status" first before affiliates can register or be created. The system must be active for any affiliate functionality to work.
Accessing the Affiliate Interface
To access the Affiliate management interface:
Log in to your OpenCart admin panel
Navigate to Marketing → Affiliates
You'll see the affiliate list with existing affiliates and filtering options

Creating a New Affiliate
Step 1: Convert an Existing Customer
Click the Add New button (+) in the top-right corner of the affiliate list.
Since affiliates must be existing customers, you'll need to select a customer from your database:
Use the customer autocomplete field to search for customers
Only customers not already affiliated will appear
The system automatically fills in customer details

Step 2: Configure Affiliate Details
Fill in the Affiliate Details tab:
Tracking Code (Required)
Unique 10-character code for tracking referrals
Can be auto-generated or manually entered
Must be unique across all affiliates
Website
Optional website URL for the affiliate
Used for reference purposes only
Commission (Required)
Percentage commission on referred sales
Can override the default system commission
Enter as a percentage (e.g., 5.00 for 5%)
Tax ID
Optional tax identification number
For business affiliate record-keeping

Step 3: Configure Payment Method
Select a payment method in the Payment Details tab:
Cheque
Cheque Payee Name
Physical cheque payments
PayPal
Valid PayPal Email
Electronic PayPal payments
Bank Transfer
Bank Name, Branch Number, SWIFT Code, Account Name, Account Number
Direct bank transfers
Each method has specific validation rules and required fields. Choose the method that matches how you'll pay commissions.

Step 4: Save and Activate
Click Save to create the affiliate. Depending on your system configuration:
If auto-approval is enabled: The affiliate is immediately active
If manual approval required: The affiliate status is "Pending" until approved
Affiliate receives email notification about their status change
You can edit the affiliate later to change status, commission, or payment details.
Affiliate Status Management
Commission Structure
Payment Methods
Tracking System
Balance and Transactions
Customer Registration as Affiliate
Advanced Features
Bulk Operations
Email Notifications
Best Practices
Program Management 🤝
Clear Terms: Create comprehensive affiliate terms and conditions
Fair Commission: Set competitive but sustainable commission rates
Regular Payments: Establish consistent payment schedule
Communication: Keep affiliates informed about program changes
Performance Tracking: Monitor top performers and provide support
Compliance & Legal ⚖️
Tax Reporting: Collect necessary tax information for business affiliates
Terms Enforcement: Ensure affiliates follow your marketing guidelines
Payment Compliance: Follow payment processing regulations in your region
Data Privacy: Handle affiliate data according to privacy laws
Contractual Agreements: Consider formal agreements for high-volume affiliates
Troubleshooting
Common Issues
Documentation Summary 📋
You've now learned how to:
Configure and enable the affiliate system in OpenCart 4
Create and manage affiliate accounts
Set up commission structures and payment methods
Track referrals and monitor affiliate performance
Process commission payments and manage balances
Handle affiliate registrations from customers
Apply best practices for successful affiliate programs
Next Steps:
Mail - Send mass emails to affiliates and customers
Coupons - Create discount coupons for affiliate promotions
Customer Groups - Organize affiliates into groups
System Settings - Configure affiliate system options
Custom Fields - Add custom fields for affiliate applications
Last updated