=== Coupon Affiliates – Affiliate Plugin for WooCommerce ===
Contributors: ElliotVS, freemius, couponaffiliates, RelyWP
Tags: affiliate, affiliate program, affiliates, woocommerce affiliate, affiliates woocommerce
Donate link: https://couponaffiliates.com
Requires at least: 4.7
Requires PHP: 7.0
Tested up to: 7.0
Stable tag: 7.8.2
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

The most powerful affiliate plugin for WooCommerce. Track commission, generate referral URLs, assign affiliate coupons, and display detailed stats.

== Description ==

**Why is Coupon Affiliates the best WooCommerce affiliate plugin?**

Coupon Affiliates is a powerful affiliate plugin for WooCommerce, that is designed to help you grow traffic and increase sales.

With this plugin you can give your affiliates access to a user-friendly affiliate dashboard for their coupons, to view coupon usage statistics, recent orders, commission earned, referral URLs and more.

* **Unique** - The only plugin that is built specifically for creating a "coupon based" affiliate program for WooCommerce.
* **Quick & Easy to Use** - Get your affiliate program setup quickly and easily! The plugin is easy to use for you and your affiliates.
* **User Friendly** - The affiliate dashboard is user friendly, visually pleasing, and includes lots of features your affiliates will love.
* **Transparency** - Build trust with your affiliates, by giving them transparent access to the important statistics they want to see, in real-time, directly on their WooCommerce affiliate dashboard.
* **Lots of Customisations** - The plugin comes with plenty of useful settings to make the affiliate program work exactly how you want.
* **Friendly Support** - UK-based support is available to both our free and paid users, regarding setup, customisations and more.
* **Built for WooCommerce** - The plugin is developed exclusively for WooCommerce, the best eCommerce platform.
* **Easy Migration** - Migration from other affiliates plugins is super simple, since the plugin will display the full order history for each affiliate coupon (even orders created before installing the plugin).
* **Frequent Updates** - We are always working on adding new awesome features to Coupon Affiliates. Got a suggestion? Let us know!

## 🎉 Plugin Features

**-- Affiliate Dashboard --**

* On the affiliate dashboard, you and your affiliates can view detailed statistics for their referral coupon, including total usage, recent order details, referral URL generator, conversions statistics, and lots more.

**-- Modern Affiliate Portal --**

* The affiliate portal is a modern alternative to the normal affiliate dashboard. It offers a sleek, standalone, full-screen interface that seamlessly aligns with your brand.

* The affiliate portal offers a better user-experience for your affiliates and can be easily customised with your own custom brand colors and logo.

* It includes all the same features as the normal affiliate dashboard page, but within its own more modern interface.

[youtube https://www.youtube.com/watch?v=hruamY_mEpo]

**-- Floating Affiliate Widget --**

* The floating affiliate widget is allows you to display a floating affiliate dashboard widget on your website. <a href="https://couponaffiliates.com/docs/floating-affiliate-widget">Learn More.</a>

* For existing affiliates, when they click the button, it provides instant access to a compact version of their affiliate dashboard. It will display some of the most important dashboard statistics and features, including their referral coupon and links, referral statistics, recently referred orders, payout details, and creatives.

* For potential affiliates, it’s an invitation to join your program. When they click the button, it gives them quick access to the registration form. You can also display a customisable “benefits” section on the widget explaining what your affiliate program has to offer.

**-- Accurate Commission Tracking --**

* Affiliates can see the total commission earned via their coupon, and for each individual order they referred.

* There are 3 types of commission amounts, including fixed commission “per product”, “per order”, and a "percentage" of the total order. You can even set all 3 for more flexible commission calculations!

**-- Recent Orders List --**

* Affiliates can view a recent order list for their coupon, with general info such as date, order subtotal, discount, total, products purchased, commission earned etc. A monthly orders/commission summary is also included in the PRO version.

* This can be filtered by date or order status, and also shows combined totals for all orders within the date range selected.

**-- Affiliate Referral URLs --**

* Affiliates can generate a referral URL via the affiliate tool which automatically applies the coupon at checkout for visitors using their link.

* They can also view total clicks, usage, and conversion rate for their referral URL on the affiliate dashboard, along with a detailed log of all of their individual clicks.

* If required, you can enable an option to track conversions via the referral URL even if coupon was not used. If enabled, if someone visits the site via the referral URL and places an order without using the coupon code, it will still be tracked and award the affiliate.

**-- Assign Users to Coupons --**

* Assign/link user accounts to coupon codes, to give them direct private access to their affiliate dashboard for each coupon.

* A login form will be displayed on the affiliate dashboard page for logged out users, along with the affiliate registration form.

**-- Affiliate Registration System --**

* Display a customisable affiliate registration form on your website to allow users to apply as an affiliate. <a href="https://couponaffiliates.com/docs/affiliate-registration">Learn More.</a>

* You can easily manage and approve all your affiliate applications in the WordPress admin area.

* The system will automatically generate the affiliate coupons, assign the users to it, and send them a customisable welcome email.

**-- Email Notifications --**

* Automatically send email notifications to affiliates when their coupon code is used, to let them know they have earned new commission. You can also customise the emails with your own message.

**-- Fraud Prevention --**

* Fraud prevention is an important part of any affiliate program. We have implemented several powerful features and options to help stop fraudulent sales! <a href="https://couponaffiliates.com/docs/affiliate-fraud-prevention">Learn more.</a>

**-- WooCommerce Subscriptions --**

* The Coupon Affiliates plugin for WooCommerce includes free integration with the official "WooCommerce Subscriptions" plugin.

**-- Multi-Currency Support --**

* With Coupon Affiliates, you can enable multi-currency support and easily set conversion rates for all your store currencies to be used when calculating commissions and statistics.

## 🎨 Admin Management & Customisation

Coupon Affiliates for WooCommerce makes it easy to manage and customise your affiliate program, with a large variety of useful features and tools.

**-- Admin Dashboard --**

* The admin dashboard shows a summary of statistics for your affiliate program, including a 7 day report of the total referrals, and commission earned by affiliates. It will also show the 5 latest referrals, activity logs, url clicks, newest coupons, and more.

**-- Admin Tools --**

* A variety of admin tools are available to make manging your affiliate program even easier. This includes tools to bulk generate new coupons, assign users to coupons, bulk edit coupons, bulk assign affiliates to orders, and more.

**-- Admin Reports & Analytics --**

* Get access to admin reports for the past 2 weeks. Reports allow you to see the overall WooCommerce coupon usage stats, and sales for all coupons, and each individual coupon, on a single page.

* With the Pro version get access to unlimited date range on the admin reports, export to CSV, and access to date comparison features, to compare analytics between 2 sets of dates.

**-- Coupons List & Dashboard Links --**

* In the WooCommerce coupons list, a new column will show a unique link to view the affiliate dashboard for that coupon yourself, or you can share this link with a user. Here you can also see a brief affiliate overview for each coupon, including the assigned affiliate. 

**-- Plugin Customisation & Settings --**

* A large variety of settings are available to modify all the plugins features, and affiliate dashboard, to meet your specific requirements.

**-- Orders Affiliate Info --**

* A new column will be added to the orders list, as well as a meta box widget in single orders. This will show coupon code used, affiliate user, commission for that order, and a link to the affiliate dashboard.

**-- Coupon Marketing Campaigns & More --**

* The plugin can also be used for your coupon marketing campaigns, so you can view sales, usage statistics, etc for each of your coupons. Will also work great for influencer marketing, a refer a friend program, or managing an ambassador program.

## 🔥 Getting Started

**-- Ready to increase sales with your new affiliate program? --**

Setup your own affiliate WooCommerce system in minutes. Then launch your coupon affiliate marketing program to help increase your sales!

Upon installation, a small setup wizard will help you get started and automatically generate the affiliate dashboard page for you.

**-- Migrating from another Affiliates Plugin? --**

Migration of affiliate data to Coupon Affiliates is super simple, since for the most part it uses the existing data that's stored by WooCommerce.

Once you install the affiliate plugin on your website, it will look back at the full order history for each coupon, even those created before the installation, and display the stats & commission for these on the coupon affiliate dashboard. All you'll need to do is assign your affiliate users to coupon codes, configure the settings, then you're good to go!

## ⚡ Want more advanced features?

Coupon Affiliates PRO is a paid upgrade which provides a whole bunch of exciting addons and extra features to take your coupon affiliate system to the next level. This includes:

* <a href="https://couponaffiliates.com/docs/pro-multi-level-affiliates">Multi-Level Affiliates</a> (MLM) - Your users can become super-affiliates and invite other affiliates to be a part of their multi-level affiliate network. They will then earn extra commission from all their referrals.
* <a href="https://couponaffiliates.com/docs/admin-reports-analytics">Admin Reports & Analytics (Advanced Filters)</a> - Access to the advanced filter options (unlimited date range & comparisons) for the Admin Reports & Analytics.
* <a href="https://couponaffiliates.com/docs/pro-affiliate-reports">Affiliate Email Reports</a> - Automatically send an email report (and PDF) to affiliates every week/month with a summary of their recent commission and referral stats.
* <a href="https://couponaffiliates.com/docs/affiliate-registration">Advanced Registration Features</a> - Enable some more advanced affiliate registration features such as custom form fields, dynamic code generator, auto accept, auto registration, and more.
* <a href="https://couponaffiliates.com/docs/affiliate-groups">Affiliate Groups</a> - ASsign affiliates to groups, and customise several options for that group such as their unique commission rates, or access to certain features.
* <a href="https://couponaffiliates.com/docs/pro-creatives">Creatives</a> - Display a creatives section with downloadable banners. Includes preview, download, and copy code buttons.
* <a href="https://couponaffiliates.com/docs/pro-bonuses">Performance Bonuses</a> - Give your affiliates bonuses when they reach certain goals, such as some bonus commission once they reach a certain amount of sales.
* <a href="https://couponaffiliates.com/docs/commission-tracking-and-payouts">Commission Payout Tracking</a> - Affiliates can keep track of total UNPAID commission. Admins can view requested commission payouts from affiliates, and track/manage pending, complete and cancelled payouts.
* <a href="https://couponaffiliates.com/docs/commission-tracking-and-payouts">Commission Payout Requests</a> - Affiliates can request payouts for their pending commission. You can set a payment threshold for commission, and set a delay before commission can be claimed.
* <a href="https://couponaffiliates.com/docs/pro-stripe-payouts">Stripe Payouts</a> - Automatically pay your affiliates in one-click with Stripe!
* <a href="https://couponaffiliates.com/docs/pro-paypal-payouts">PayPal Payouts</a> - Automatically pay your affiliates in one-click with PayPal Payouts!
* <a href="https://couponaffiliates.com/docs/pro-wise-payouts">Wise Bank Transfer Payouts</a> - Automatically pay your affiliates in one-click with Wise Bank Transfer Payouts!
* <a href="https://couponaffiliates.com/docs/pro-store-credit">Store Credit Payouts</a> - Automatically pay your affiliates into a wallet, in one-click, with Store Credit Payouts! Addons are available to integrate with wallet plugins such as TeraWallet or YITH Account Funds.
* <a href="https://couponaffiliates.com/docs/pro-monthly-summary-table">Monthly Summary Table</a> - Show a table with a summary of monthly orders, and total statistics for that coupon for each month in the past 12 months (can be filtered to other months / previous years).
* <a href="https://couponaffiliates.com/docs/line-graphs">Line Graphs</a> - Line graphs on the "Statistics" tab to show commission earned, on a day by day bases, for past 90 days, 30 days, or 7 days.
* <a href="https://couponaffiliates.com/docs/export-to-excel">Export to Excel</a> - Enable a button on coupon pages to export an Excel (CSV) file with a 12 months summary of the individual coupons usage statistics for each month, or the recent orders table.
* <a href="https://couponaffiliates.com/docs/flexible-commission-settings">Custom Coupon Commission</a> - Set custom flexible commission amounts for individual coupons.
* <a href="https://couponaffiliates.com/docs/flexible-commission-settings">Custom Product Commission</a> - Set custom flexible commission amounts for individual products.
* <a href="https://couponaffiliates.com/docs/flexible-commission-settings">Custom User Role Commission</a> - Set custom flexible commission amounts for individual user roles.
* <a href="https://couponaffiliates.com/docs/pro-product-rates-table">Product Rates Table</a> - Show a table with all the products and their commission rates, so affiliates can see which products earn them the most commission.
* <a href="https://couponaffiliates.com/docs/referral-popup">Referral Welcome Popups</a> - Show a referral welcome popup to customers that have been referred by an affiliate, to welcome them and encourage them to use the coupon code.
* <a href="https://couponaffiliates.com/docs/pro-campaigns">Campaigns (Referral URL)</a> - Allow your affiliates to create referral "campaigns" and then create custom URLs to track clicks/conversions per campaign.
* <a href="https://couponaffiliates.com/docs/pro-direct-link-tracking">Direct Link Tracking (Referral URL)</a> - Affiliates can link directly to your website via their website without needing an affiliate link.
* <a href="https://couponaffiliates.com/docs/pro-social-sharing">Social Sharing (Referral URL)</a> - Add social sharing buttons to the referral URL tab, so affiliates can instantly share their generated referral link.
* <a href="https://couponaffiliates.com/docs/pro-short-url">Short URL Generator (Referral URL)</a> - Add a button to the referral URL tab, to allow affiliate users to generate a short URL for their referral link automatically.
* <a href="https://couponaffiliates.com/docs/pro-qr-codes">QR Code Generator (Referral URL)</a> - Add a button to the referral URL tab, to allow affiliate users to automatically generate a QR code for their referral link.
* <a href="https://couponaffiliates.com/docs/pro-monthly-summary-table">Monthly Summary Table</a> - Show a table with a summary of monthly orders, and total statistics for that coupon for each month in the past 12 months (can be filtered to other months / previous years).
* <a href="https://couponaffiliates.com/docs/pro-lifetime-commission">Lifetime Commission</a> - Option to enable "Lifetime Commission" functionality for affiliate referrals, so your affiliates get commission for every future sale by the customers they refer, even if they don't use the coupon again.
* <a href="https://couponaffiliates.com/docs/pro-affiliate-landing-pages">Affiliate Landing Pages</a> - Ability to link a landing page to an affiliate coupon, which will then work the same as a referral URL.
* <a href="https://couponaffiliates.com/docs/subscriptions">Subscriptions: Renewal Limit</a> - With the WooCommerce subscriptions plugin installed, optionally set a "limit" on how many renewals are rewarded. For example, you can set this to reward commission on the first 3 months.
* <a href="https://couponaffiliates.com/docs/pro-automated-conversion-rates">Automated Conversion Rates</a> - Automatically update the multi-currency conversion rates every 12 hours via the Exchangerates API.
* <a href="https://couponaffiliates.com/docs/pro-custom-tabs">Custom Dashboard Tabs</a> - Create your own tabs, to display custom sections and content on the affiliate dashboard.
* and <a href="https://couponaffiliates.com/roadmap">more great features</a> coming soon...

Learn more about Pro and upgrade at <a href="https://couponaffiliates.com">www.couponaffiliates.com</a>

<a href="https://couponaffiliates.com">UPGRADE TO PRO</a>

[youtube https://www.youtube.com/watch?v=REzNmqjvg2E]

## ⚙️ Integrations

Coupon Affiliates was built exclusively as a WooCommerce Affiliate Plugin, however it can also be integrated with other popular eCommerce plugins such as LifterLMS, LearnDash, TutorLMS, MemberPress, and Paid Memberships Pro. <a href="https://couponaffiliates.com/docs-category/integrations">Click here</a> to learn more. It also integrates well with other coupon plugins such as Smart Coupons, and Advanced Coupons.

## 👍 Suggestions and Support

If you have any suggestions for additional functionality, need any help, or have found a bug, please <a href="https://wordpress.org/support/plugin/woo-coupon-usage/">get in touch</a>!

== Installation ==

1. Upload the 'woo-coupon-usage' plugin to the '/wp-content/plugins/' directory.
2. Activate the affiliate plugin through the 'Plugins' menu in WordPress.
3. Follow the setup wizard to generate the affiliate dashboard page, affiliate registration page, and configure the basic settings including your commission rates.
4. Modify additional plugin settings further if needed, found in WordPress admin under menu item "Coupon Affiliates". View the "How To Use" tab for more instructions.
5. Optional: Upgrade to the Pro version via "Coupon Affiliates" > "Upgrade" on the admin menu for more advanced features.

== Frequently Asked Questions ==

= What is a "coupon-based" affiliate plugin for WooCommerce? =
Coupon Affiliates enhances affiliate marketing by integrating coupons as a core feature. Unlike traditional affiliate plugins that rely primarily on referral links, this plugin allows affiliates to share their unique coupon codes. These codes not only track sales for commission purposes but also offer customers immediate discounts or special offers, enriching the purchasing experience. However, the Coupon Affiliates system still maintains the flexibility of referral links; affiliates can share URLs that automatically apply their coupon at checkout, and even if a coupon isnt used, you can still make the link alone track referrals, ensuring affiliates receive credit for every sale referred​​.

= What is the difference between the free and pro versions? =
The free version of Coupon Affiliates includes all the basic features you need to create a coupon-based affiliate program for WooCommerce, including an affiliate dashboard, referral URLs, commission tracking, and more. The Pro version adds many advanced features such as multi-level affiliates (MLM), advanced reports and analytics, performance bonuses, commission payouts, custom tabs, and more. You can view the full list of features on our <a href="https://couponaffiliates.com">website</a>.

= What is the difference between the "Affiliate Dashboard" and "Affiliate Portal"? =
The "Affiliate Dashboard" is the original dashboard page that is generated by the plugin, which includes all the features and statistics for affiliates. The "Affiliate Portal" is a new, modern alternative to the affiliate dashboard, which offers a full-screen interface that aligns with your brand. It includes all the same features as the affiliate dashboard, but with a more user-friendly design and layout.

= Will this work with my existing coupons and orders? =
Yes, once you install the plugin it will look back at the full order history for each coupon, even those created before the installation, and display the stats for these on the coupon affiliate dashboard too.

= How do the affiliate referral URLs work? =
A referral URL is automatically generated for the affiliate, and can be found on their dashboard. This link can then be shared by the affiliate. Anyone that visits the website using that link, will have the coupon code automatically applied to their account on checkout. Clicks are also tracked, and any sales made via the coupon are tracked as conversions.

= Can I assign affiliate users to coupons? =
Yes, you can assign affiliate users to coupons, which will give them direct access to their affiliates dashboard page, without needing to use a unique link. <a href="https://couponaffiliates.com/docs/assign-users-to-coupons">Click here</a> to learn more.

= What kind of coupon usage statistics are shown? =
On the coupon affiliate dashboard, you (and your affiliates) will be able to see a variety of statistics including total uses, discount type, orders total, amount saved, commission earned, and more. You will also be able to see a recent order table (with general info such as date, order total, discount, products, commission etc), and with the pro version you can see a monthly orders/commission summary table for the past 12 months.

= GDPR & Privacy =
All data used and created by the Coupon Affiliates plugin is stored on your own website. We don't track or collect ANY of your affiliate program data ourselves. You can **optionally** opt-in to share some basic usage data which helps us with providing support, fixing bugs, and improving the plugin, and can also opt-out at any time.

= Will there be more features added in the future? =
Yes! New features are added frequently, most of which are based on feedback. So if you have any suggestions to help improve the coupon affiliates plugin, please get in touch!

= Do you provide support? =
Yes. If you need any help setting up the affiliate plugin, please free to <a href="https://wordpress.org/support/plugin/woo-coupon-usage/#new-topic-0">get in touch</a> and we'll be happy to help!

= How can I report issues/bugs with the plugin? =
You can report feature bugs by creating a <a href="https://wordpress.org/support/plugin/woo-coupon-usage/#new-topic-0">support ticket</a>. Please provide as much information as possible to make it easier for us to find a solution for you.

= Where do I report security bugs found in this plugin? =
Please report security bugs found in the source code of the plugin through the [Patchstack Vulnerability Disclosure  Program](https://patchstack.com/database/vdp/9e5fb610-859b-44d5-95a4-697c049fa837). The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.

== Screenshots ==

1. Example of "Statistics" tab on "affiliate dashboard".
2. Example of "Statistics" tab on "affiliate portal".
3. Example of "Recent Orders" (Referrals) tab on the affiliate portal.
4. Example of "Referral URL" tab on the affiliate portal. (PRO: Campaigns, Short URL, QR Code)
5. Example admin list of WooCommerce coupons and their unique links.
6. Example of "Affiliate Registration" form.
7. Example of "Affiliate Registration" admin management page.
8. Example of admin reports & analytics.
9. Example of plugin settings page in WordPress admin.
10. Pro Feature: Example of "Monthly Summary" section on the affiliate portal.
11. Pro Feature: Example of "Creatives" tab on the affiliate portal.
12. Pro Feature: Example of the "MLA" affiliate portal.
13. Pro Feature: Example of "Bonuses" tab on the affiliate portal.
14. Pro Feature: Example of "Payouts" tab on the affiliate portal.
15. Pro Feature: Example of Admin commission payouts management area.

== Changelog ==

= Version 7.8.2 - 1st June 2026 =
- Fix: Fixed an issue where the referred orders table could show one fewer order than the date range stats summary.
- Fix: (PRO) Fixed an issue with the direct domain feature incorrectly reporting that a valid affiliate coupon code does not exist when attempting to add a new direct domain.
- Fix: Fixed an issue with the affiliate portal mobile hamburger menu not being clickable on some browsers, and the menu icon showing over the open sidebar menu.
- Fix: Fixed an issue with administrators not being able to see affiliate orders table for other affiliates on the affiliate portal.
- Fix: Fixed an issue where AJAX affiliate registrations could create an affiliate user account without a saved registration entry if registration storage failed.
- Fix: Fixed a potential issue where in some cases the affiliate portal page would not load and show an error.
- Fix: Fixed an issue with the MLA portal page slug option when changed not updating the MLA portal page link on the affiliate dashboard immediately in some cases.
- Security: Fixed a security vulnerability that could potentially allow an unauthenticated user to view another affiliates recently referred orders stats (reported by Stefano via Patchstack).

= Version 7.8.1 - 15th May 2026 =
- New: Added a new "Privacy & Cookies" settings tab with related options moved into this so they are easier to find, to control the cookie storage and sessions options etc. Also changed sessions to use WooCommerce sessions for the auto-apply coupon backup.
- New: (PRO) Added a new option in "Coupon Checkout Settings" to always allow any other non-affiliate discount coupon to be applied alongside zero-discount affiliate coupons, overriding all individual-use and other coupon restrictions, and an option to completely hide applied affiliate coupons with zero discount on the cart and checkout page.
- New: (PRO) Added a new {coupon_description} merge tag for dynamic landing pages, which outputs the WooCommerce coupon description.
- New: (PRO) Added a "Dynamic Landing Page Template Protection" option to the landing pages settings. When enabled, visiting the base template page directly without an affiliate code will redirect visitors to a configurable URL (defaults to the site root).
- Tweak: (PRO) Improved dynamic creatives loading reliability, performance, and cache-busting when a creative is edited.
- Tweak: (PRO) Affiliates whose saved payout method has been disabled can no longer request payouts (manual or scheduled) and are prompted to select a new method.
- Tweak: Made some styling tweaks to the border radius styling of some elements on the affiliate dashboard and admin pages.
- Tweak: Improved full and partial refund handling so refund recalculations can update saved commission stats when needed, lifetime/referrer tracked orders are included in partial refund payout adjustments, and full refunds update coupon all-time usage totals.
- Tweak: Improved the database table import/export tool to work better when moving data between sites.
- Fix: (PRO) Fixed several QR code issues on mobile browsers: logo not appearing when "Include logo in QR code" was enabled, download button not working, and downloaded files being saved with a .png.html extension instead of .png.
- Fix: Fixed affiliate dashboard tabs becoming unclickable in some setups, particularly when using JS optimisation plugins such as WP Rocket, Autoptimize, or LiteSpeed Cache.

= Version 7.8.0 - 30th April 2026 =
- New: (PRO) Added a "Rewards Log" section to the affiliate dashboard Performance Bonuses tab so affiliates can see a history of the rewards they have earned.
- New: (PRO) Added a "Rewards Log" admin page (Coupon Affiliates > Performance Bonuses > Rewards Log) showing earned rewards across all affiliates.
- New: (PRO) Added a "Custom Event / Action (Non-Order)" trigger type to rewards, allowing extra commission, store credit, and other rewards to be granted for non-order actions through the developer hooks provided.
- New: (PRO) Added a new reward action: "Set new discount rate for the affiliate coupon" - automatically updates the WooCommerce discount type and amount on the affiliate's coupon when the reward is earned.
- New: (PRO) Added a "Hide once earned" option to bonuses, which hides the bonus from the affiliate dashboard after it has been earned and while it cannot be earned again (e.g. hidden for the rest of the week for weekly bonuses, or permanently for one-time bonuses).
- New: (PRO) Added new "Availability Requirements" options to bonuses, allowing you to set specific requirements for bonuses to be available to be earned, such as a minimum number of total referrals.
- New: (PRO) Added new lifetime commission settings to allow applied affiliate coupons to override lifetime commission for an order, with an optional setting to replace the customer's lifetime referrer with the new affiliate coupon.
- Tweak: Made some tweaks to the styling on some of the custom post type admin pages within the plugin to match the styling of the other pages.
- Tweak: (PRO) Improved the layout/formatting of the Trigger (Requirements) section on the Edit Bonus admin page to display better on smaller screens.
- Tweak: Improved the standalone affiliate portal by preventing theme/global styles from loading and adding proper meta title/description tags for shared portal links.
- Tweak: Improved affiliate registration validation to prevent duplicate custom coupon codes from creating or logging in an account before the error is shown.
- Tweak: (PRO) Performance bonus reward checks are now deferred until after order stats and commission have been fully calculated, so rewards that change the affiliate coupon's commission rate only apply to future orders and no longer affect the order that triggered the reward.
- Tweak: (PRO) Improved dynamic landing pages with better functionality, working better with caching, and added new merge tags.
- Fix: (PRO) Fixed an issue where the payout method input field (e.g. PayPal Email Address) was not visible on initial affiliate dashboard page load in some cases.
- Fix: (PRO) Fixed an issue where the MLA dashboard link could break if the MLA portal slug was saved with uppercase letters.
- Fix: Fixed an "Undefined array key" PHP warning for wcusage_field_custom_tabs_icon_{n} in the affiliate portal when custom tab icons had not yet been saved.
- Fix: Fixed an issue where custom affiliate dashboard tab icons were no longer displayed in the standalone affiliate portal in certain cases.
- Fix: Fixed an issue where the affiliate dashboard and admin affiliate view "Referred Orders" lists could show inconsistent subsets of orders since a recent update, especially for lifetime commission and manually assigned orders.
- Fix: Fixed an issue where the affiliate dashboard "Referred Orders" statistics boxes did not reflect the selected order status when filtering by a single status.
- Fix: Fixed the admin "View affiliate dashboard" preview button to use the configured shortcode dashboard page when the standalone affiliate portal is disabled.
- Fix: Fixed a recent bug on the affiliate dashboard "Referred Orders" tab where the number of orders displayed in the table could be lower than the actual referral count.
- Fix: Fixed a bug where in certain cases refund deductions were not being applied to calculations immediately.
- Fix: (PRO) Fixed an issue where dynamic creatives would return a 403 "rest_forbidden" error and fail to display on the affiliate dashboard on some servers/setups.
- Fix: Fixed a bug where affiliate registrations were failing on sites running MySQL with strict mode enabled.
- Fix: Fixed an issue where the affiliate portal page could be treated as a 404 page.
- Fix: (PRO) Fixed an issue where the admin payouts page could show an empty success notice and leave the payout as pending for users that were not the "administrator" role.
- Dev: Added new filters to add custom columns to the affiliate dashboard Referred Orders table and render custom values for each order.

= Version 7.7.3 - 22nd April 2026 =
- Dev: Added a few new hooks to registration functions.

= Version 7.7.2 - 15th April 2026 =
- New: (PRO) Added "Limit to certain user roles & groups?" option to all built-in tab settings in "Affiliate Dashboard Customisation", allowing each tab to be restricted to specific user roles or affiliate groups.
- Fix: Fixed a fatal error on the admin orders list when using WooCommerce HPOS.

= Version 7.7.1 - 14th April 2026 =
- Tweak: Made a few styling tweaks to the admin registrations page.
- Fix: Fixed a fatal error when using WooCommerce HPOS on some admin pages in certain cases, caused by a WC_Order object being passed.
- Fix: (PRO) Fixed a permission issue where the Email Newsletters page could appear blank or inaccessible.
- Fix: Fixed a few small PHP errors and issues.

= Version 7.7.0 - 12th April 2026 =
- New: Completely rebuilt the Admin Reports & Analytics page with a more modern design.
- New: Admin reports now includes additional statistics such as a trends chart, traffic sources, top performers, activity log events, and more.
- New: Added a PDF download option for the admin reports that generates a PDF version of the report.
- New: Added a new affiliate group filter to the admin reports to only include statistics for affiliates in a specific group.
- Improvement: Added an option to the Add New Affiliate form to assign a user to an existing coupon code if the coupon already exists, instead of showing an error.
- Improvement: Added an "assign existing coupon" checkbox to the Bulk Coupon Creator page, allowing bulk imports to assign users to existing coupons instead of failing on duplicates.
- Improvement: Admin reports now auto-generate on page load, with the last report filters that were used.
- Improvement: Added a new small button on the "Statistics" tab of the affiliate dashboard to quickly refresh the statistics without reloading the page.
- Improvement: All-time stats will automatically soft recalculate (only the all-time stats, not individual order stats) in the background when visiting the affiliate dashboard, maximum once per hour, to ensure stats are always up to date even if certain manual changes were made to orders, coupons, etc that might affect the stats without it being reflected in the stats immediately.
- Improvement: Made a variety of improvements to the "recent orders" tab on the affiliate dashboard, including new statistics boxes for custom date ranges, date range preset options, better performance when filtering, CSV export improvements, improved pagination with ajax "show more" and "show all" buttons.
- Improvement: (Free) The admin reports in the free version now offers a larger date range and a few extra features.
- Improvement: The affiliate dashboard tab names can now be customised in the "Affiliate Dashboard Customisation" settings section.
- Tweak: Changed the "Recent Orders" default tab name to "Referred Orders".
- Tweak: Added "Reports" as a top level item in the plugins header area, instead of being under "Other".
- Tweak: Made a few styling tweaks to the main admin dashboard page, and other admin pages to have a slightly more modern and consistent design.
- Tweak: Added some additional caching and performance enhancements to the affiliate dashboard when calculating statistics.
- Tweak: (PRO) Added the "Reverse this payout" option for "Manual" payouts on the admin payouts page.
- Tweak: (PRO) Increased the limit for the PDF invoices upload file field to 1MB.
- Fix: Fixed an issue where affiliate users were not being created when adding individual affiliates or importing via CSV due to output being sent before redirect.
- Fix: Fixed a niche case where in a specific scenario where custom/lifetime assigned orders might not have been included in the dashboards all-time stats in certain cases (case-sensitive).
- Fix: (PRO) Fixed scheduled payout dates drifting over time, so monthly payouts now always fire on the 1st of each month.
- Fix: (PRO) Fixed an issue where toggling the "Enable Scheduled Payout Requests" setting off and back on would not recreate the cron event until the schedule settings were changed.
- Fix: Fixed an issue where submitting an affiliate application with a new coupon code would sometimes incorrectly display a "coupon already exists" error instead of the success confirmation message.

= Version 7.6.0 - 3rd April 2026 =
- New: (PRO) Added a new SMS Notifications feature, to automatically send SMS notifications to affiliates and admins for various events like new referrals, and payout updates. You can customise the SMS messages with your own text.
- New: (PRO) Added a "Send Notification Email" checkbox to the Add New Affiliate and Add New Coupon admin forms, allowing admins to choose whether to send the "Affiliate Application Accepted" email when creating a new affiliate or coupon. The custom message field is now only shown when the checkbox is checked.
- Improvement: Made a few performance improvements to the affiliate dashboard for coupons with lots of orders.
- Improvement: (PRO) Optimised the "Paid" commission query on the Coupons admin table to use a single SUM query instead of fetching all rows and summing in PHP.
- Fix: Fixed an issue where refreshing the page after submitting the affiliate registration form would re-submit the form and create a duplicate registration request.
- Fix: (PRO) Fixed a fatal error ("Cannot access offset of type array on array") on the Affiliate Groups admin page.
- Fix: (PRO) Fixed payment status text on payout statements not being translatable due to an incorrect text domain.
- Fix: Fixed an issue on some websites with the "Default Referral URL Page" setting reverting back to the home page.
- Fix: (PRO) Fixed an issue where affiliates would see an "Email is required" error when saving their payout details (e.g. custom payout username) if the account details fields were not included in the form submission.
- Fix: (PRO) Fixed an issue where the "Affiliate Application Accepted" email was not being sent when an admin manually adds a new coupon for an existing affiliate via the View Affiliate page.
- Fix: Fixed an issue in the free version where some settings tabs where showing empty in some cases since a recent update.
- Fix: (PRO) Fixed an issue where the password reset URL in registration emails did not work on some websites, caused by passing the user ID instead of the username as the login parameter and using an unreliable WooCommerce endpoint URL construction.
- Fix: (PRO) Fixed an issue where using {random} in the coupon format template would cause continuous database queries for non-existent coupon codes on every page load, potentially causing site slowdowns or timeouts.
- Fix: (PRO) Fixed the "Paid" commission amount on the Coupons admin table "Payouts" column showing incorrectly in some cases.
- Fix: (PRO) Fixed an issue where processing/pending commission would disappear from the affiliate's view when an order status changed to "Completed" with delayed commission (payout days) enabled.
- Security: Fixed a potential XSS vulnerability via the visitor IP value logged in referral click (reported by "Nguyen Ba Khanh" via Patchstack).
- Security: Improved sanitisation and escaping in various places across the plugin.
- Other: Tested with WooCommerce 10.6

= Version 7.5.3 - 16th March 2026 =
- Fix: Fixed a fatal error on the admin settings page since the last update.

= Version 7.5.2 - 16th March 2026 =
- New: (PRO) Added a new option in the "Rates" tab settings to hide products with their catalog visibility set to "Hidden" from the product rates table on the affiliate dashboard.
- Fix: (PRO) Fixed a fatal error ("Cannot access offset of type array on array") on the Affiliate Groups admin page.
- Fix: (PRO) Fixed a fatal error ("Unsupported operand types: float * string") in the payouts cron job caused by the coupon commission percent not being cast to a float.
- Fix: Fixed a fatal error ("Call to undefined function wp_get_current_user()") caused by the free plugin deactivation check in some cases.

= Version 7.5.1 - 6th March 2026 =
- Tweak: Made a few small tweaks to the admin settings page.
- Fix: Fixed the "Account Details" form on the affiliate dashboard and portal page not saving when clicking "Save changes".
- Fix: Fixed error messages (e.g. "Email already exists") not displaying under the settings form on the affiliate dashboard and portal page.
- Fix: Fixed a fatal error ("Unsupported operand types: string * int") on the orders panel when a per-product commission was not set, causing the page to break.
- Fix: Fixed the referral popup/bar/widget title showing raw HTML instead of the formatted discount amount (e.g. "$10.00").
- Fix: (PRO) Fixed dynamic landing page URLs (e.g. /page-slug/affiliate-code/) returning a 404 error.

= Version 7.5.0 - 25th February 2026 =
- New: (PRO) Added a new option to set per-group and per-user MLA commission rates, which will override the default MLA commission rates for that user.
- New: (PRO) Added a new option to display a "Rates" tab on the MLA affiliate dashboard, which will show the commission rates for each tier of their MLA network, and also show any custom rates that have been set for that user.
- New: (PRO) Added a new "MLA Users" admin page listing all users that are part of the multi-level affiliate system, with their affiliate details and stats.
- New: (PRO) On the "View Affiliate" page, in the "MLA" tab, added lots more details and statistics about the affiliates sub-affiliates, including their total stats, recent orders, and more. Also added a way to easily remove sub-affiliates or add new sub-affiliates to the affiliate from this tab.
- New: (PRO) If QR codes are enabled, it will now also show the QR code generator for the MLA invite referral links on the MLA dashboard.
- New: (PRO) Added an option to show a "Sub-Affiliate Registrations" section on the MLA dashboard, that allows the parent affiliate to view and manage the affiliate applications from their sub-affiliates. They will also receive email notifications when they get new sub-affiliate applications, and can approve/reject them from the MLA dashboard.
- New: (PRO) On the affiliate page, if the payout information totals (processing, unpaid, pending, paid) do not match the "total commission", added a "unaccounted commission" row with a message explaining why that may be the case.
- Improvement: (PRO) Added extra columns to the Affiliate Groups admin page, showing each group's commission rates, assigned template coupon, and enabled payout methods.
- Improvement: (PRO) Added a field when editing coupons to modify the "processing commission" amount.
- Improvement: Added filters to the admin activity log page.
- Improvement: (PRO) On the MLA affiliate dashboard, added pagination to the "Your latest invites" section.
- Improvement: (PRO) Renamed "Pending Commission" to "Processing Commission" across the plugin for less confusion with the "Pending" status for payouts.
- Tweak: (PRO) On the "View Affiliate" page, the "Payouts" tab and the "Unpaid" column in the coupons table are now only shown when the payout tracking setting is enabled.
- Tweak: MLA unpaid commission changes are now added to the activity log.
- Tweak: Updated the JS method for setting cookies when headers have already been sent, to be more reliable in some cases.
- Tweak: reCAPTCHA and Turnstile now load on the floating widget registration form if enabled.
- Tweak: Made some design improvements on mobile to the view affiliate page.
- Tweak: Added a search field to the "PRO Modules" settings tab.
- Fix: Fixed an issue where the affiliate registration form would incorrectly show a "coupon already exists" error when submitting with a new coupon code, due to a compatibility issue with newer versions of WooCommerce.
- Fix: Fixed some issues with per-group fixed commission not showing visually in some cases.
- Fix: Fixed Turnstile rendering twice in some cases.
- Fix: Fixed PHP warnings for undefined variables in the mobile dropdown menu section of the affiliate dashboard.
- Fix: Fixed a bug where referred orders could be counted twice in the coupon all-time statistics.
- Fix: (PRO) Fixed payout request button not working in some cases when invoice uploads are not enabled, due to a missing JavaScript validation function.
- Fix: (PRO) Fixed processing commission being added twice for some orders due to an HPOS compatibility issue.
- Fix: Potential fix for issues with the WP Compress plugin.
- Fix: (PRO) Fixed a bug where affiliate bonuses with a "Once Per Month" (or other period) trigger could become permanently locked if the reward date meta was missing, preventing the bonus from ever being awarded again.
- Fix: (PRO) Fixed a bug where removing all affiliate group restrictions from a bonus would not clear the saved restriction, causing affiliates to be silently excluded from earning the bonus.

= Version 7.4.0 - 14th February 2026 =
- New: Added new "referral welcome popups" functionality.
- New: When using the regular shortcode dashboard page, added a new "dark mode" option to the design settings tab that can be enabled.
- New: Added a "Clear Cache" button to the admin dashboard page to manually refresh all cached statistics and data on demand.
- Improvement: When a payout method is not selected, the payouts tab now displays the payout settings form directly instead of just showing a message to go to the settings tab.
- Tweak: Small changes to the admin notifications.
- Tweak: Improved reliability of affiliate registration form shortcode to prevent intermittent display issues caused by database/cache failures.
- Tweak: Major performance improvements across the plugin with transient caching (dashboards/stats/leaderboards/admin pages) and optimized database queries to dramatically reduce load times on high-volume sites.
- Tweak: Improved Affiliate Users List and Coupons List performance with optimized meta_query filters and transient caching.
- Tweak: Added static in-memory caching to order commission calculations to prevent duplicate calculations within the same page load, significantly improving performance on admin dashboards and reports.
- Tweak: Optimized admin notification bell with 5-minute transient caching and direct SQL queries, reducing database load by ~95%.
- Tweak: Modernised the loading animation and text on the affiliate dashboard with a clean spinning ring spinner, improved typography, and proper dark mode support.
- Fix: Fixed incorrect landing page tracking in referral URL clicks log.
- Fix: Resolved duplicate click entries being created when referral links are visited.
- Fix: Homepage visits via referral links now properly display as "Homepage" in the clicks log instead of showing empty or incorrect values.
- Fix: Fixed fatal error on settings page caused by array_key_exists() receiving null instead of array in PHP 8+ when checking user role capabilities.
- Fix: Fixed affiliate dashboard tabs not loading content when "Ajax Loading" is disabled and "Load tabs as separate pages" is enabled.
- Fix: Resolved JavaScript errors preventing proper functionality in the portal when AJAX loading is disabled by fixing invalid jQuery syntax.
- Fix: Fixed issue on the Coupons and Referrals pages where pressing Enter in filter inputs would trigger the bulk action form validation error instead of applying the filters.

= Version 7.3.2 - 4th February 2026 =
- Tweak: Update to the way settings are saved to be more reliable and sets defaults properly.
- Tweak: A few tweaks to the admin settings page.
- Tweak: Several small code improvements and optimizations throughout the plugin to better meet coding standards.
- Tweak: Stats will no longer auto-refresh on the affiliate dashboard/portal when changing rates, if the "never update the saved commission" setting is enabled.
- Tweak: Some tweaks to ensure admin settings save properly in some cases.
- Tweak: Small tweaks to the design and layout of the plugins admin header area.
- Tweak: (PRO) Updated styling for the "MLA Tier Commission Rates" tiers on the settings page.
- Fix: Resolved mobile dashboard tab dropdown issues and PHP warnings caused by undefined dashboard tab settings.
- Fix: Added no-cache headers for admin settings page and AJAX settings saves to prevent cached/stale saves on some hosts.
- Fix: Fixed an error showing in the order/sales tracking settings.

= Version 7.3.1 - 29th January 2026 =
- Tweak: (PRO) Added support for special characters in payout statement PDF generation.
- Tweak: Disabled cache/minify/lazyload optimizations on affiliate dashboard and portal pages to prevent settings/portal save issues.
- Tweak: (PRO) Added AJAX loading for the 'couponaffiliates-leaderboard' shortcode with a loading animation.
- Tweak: (PRO) Added an "AJAX load" toggle to the leaderboard generator and 'ajax="no"' shortcode option to render immediately.
- Tweak: (PRO) Added MLA payouts to the admin manual "create payouts" page.
- Tweak: Made a few improvements to the affiliate dashboard mobile header and side menu on mobile.
- Tweak: (PRO) Added pending commission to the view affiliate admin page.
- Fix: Resolved reordering behavior for custom registration form fields when using the move buttons in some cases.
- Fix: (PRO) Leaderboard "Current Month" now calculates on demand when monthly stats haven’t been cached yet.
- Fix: Prevented "Invalid coupon" fatal errors when deleted coupons are recreated with the same code.
- Fix: Hardened affiliate dashboard AJAX handlers to avoid infinite loading when coupons are missing or recreated.
- Fix: (PRO) Fixed group fixed-order commission being ignored when percentage commission was also set.
- Fix: (PRO) Fixed performance bonuses not triggering due to incorrect user role matching.
- Fix: Registration submissions now work when auto-login after registration is disabled.
- Fix: Prevented creating user accounts when registration fails due to an existing coupon code, avoiding username-exists errors on retry.
- Fix: (PRO) Prevented PHP errors/warnings when dividing empty values or with empty strings in some cases.
- Fix: Fixed an issue with changing color text fields not auto-saving.

= Version 7.3.0 - 13th January 2026 =
- New: (PRO) Added new "Pending Commission" feature for commission payouts tracking.
- New: (PRO) Added an option to only auto-accept registrations for certain user roles or groups.
- New: Added an option to customise the pending affiliate registration message.
- Tweak: (PRO) For the "Custom Form Fields" radio field, added an "options" setting to define the different options/values.
- Tweak: (PRO) Improved the layout of the checkbox and radio fields on the affiliate registration form.
- Tweak: Small tweaks and fixes for the view affiliate admin page.
- Tweak: Improvement to the IP address logging for referral URL clicks.
- Tweak: Added a close button to the mobile sidebar menu on the affiliate portal.
- Tweak: Made a few precautionary security improvements.
- Tweak: Improvement to the speed of generating admin reports.
- Tweak: Made a tweak to the delayed commission cron job logic to check previous days that may have been missed.
- Fix: Fixed an issue with the admin reports not generating if orders contained deleted products.
- Fix: Fixed an issue with the CSS and JS not loading properly after submitting the affiliate registration form.
- Fix: Fixed a potential issue with unintended user role removal when editing users.
- Fix: Fixed an issue with not being able to add new affiliates when the coupon code previously existed but was deleted from a previous affiliate registration that was accepted.
- Fix: (PRO) Fixed an issue in some cases with not being able tot save the payout settings on the affiliate dashboard.
- Fix: (PRO) Fixed an issue with affiliate group commission rates when the user was assigned to multiple user roles. It will now get the highest commission rate from the roles assigned.

= Version 7.2.3 - 15th December 2025 =
- New: Added a alternative method of creating the cookies for referral link tracking, with JS, when headers have already been sent, which can sometimes happen with certain themes/plugins.
- Tweak: Made a few tweaks to the cookie system to be more reliable in some cases.
- Fix: Fixed a potential issue on the MLA dashboard when viewing a sub affiliate dashboard as the parent affiliate in some cases.
- Fix: Fixed a potential PHP error when the registration form when the coupon is empty.
- Fix: Fixed an issue since the last update, with the fields on the admin "affiliate registrations" page not showing properly in some cases.
- Fix: (PRO) Fixed an issue since the last update, on the floating widget, with the social share buttons not showing properly.

= Version 7.2.2 - 9th December 2025 =
- New: (PRO) Added [affiliate_qrcode] shortcode to display the QR code for the affiliate's referral URL on any page.
- Improvement: Improved the performance of the "Affiliate Orders" admin page.
- Tweak: Added support for some store credit plugins in some cases causing issues with the commission calculations.
- Tweak: Updated "Failed" orders to also show stats as 0.00 on the affiliate dashboard statistics.
- Tweak: Made a few code tweaks and improvements throughout the plugin to better meet coding standards.
- Fix: Fixed the affiliate order cancellation emails showing the commission amount as 0.00.
- Fix: Fixed a potential issue with switching tabs on the affiliate dashboard in some cases.
- Fix: Fixed a potential PHP error in PHP 8.3+ when calculating order data in some cases.
- Fix: (PRO) Small fix for QR code generation in some cases.
- Other: Tested with WordPress 6.9.

= Version 7.2.1 - 12th November 2025 =
- New: Added an option in "Commission > Advanced Calculation" Settings to choose the commission rounding mode (Round to nearest or Round down/truncate).
- New: Added a new option to the fraud settings: Require customers to visit the affiliate referral link before applying their coupon.
- New: Added clearer options to show the login form and registration for on the affiliate portal or dashboard page.
- Tweak: Added a warning message under the "Affiliate Portal" toggle when "Anyone can register" is disabled, and defaults the registration form to hidden.
- Tweak: Made some tweaks/improvements to the "User role required for plugin admin capabilities" setting functionality.
- Tweak: On the view affiliate page, when the a coupons statistics need calculating, it now show the coupon and "calculate statistics" button for those coupons next to the message.
- Fix: Fixed an issue with the "Affiliate User" field dropdown when editing a coupon.
- Dev: Added developer hook "wcusage_before_payout_submit" a payout is made.
- Other: Updated to Freemius SDK 2.13.0.

= Version 7.2.0 - 4th November 2025 =
- Improvement: Made some changes to the admin dashboard page, and added ajax pagination to all the different sections.
- Tweak: Made a variety of code improvements and optimizations throughout the plugin to better meet coding standards.

= Version 7.1.5 - 4th November 2025 =
- Tweak: Added a warning message on the "affiliate registration form" settings if "Anyone can register" is disabled.

= Version 7.1.4 - 4th November 2025 =
- Tweak: Fixed and issue on the affiliate orders page.

= Version 7.1.2 - 4th November 2025 =
- Tweak: Security improvement.

= Version 7.1.0 - 28th October 2025 = 
- New: Added filters to the "Affiliate Orders" admin page.
- New: (PRO) Added an "Export Orders" button to the "Affiliate Orders" admin page to export the filtered orders list to a CSV file.
- New: The "Affiliate Orders" admin page is now displaying the total items and pages on the pagination.
- New: Added filters to the "Affiliate Coupons" admin page.
- New: Added a "sort by" option to the admin "Affiliate Coupons" page.
- New: (PRO) Added filters to the "Commission Payouts" admin page.
- New: (PRO) Added an "Export Payouts" button to the "Commission Payouts" admin page to export the filtered payouts list to a CSV file.
- New: (PRO) Updated the "Statements" admin page to have more columns and details, and a download button, for each statement.
- New: (PRO) Updated the "Performance Bonuses" admin page to have more columns and details, for each bonus.
- Improvement: You can now drag and reorder the sections on the admin dashboard page.
- Tweak: On the admin dashboard, the "Affiliate Program Statistics" now shows "This Month" as the default, with "Last 7 Days" moved to the last option.
- Tweak: The core WooCommerce orders page "Coupon Affiliate" column now shows the coupon, user, and commission.
- Tweak: (PRO) For the product rates tab, added an option to choose the "product price display", choosing whether the coupon discount is applied to the price that is shown.
- Fix: The "affiliate portal logo" will now automatically save when selecting a new image from the media library.
- Fix: Fixed an issue with the affiliate coupons admin page sometimes showing empty rows.
- Fix: Fixed an issue with the "filter by coupon code" not working on the WooCommerce orders admin page with HPOS.
- Fix: (PRO) Fixed an issue with the MLA portal not loading scripts properly, so some things like copy to clipboard were not working.
- Fix: (PRO) Fixed an issue with not being able to edit the PRO settings in the "Registrations" settings tab.
- Fix: (PRO) Partial fix for some broken text output on PDF statements.

= Version 7.0.3 - 17th October 2025 =
- Tweak: Small tweak to the admin notifications dropdown.
- Tweak: Added a bulk "Save All" button with AJAX saving is enabled, when switching from the legacy option.
- Fix: Fixed a PHP error when special characters are used in the custom "affiliate" text.
- Fix: Fixed an issue with the settings page redirect after opting in on plugin activation.

= Version 7.0.2 - 16th October 2025 =
- Fix: Fixed an issue with ajax saving on the settings page not working in some cases.

= Version 7.0.1 - 14th October 2025 =
- Tweak: Made a few small tweaks and fixes to the settings page, and saving settings functionality.
- Fix: Fixed an issue with the admin users list and affiliate user page "payouts" details showing incorrectly in some cases.
- Fix: Fixed an issue with disabling the "Enable Affiliate Registration Features" option on step 2 of the setup wizard not letting you continue.

= Version 7.0.0 - 14th October 2025 =
- New: Updated the header bar on the plugins admin pages to include a more useful menu with quick links to important pages.
- New: Added a new "notifications" icon to the header bar on the plugins admin pages, which will when there is new referrals, pending registrations, payout requests, and more.
- New: On the admin dashboard, added a new sidebar with an "Affiliate Overview" showing the total number of affiliates, latest affiliates, and top affiliates.
- New: Updated the layout of the plugins settings page with the navigation tabs now on the left side.
- New: Made improvements to the "Affiliate Dashboard Customisation" settings section for simpler tab customisation.
- New: You can now re-order the tabs on the affiliate dashboard and affiliate portal via drag and drop in the "Affiliate Dashboard Customisation" settings.
- New: Added an option to the admin reports to filter by user group/role when "only show coupons assigned to an affiliate user" is enabled.
- New: (PRO) Added an option to disable the invoice upload option for certain payout methods.
- New: (PRO) Added an option to include a square image/logo in the center of the QR code generated for referral URLs.
- New: (PRO) New merge tags added to the "Dynamic Code Generator" settings: {first_name}, {last_name}, {first_name_initial}, {last_name_initial}. Also added a new filter for developers to make custom changes to the generated code.
- New: (PRO) Added mailjet.com as a new option for the mailing list integrations.
- New: (PRO) Added a new option to the built-in store credit payout method to "enable multi-currency support for store credit".
- New: (PRO) For the "custom tabs" added an option to set the tab in the menu to "open as external link instead of tab".
- Tweak: (PRO) Added details about the built-in newsletter system in the mailing list integrations settings section.
- Fix: Fixed the "Subscribe to Affiliate Newsletters" option showing on the settings tab of the affiliate dashboard even when disabled in the settings.
- Fix: Fixed an issue with the settings page redirecting to the dashboard page on some websites.
- Fix: Fixed some issues with the "search settings" feature on the settings page.
- Fix: Fixed a potential issue with saving settings in some cases.
- Other: Updated translations.

= Version 6.8.2 - 23rd September 2025 =
- Tweak: (PRO) Updated the registration form "Custom Fields" settings section to allow dynamically adding and removing fields more easily without needing to refresh the page.
- Fix: Potential fix to an issue with some websites when bulk saving the settings.
- Fix: Fixed an issue with Freemius "opt in" for the free version on activating the plugin.
- Other: Updated to Freemius SDK 2.12.2.

= Version 6.8.1 - 18th September 2025 =
- Tweak: Removed the blue outline on the affiliate portal login form and registration form fields.
- Tweak: New installs will now automatically save the default settings on the setup wizard even if they do not visit the settings page.
- Security: Fixed a potential small "Broken Access Control" vulnerability bug (reported by "Legion Hunter" via Patchstack).

= Version 6.8.0 - 15th September 2025 =
- New: Added a new "Email Newsletter" feature to the plugin. This allows you to send custom email newsletters to all your affiliates, or specific groups of affiliates. You can create and send newsletters directly from the WordPress admin area, and view a log of all sent newsletters.
- New: Added a new referral link click "Attribution Model" option to the plugin settings, to allow you to choose between "Last-click" or "First-click" attribution for the referral URL tracking. This will determine whether the first or last referral URL used by a customer is credited with the conversion when they place an order.
- Tweak: (PRO) The custom payout amount field on the affiliate dashboard payouts tab is now always 2 decimal places.
- Fix: Fixed an issue with deleting admin accounts triggering user roles to be deleted.
- Fix: Fixed a potential PHP warning on the floating widget when a coupon has no statistics yet.

= Version 6.7.0 - 8th September 2025 =
- New: Added new "view affiliate" page that allows admins to view detailed information about each individual affiliate, with a summary of their coupons, statistics, referrals, payouts, activity and more. It also includes options to edit the affiliate user. All previous edit affiliate links now go to this new page.
- New: On the "Coupon Affiliate Users" page, added a new "actions" column with a "view" link, and a "delete" button that has 4 different options for deleting the affiliate users or their coupons.
- New: On the "Coupon Affiliate Users" page, added a new "sort by" filter to sort the users by total referrals, sales, commission, or unpaid commission.
- New: Added a new search box to the admin settings page, that lets you look for specific settings on the page more easily.
- Tweak: Made some changes to the admin "registrations" page including adding some "view affiliate" and "view dashboard" buttons to the action column for accepted registrations.
- Fix: Fixed an issue with some websites not being able to save settings properly.
- Fix: Fixed an issue with the referral URL displayed on the affiliate dashboard not being encoded, so coupons with symbols in them were not working properly.
- Fix: Fixed an issue in some cases where if certain order statuses were selected to show on the affiliate dashboard, certain orders were not updating the "total" or "monthly summary" stats properly.
- Fix: Fixed a potential PHP error on the admin registrations page.

= Version 6.6.0 - 28th August 2025 =
- New: Added new "bulk actions" functionality for the admin affiliate registrations page, which allows you to bulk accept, decline or delete up to 20 registrations at once.
- New: Added new "bulk actions" functionality for the admin coupons page, which allows you to bulk delete or unassign affiliates from multiple coupons at once.
- New: Added new "bulk actions" functionality for the admin commission payouts page, which allows you to complete bulk payouts for up to 10 at once, as long as they are the same status and payment method.
- New: Added a new filter to the admin commission payouts page to filter payouts by payment method.
- Tweak: Made a few tweaks throughout the code to improve precautionary security checks, and follow best practices.
- Fix: Added a potential fix to a rare issue on some sites where referral links would always land on "page not found".
- Fix: Fixed an issue with the floating widget showing HTML code for the discount amount when it is a fixed amount.

= Version 6.5.3 - 15th August 2025 =
- Improvement: Made a few small improvements to the mobile version of the affiliate dashboard, affiliate portal, and admin dashboard.
- Fix: Fixed an issue with the affiliate registration form on the affiliate dashboard page when logged out.
- Fix: Fixed an issue with updating the account details on the affiliate dashboard sometimes causing the email address to be empty.
- Fix: Fixed an issue with enabling Wise Payouts.

= Version 6.5.2 - 12th August 2025 =
- Fix: Fixed a potential PHP error.
- Fix: Fixed an issue with the pay button being missing for the store credit payout method on the admin payouts page.

= Version 6.5.1 - 9th August 2025 =
- New: Added an option to apply custom CSS to the affiliate dashboard and affiliate portal pages in the design settings tab.
- New: Added an option to choose a custom font to be used on the affiliate portal page in the design settings tab.
- Tweak: Made some styling/alignment tweaks to the admin reports page.
- Tweak: Added a check on the "Add New Affiliate" admin page if the username does not exist, but an existing email address is used. This will now show a warning message.
- Tweak: Made some tweaks/fixes to the affiliate portal page on dark mode.
- Fix: Fixed an issue with the "Allow logged out users to register as an affiliate" option on the affiliate portal.
- Fix: (PRO) Fixed an issue with the dynamic coupon code generation on the affiliate portal ajax registration form.
- Fix: (PRO) Fixed an issue with the PDF affiliate report emails not applying CSS styles.

= Version 6.5.0.1 - 1st August 2025 =
- Fix: Fixed an issue with the action buttons ("Paid" and "Cancel") on the admin payouts page not showing in some cases for manual payout methods.

= Version 6.5.0 - 31st July 2025 =
- New: (PRO) Added a new "Wise Payouts" feature to the plugin.
- New: (PRO) Added an option when "Automatic Payouts" is enabled, to "only enable automatic payouts for specific payout methods".
- Fix: Fixed an issue with the admin affiliate dashboard links when a coupon contains a "&" character.
- Other: Tested up to WooCommerce 10.0.

= Version 6.4.2 - 4th July 2025 =
- New: Added a new "custom affiliate terminology" setting to the plugin "design" settings tab, that allows you to change the word "affiliate" to something else, such as "referrer", "partner", etc. This will change the terminology used throughout the plugin.
- Tweak: Made some changes to the setup wizard.
- Tweak: Improved the alignment of the terms and conditions checkbox on the affiliate registration form.
- Tweak: Made some tweaks to some of the ajax nonce checks for the wcusage_update_all_stats_data endpoint.
- Fix: Fixed an issue with the options to show or hide on mobile or tablet devices for the floating affiliate widget.
- Fix: Fixed an issue with the option to show or hide on "Specific Pages (URLs)" for the floating affiliate widget.
- Fix: Fixed an issue with the sidebar on the settings page for the free version of the plugin.
- Fix: Fixed an issue with the admin "Add New Affiliate" page showing a "you do not have access" error when the affiliate registration system was disabled.

= Version 6.4.1 - 4th July 2025 =
- New: Added a new "Export Affiliate Users" button to the "Affiliate Users" admin page, to export a CSV file with all affiliate users and their details.
- New: Added a bulk action on the "Affiliate Orders (Referrals)" admin page, to bulk "Update Unpaid Commission" for all selected orders. This will trigger the granting of unpaid commission for completed orders that have not already been granted commission.
- Improvement: On the floating affiliate widget, if statistics need to be refreshed for the affiliate coupon, it will show a message and button for this.
- Improvement: When adding a new affiliate, either by approving an application, or adding an affiliate manually, it will no longer show the "calculating stats" loading bar the first time the dashboard is loaded for that affiliate coupon.
- Tweak: Implemented some image file size limits for the creatives to prevent performance issues with large images.
- Tweak: The floating affiliate widget is now hidden from the affiliate portal pages if the "hide on affiliate pages" option is enabled.
- Fix: Fixed an issue with the search on the "Coupons" admin page.
- Fix: Fixed an issue with the message displayed after submitting the affiliate registration form in some cases being showed in the wrong place.
- Fix: Fixed an issue with the affiliate portal registration form sometimes generating 2 coupons for the affiliate if auto accept was enabled.
- Fix: Added a nonce check for bulk actions on the "Affiliate Orders (Referrals)" admin page as a security precaution.
- Fix: Added a nonce check for the wcusage_update_all_stats_data endpoint to prevent unauthorized access.
- Other: Updated translations.

= Version 6.4.0 - 2nd July 2025 =
- New: Added a new "Floating Affiliate Widget" feature to the plugin.
- Improvement: Improved the bulk edit coupons feature to only loop through coupons that have actually been edited.
- Tweak: Made a few tweaks to the design of some admin pages.
- Tweak: Made a few tweaks to the setup wizard.
- Fix: (PRO) Fixed an issue with the admin "payouts" page where the buttons were not showing properly in some cases.
- Fix: (PRO) Fixed an issue with the "Request Payout" button for manual payout methods when the payout details field is disabled.
- Fix: (PRO) Fixed an issue with some of the payouts settings not displaying properly in certain cases.

= Version 6.3.9 - 16th June 2025 =
- Improvement: Improved the admin "Add New Affiliate" page form with conditional checks for the username and coupon code fields, improving the user experience.
- Fix: Fixed a few potential PHP warnings.
- Fix: Fixed an issue with flush_rewrite_rules() being called when it does not need to be in some cases.
- Fix: (PRO) Fixed an issue with the copy button on the "Rates" table not working in some cases.

= Version 6.3.8 - 28th May 2025 =
- Security: Fixed a potential CSRF vulnerability bug (reported by "lucky_buddy" via Patchstack).

= Version 6.3.7 - 23rd May 2025 =
- Tweak: Made a few small styling improvements to the mobile version of the affiliate dashboard.
- Tweak: Made a few small styling tweaks to the affiliate portal and performance bonuses tab.
- Fix: Fixed an issue with the affiliate dashboard constantly reloading for some coupons in certain cases.
- Fix: Fixed an issue with the affiliate registration form not showing for logged in users on the affiliate portal page even when enabled in the settings.
- Fix: Fixed an issue with the fixed commission per product rates setting in some cases.
- Fix: (PRO) Fixed the "Payouts" tab still being visible on the affiliate portal even if payouts are disabled.

= Version 6.3.6 - 9th May 2025 =
- Tweak: When generating a new coupon code, it will now remove the all-time stats copied from the template coupon if it had any saved.
- Tweak: Made some small tweaks to the affiliate registration form and submission message.
- Tweak: Improved the loading animation on the affiliate dashboard page.
- Fix: Fixed an issue with the affiliate registration form not working properly on the affiliate portal when the "user the email address as username" option is enabled.
- Fix: Fixed a PHP warning on the MLA dashboard page.
- Dev: Added a "wcusage_url_include_slash" filter to remove the trailing slash from the referral URL.

= Version 6.3.5 - 24th April 2025 =
- Improvement: Performance improvement for the "Affiliate Users" admin page when there are a lot of users.
- Tweak: Small change to the loading animation on the affiliate dashboard.
- Fix: Fixed a potential PHP error "access array offset on value of type null" in some cases.

= Version 6.3.4 - 22nd April 2025 =
- New: Added a new option to the "registration" settings to choose whether or not to automatically log the user in after registration.
- Tweak: Made a few small changes to the setup wizard to improve the user experience.
- Tweak: Made a few small "quality of life" tweaks and improvements to some admin pages in the plugin.
- Fix: Potential fix for the MLA option "Deduct parent affiliate commission from sub-affiliate commission".
- Other: Updated "Spanish" translations with reviewed and modified version.

= Version 6.3.3 - 15th April 2025 =
- Fix: Fixed a potential PHP fatal error in the PRO version.

= Version 6.3.2 - 14th April 2025 =
- Fix: Fixed a potential PHP fatal error if both the free and pro versions are activated at the same time.

= Version 6.3.1 - 14th April 2025 =
- Security: Fixed a small XSS vulnerability bug (reported by "wesley" via WordFence).
- Fix: Fixed some potential PHP warnings.

= Version 6.3.0 - 14th April 2025 =
- New: (PRO) Added new "Terms and Conditions" generator tool to the plugin, that will help you generate a simple terms and conditions page for your affiliate program.
- Improvement: Updated the "Affiliate User" field on the edit coupon page to be more user friendly, and added a field to change it in the meta box too.
- Tweak: Added buttons to generate the affiliate dashboard and affiliate registration pages automatically if they do not exist, or the current select page does not contain the shortcode.
- Tweak: (PRO) When saving settings in the payout settings tab on the affiliate dashboard, it will now reload the page if the payout method was changed.
- Tweak: (PRO) Made a few small styling tweaks to the MLA portal page.
- Fix: Fixed a potential timezone issue with the scheduled payouts feature.
- Fix: Fixed a PHP error with the MLA total earnings calculator when the user has no parents.
- Fix: Fixed the new quick edit feature for coupons setting the commission rates to 0 if the rates were left blank.

= Version 6.2.2 - 9th April 2025 =
- Tweak: Permalinks are now automatically flushed when enabling the "affiliate portal" in the setup wizard.
- Fix: Fixed some PHP errors on the affiliate portal page.
- Fix: Fixed an issue with the "wcusage_register" registrations table not being created properly on some sites.
- Other: Updated "Russian" translations.
- Other: Added "Dutch" translations.

= Version 6.2.1 - 8th April 2025 =
- Tweak: Made a few styling tweaks and improvements to some of the admin pages in the plugin.
- Tweak: Made a few styling tweaks to the affiliate portal page.
- Fix: Fixed an issue with having more than 1 custom tab not working on the new "affiliate portal" page.
- Fix: Fixed the tab links on the affiliate portal to overflow to a new line if the text is to long to fit on one line.
- Fix: Fixed an issue with submitting the affiliate registration form on the affiliate portal page with 2FA plugins enabled.
- Fix: Fixed an issue with submitting the affiliate registration form on the affiliate portal page not showing the "other information" on the admin registrations page.
- Fix: Fixed an issue with submitting the affiliate registration form on the affiliate portal with CAPTCHA enabled.
- Fix: When switching between the affiliate portal and affiliate dashboard, it will now properly clear/flush permalinks to prevent 404 errors in some cases.
- Other: Updated "Russian" translations with reviewed and modified version.
- Other: Updated "Ukrainian" translations with reviewed and modified version.

= Version 6.2.0 - 7th April 2025 =
- New: On the "Coupon Affiliates > Coupons" page, added a new "Quick Edit" button that will allow you to quickly edit some of the coupon codes, and the assigned affiliate user, without needing to open the full edit page.
- New: Added a new "Add a tracking coupon to this order" link to processing and completed orders that lets you add an affiliate coupon to the order for tracking, but it will not apply the discount.
- New: Added a "X" remove button next to each affiliate coupon in the "Coupon Affiliate" meta box for individual orders, when the order is processing or completed, to unlink that coupon from the order in affiliate statistics.
- Improvement: On the plugins main admin dashboard page, updated the statistics to have toggles for last 7 days, this month, and last month. Previously it only showed the last 7 days.
- Improvement: Added an activity tracking event for editing any of the 3 commission rates, as well as "unpaid commission" and "pending commission" amounts for affiliate coupons.
- Tweak: The affiliate orders page will now show all the affiliates for the order if there are more than one affiliate coupons assigned to the order.
- Tweak: Added a search documentation feature to the plugins "help" settings tab, that searches the documentation from our website and displays the results.
- Tweak: Moved the "Settings updated successfully" message on the settings tab of the affiliate dashboard above the "Save changes" button.
- Tweak: Made a few styling tweaks and improvements to some of the admin pages in the plugin.
- Tweak: (PRO) For the "Multiple Template Coupons" options, added a error message if the current entered coupon code does not exist.
- Fix: Fixed an issue with the "Settings" tab on the affiliate dashboard page.
- Fix: (PRO) Fixed an issue with the "copy" button not working on the "rates" table on some browsers.

= Version 6.1.0 - 3rd April 2025 =
- New: Added a new "Signup Promo Page Generator" tool to the plugin, that will help you generate a simple landing page for you to promo your affiliate program that has some details about the program, and a signup form for users to apply as an affiliate.
- Tweak: The affiliate registration form on the affiliate portal now submits via ajax, so the page will not refresh when submitting the form. This should help prevent certain issues.
- Tweak: The settings on the affiliate portal and dashboard are now saved via ajax, so the page will not refresh when saving the settings.
- Tweak: The "Account Details" settings tab on the affiliate portal and dashboard has been changed to a custom form (instead of the WooCommerce account form) with a consistent design and some extra fields.
- Tweak: Permalinks are now automatically flushed when changing the affiliate portal URL slug.
- Fix: Fixed an issue with not being able to update/save some of the settings since a recent update.
- Fix: (PRO) Fixed an issue with the "Lifetime Affiliate: Expire Date" on new registrations being set even when expiry days is 0.
- Fix: (PRO) Fixed an issue in some cases where unpaid commission was not being granted to all affiliates/coupons if multiple coupons were used in the same order (and if this is allowed in the fraud settings).

= Version 6.0.5 - 1st April 2025 =
- Fix: Fixed the affiliate portal redirect not working properly for some sites (overridden by another plugin or theme).

= Version 6.0.4 - 26th March 2025 =
- Tweak: The admin add new affiliate form is now hidden if the template coupon has not been created and set in the settings.
- Tweak: On the "recent orders" tab made the "time" column display on one line with a larger minimum width.
- Fix: Fixed a small styling issue with the footer of the "recent orders" table on the affiliate dashboard.
- Fix: (PRO) Fixed an issue with not being ablef the settings in the PRO version since a recent update.
- Fix: (PRO) Fixed an issue with the "Show All Product Variations" option not working for the "Product Rates" tab.
- Other: Tested with WordPress 6.8

= Version 6.0.3 - 20th March 2025 =
- Tweak: Made a few small styling improvements to the affiliate portal.
- Tweak: Made some small changes to the setup wizard.
- Tweak: Made some optimisations to the MLA portal page and fixed an issue with ajax loading when viewing the dashboard for another user (as admin or parent).
- Fix: (PRO) Fixed the "Sub-Affiliates" tab content showing twice on the MLA portal page when first viewing it.
- Fix: (PRO) Fixed an issue with the MLA Network section for mobile on the MLA portal page.
- Fix: (PRO) Fixed an issue with the MLA invite links if the username has spaces in it.
- Fix: Fixed a potential issue with the "Per-Affiliate Product Commission Rates" options in some cases.
- Fix: Fixed PHP error "Undefined variable $wcusage_justcoupon" on the admin orders list page.
- Fix: Fixed a potential issue with the admin "Add New Affiliate" page form.

= Version 6.0.2 - 18th March 2025 =
- Fix: Fixed the "enable affiliate portal" option not saving in the setup wizard.
- Fix: Light mode will now be the selected mode by default on the affiliate portal.
- Fix: Fixed the alignment of the statistic boxes on the affiliate dashboard in some cases.

= Version 6.0.1 - 18th March 2025 =
- Tweak: Made a few small styling tweaks/fixes to the affiliate portal.
- Fix: Permalinks are now automatically flushed when enabling the "affiliate portal" feature. This should fix the page not showing correctly after enabling the feature.
- Fix: Fixed the logged out page on the new affiliate portal not showing the login and registration forms.
- Fix: Fixed the mobile menu icon showing on the affiliate portal when logged out.
- Fix: Fixed first time activation redirect not working in some cases.
- Fix: (PRO) Fixed an error with the "sub-affiliate summary" tab on the MLA dashboard.
- Fix: (PRO) Fixed an issue with the "sub-affiliate summary" tab not showing the "percentage of order total" amounts in the "your commission" column.
- Fix: (PRO) Fixed the filter button on the "monthly summary" tab not working in some cases since the last update.

= Version 6.0.0 - 17th March 2025 =
- New: Added new "Affiliate Portal" feature.
- New: (PRO) Added new MLA option to deduct parent affiliate commission from sub-affiliate commission.
- New: (PRO) Added new MLA option to set tier commission rates as a "percentage of order total".
- New: (PRO) Added new MLA option when "invite only" is enabled to select certain user roles/groups that automatically have access.
- New: (PRO) Added new option to the "rates" tab settings to only show products within a specific category.
- New: (PRO) Added new option to the "rates" tab to show an "image" column for each of the products, displaying their featured image.
- Improvement: Rebuilt part of the code for generating admin reports. This is now much faster and reliable for sites with lots of coupons and orders.
- Improvement: (PRO) Significantly improved the performance on the commission line graphs on the affiliate dashboard.
- Fix: (PRO) Fixed an issue with some shortcodes not working in the affiliate dashboard custom tabs.
- Fix: (PRO) Fixed a HTML markup issue when hovering over a payout method t to configure some oooltip on the affiliate dashboard.
- Fix: (PRO) Fixed an issue with the "Assign to role" option for "multiple templates" not showing the currently selected option in the settings.
- Fix: Fixed an issue with the affiliate registration form not working on the affiliate dashboard page with this option disabled: Show registration form on affiliate dashboard page (logged in users).
- Other: Tested with WooCommerce 9.7.1

<a href="https://roadmap.couponaffiliates.com/updates/">View the full changelog</a>