How to Add an Affiliate Program to WooCommerce
Adding an affiliate program to your WooCommerce store lets others promote your products for a commission, turning your customers and followers into a sales team. This guide walks you through setting up affiliate tracking, managing referrals, and paying commissions using a free plugin, with no coding required.
What You’ll Need
- A self-hosted WordPress site with WooCommerce installed and active.
- Admin access to your WordPress dashboard.
- A PayPal Business account or another payout method (for paying commissions).
- An idea of your commission rate (e.g., 10% per sale).
Step-by-Step
- Install an affiliate plugin. In your WordPress admin, go to Plugins → Add New. Search for “AffiliateWP” or “WooCommerce Affiliate”. For a free option, install “AffiliateWP – Affiliate Plugin for WooCommerce” (the free version from the WordPress repository). Click Install Now, then Activate.
- Set up the affiliate pages. After activation, the plugin will create essential pages: an Affiliate Dashboard, Affiliate Registration, and Affiliate Login. Go to Pages to confirm they exist. If not, create them manually and add the shortcodes the plugin provides (e.g.,
[affiliate_dashboard]). - Configure general settings. Go to Affiliates → Settings (or WooCommerce → Settings → Affiliates depending on your plugin). Set the default commission rate (e.g., 10%), the cookie duration (how long a referral is tracked, typically 30 days), and the currency.
- Enable automatic commission tracking. In the same settings, ensure that “Track referrals on WooCommerce orders” is enabled. This makes the plugin automatically record a commission when a referred customer completes a purchase.
- Set up payout methods. Decide how you’ll pay affiliates. Most plugins let you pay manually via PayPal, bank transfer, or store credit. In settings, enable the payout methods you prefer. If using PayPal, ensure you have a PayPal Business account and configure the email address for sending payments.
- Create the affiliate registration form. Go to the page where you placed the registration shortcode. Customize the form fields (e.g., name, email, PayPal email). Optionally, enable automatic approval for new affiliates or review them manually.
- Add affiliate links to your site. Place links to the registration page in your site’s menu, footer, or as a widget. Use the Affiliate Registration page URL. You can also create a dedicated “Join Our Affiliate Program” page with a call-to-action.
- Test the affiliate flow. Register as a test affiliate (or create a test account). Copy your affiliate link from the dashboard. Open a private browser window, click the link, add a product to cart, and complete a purchase. Check the affiliate dashboard to see if the referral was tracked and the commission recorded.
- Review and pay commissions. In the affiliate dashboard (admin side), you’ll see a list of affiliates, their referrals, and pending commissions. Mark commissions as “paid” after you’ve sent the payment via your chosen method.
Common Mistakes
- Not setting cookie duration correctly. If the cookie expires too quickly (e.g., 1 day), affiliates lose credit for sales that happen later. Set it to at least 30 days.
- Forgetting to enable automatic tracking. Without this, you’ll have to manually assign commissions, which is error-prone.
- Using a non-secure payout method. Avoid sending payments manually via PayPal without recording them in the plugin – it creates confusion.
- Not testing the affiliate link. If the tracking isn’t working, you won’t know until affiliates complain.
- Ignoring the affiliate dashboard page. If the dashboard page is not published, affiliates can’t see their stats.
Tips
- Offer a higher commission (e.g., 20%) to top-performing affiliates to encourage loyalty.
- Use a dedicated “Affiliate Program” page with clear terms and conditions, including cookie duration and payout schedule.
- Regularly check the affiliate reports to identify your best affiliates and nurture them.
- Consider using a plugin that integrates with email marketing to send a welcome email to new affiliates.
- Set a minimum payout threshold (e.g., $50) to reduce transaction fees on small payments.
Troubleshooting
Affiliate link doesn’t track sales. First, ensure the plugin’s tracking is enabled. Check that the affiliate link contains the correct referral parameter (usually ref or aff). Clear your browser cookies and test again. If it still fails, deactivate and reactivate the plugin, or check for conflicts with caching plugins.
Commissions not appearing. Verify that the order status is set to “Completed” (some plugins only record commissions on completed orders). Also check if the plugin has a “minimum order amount” setting that might be blocking small orders.
Affiliates can’t register. Ensure the registration page is published and the shortcode is correct. Check that the plugin’s registration settings allow new signups. If you have a membership plugin, it might conflict – try disabling it temporarily.
PayPal payout fails. Confirm your PayPal Business email is correct. If you’re using mass pay, ensure you have sufficient balance. Try a test payout to a sandbox account first.
Frequently Asked Questions
Q: Do I need to buy a premium affiliate plugin?
A: No. Free plugins like “AffiliateWP” (with WooCommerce support) or “YITH WooCommerce Affiliates” offer core features. Premium plugins add advanced features like recurring commissions and multi-tier structures.
Q: How do affiliates get their unique links?
A: After registering, they log in to their affiliate dashboard and see their unique referral link. They can share that link anywhere.
Q: Can I set different commission rates for different products?
A: Yes, most plugins allow per-product commission overrides. You can set a default rate and then adjust it for individual products in the product edit screen.
Q: What happens if a customer uses an affiliate link but buys later?
A: As long as the cookie is still valid (within the cookie duration), the affiliate gets credit. The cookie is stored in the customer’s browser.
Q: How do I pay affiliates?
A: You can pay manually via PayPal, bank transfer, or store credit. In the plugin’s admin panel, you can mark commissions as “paid” after you’ve sent the payment.
Q: Can affiliates see their own performance?
A: Yes, the affiliate dashboard shows their clicks, referrals, and earnings. They can also see the status of their commissions (pending, approved, paid).
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.