Free plugin Version 1.1.0 Updated

Affireo - Affiliates for WooCommerce Free documentation

Affireo lets you run an affiliate program on your WooCommerce store. It tracks referral links, records commissions, handles affiliate applications and manual payouts, and gives affiliates a dashboard on your site.

Try the live demo Get Pro

Overview

Affireo turns your WooCommerce store into an affiliate program. Each affiliate gets a referral link. When a shopper arrives through that link and places an order, Affireo records a commission for the affiliate. You and your affiliates can both see the numbers.

The plugin covers the whole program. People apply through a registration form, and you approve, reject or suspend them. Affireo tracks visits and referrals and holds commissions for a grace period so refunded orders are never paid out. You record manual or store credit payouts, and you can export your data as CSV. Affiliates use a dashboard on your site to see their earnings, referral links, commission history and payout history.

This free edition is meant for store owners who want a working affiliate program without paying for one. The readme states that every feature is fully functional with no time limit, quota or license key, and that you can approve as many affiliates as you like.

Requirements

  • WordPress 6.2 or later
  • PHP 7.4 or later
  • WooCommerce 8.0 or later, installed and active

Installation

Affireo needs WooCommerce, so install and activate WooCommerce first. Then install Affireo from the WordPress.org plugin directory.

  1. Make sure WooCommerce is installed and active.

  2. In your WordPress admin, go to Plugins > Add New.

  3. Search for Affireo Affiliates for WooCommerce.

  4. Click Install Now on the Affireo - Affiliates for WooCommerce plugin.

  5. Click Activate. A new Affiliates menu appears in the admin sidebar.

Quick start

  1. Set your commission

    Go to Affiliates > Settings. The Commissions tab opens first. Enter a Default commission and choose Percent of the order or Fixed amount per order. Click Save settings.

  2. Check the tracking window

    Open the Tracking tab and set Cookie duration. This is how many days after a click a purchase still credits the affiliate. Click Save settings.

  3. Create the affiliate pages

    Create a page that contains [ppl_afw_portal] for the affiliate dashboard. If you want a separate application page, create another page that contains [ppl_afw_registration]. Then open the Portal tab under Affiliates > Settings and enter the ID of the dashboard page in Dashboard page ID.

  4. Decide how applications are approved

    On the Affiliates tab, tick Activate new applications instantly to approve everyone automatically, or leave it unticked to review each application yourself under Affiliates > All Affiliates. You can also add your Program terms, which appear above the terms checkbox on the registration form.

  5. Share referral links

    Each affiliate has a slug, shown in the Slug column under Affiliates > All Affiliates. Affiliates share links such as https://yourstore.com/?ref=yourslug or https://yourstore.com/go/yourslug/.

  6. Follow referrals and pay affiliates

    Referred orders appear under Affiliates > Referrals. Once affiliates reach the minimum payout, record their payouts under Affiliates > Payouts.

#Overview

Affiliates > Overview gives you a snapshot of your program for the last 30 days.

  • The summary cards show Attributed revenue, Commissions, Visits, Conversions (with the conversion rate) and Active affiliates.
  • Commissions per day charts commission activity over the period.
  • When applications are waiting, a notice tells you how many. Click Review now to go to them.
  • Top affiliates (30 days) lists your best performers with their Conversions and Earnings.
The Affiliate Program Overview screen with summary cards, a commissions per day chart, a pending applications notice and a top affiliates table
The Review now button in the notice takes you straight to applications that are waiting for review.

#All Affiliates

Affiliates > All Affiliates lists everyone who has joined or applied to your program.

  • Use the status links at the top to filter by All, Pending, Active, Suspended or Rejected.
  • Search by affiliate with the search box and Search affiliates.
  • Select affiliates with the checkboxes, choose an action from Bulk actions and click Apply. This is how you approve several applications at once.

The table shows each affiliate's name and email, Slug, Status, Unpaid balance, Lifetime earnings and the date they Joined. The slug is the part affiliates use in their referral links, for example ?ref=yourslug or /go/yourslug/.

Click an affiliate's name to open their details. According to the readme, this view shows their balance, lifetime earnings, custom commission rate, payout method, recent referrals and an activity log. A per affiliate commission rate overrides the default rate from the settings.

The Affiliates list with status filters, a search box, bulk actions and columns for slug, status, unpaid, lifetime and joined date
Pending applications carry a Pending status badge. Filter by Pending to review them.

#Referrals

Affiliates > Referrals lists every commission record. Each row shows the referral ID, the Affiliate, the WooCommerce Order, the Type, the Commission, the Order base the commission was calculated on, the Status and the Date.

  • Filter the list with the status and type dropdowns, then click Filter.
  • Select referrals and use Bulk actions to act on several at once.

Referral statuses include Pending, Approved, Paid, Rejected and Refunded. New commissions stay locked for the Grace period set on the Commissions tab so refunded orders are never paid out. If a refund happens after approval, a full refund reverses the commission and a partial refund reduces it proportionally.

Add a manual referral

Use Add manual referral below the table to credit an affiliate yourself:

  1. Enter the Affiliate ID.
  2. Optionally enter an Order ID.
  3. Enter the Amount and an optional Note.
  4. Click Add referral.
The Referrals list with status and type filters, a table of referrals and the Add manual referral form
The Order base column shows the amount each commission was calculated on.

#Visits

Affiliates > Visits shows each click on a referral link. The table lists the visit ID, the Affiliate, the Landing page, the Referrer, the Device, the IP, whether the visit Converted and the Date.

Use the dropdown and Filter to narrow the list, and the page controls to move through older visits.

The readme notes that bot filtering keeps crawlers from creating fake clicks, that IP addresses are stored hashed, and that the plugin supports the WP Consent API.

The Visits table listing affiliate, landing page, referrer, device, IP, converted and date for each visit
The Referrer and Landing page columns show where each visitor came from and where they arrived.

#Payouts

Affiliates > Payouts is where you record what you pay your affiliates. Affireo does not send money itself. You pay using your normal method, and the plugin records each payout with a sequential invoice number.

  • Run payouts now creates payouts for affiliates who are eligible. The number in brackets shows how many affiliates are eligible right now. An affiliate becomes eligible once their approved balance reaches the Minimum payout set under Affiliates > Settings > Payouts.
  • Export completed (CSV) downloads completed payouts.
  • Export processing for PayPal (CSV) downloads payouts that are still processing as a CSV file.
  • Use the status dropdown and Filter to narrow the list.

The table shows the Invoice, Affiliate, Amount, Method, Status, Reference and Date of each payout.

The Payouts screen with Run payouts now and CSV export buttons above an empty payouts table
The Run payouts now button shows how many affiliates are currently eligible for a payout.

#Reports

Affiliates > Reports shows your program's performance for any date range.

  1. Choose the From and To dates.
  2. Click Apply to update the screen.

The report shows Attributed revenue, Commissions, Visits and Conversion rate, charts for Visits per day and Commissions per day, and a Top affiliates table.

To export referrals for the selected dates, pick an Export status (All statuses, Pending, Approved, Paid, Rejected or Refunded) and click Export referrals in range (CSV). Export affiliates (CSV) downloads your affiliate list.

The Affiliate Reports screen with date range fields, export buttons, summary cards, visits and commissions charts and a top affiliates table
The referral export uses the dates and export status you select at the top of the screen.

#Tools

Affiliates > Tools groups a few one-off tasks.

Broadcast announcement sends a message to every active affiliate. It appears in their portal notification feed.

  1. Enter a Subject.
  2. Write the Message (HTML allowed).
  3. Keep Also send by email ticked if you also want to email it.
  4. Click Send announcement.

Data exports downloads CSV files of all your data: Referrals (CSV), Affiliates (CSV) and Completed payouts (CSV). Unlike the Reports export, Referrals (CSV) here includes every referral.

Setup wizard lets you go through the setup wizard again with Re-run the setup wizard.

The Affiliate Tools screen with a Broadcast announcement form, Data exports buttons and a Setup wizard button
Untick Also send by email if the announcement should only appear in the affiliate portal.

#Settings: Commissions

Go to Affiliates > Settings. The screen has six tabs: Commissions, Tracking, Affiliates, Payouts, Portal and Advanced. Click Save settings on each tab after you make changes.

The Commissions tab controls how much affiliates earn:

  • Default commission: the rate, either Percent of the order or Fixed amount per order. Percentages are capped at 100%. A per affiliate rate overrides this default.
  • Exclude discounts: calculate commission on the discounted line totals.
  • Include tax and Include shipping: add line tax or shipping to the amount commission is calculated on.
  • Minimum order amount: orders below this total earn no commission. Enter 0 to turn the check off.
  • Grace period: the number of days commissions stay locked, so refunded orders are never paid out.
  • Block self referrals: stops affiliates from earning on their own purchases.
The Commissions tab of Affiliate Settings with default commission, discount, tax and shipping options, minimum order amount, grace period and self referral blocking
The Default commission field has two parts: the amount and whether it is a percentage or a fixed amount.

#Settings: Tracking

The Tracking tab controls how long a click counts.

  • Cookie duration: how many days after a click a purchase still credits the affiliate. The readme gives 30 days as the default.
  • Clear cookie on purchase: when ticked, the attribution window ends once a commission is recorded.

Affireo uses last click attribution, so the most recent affiliate link a shopper clicked gets the credit.

The Tracking tab with the Cookie duration field in days and the Clear cookie on purchase checkbox
Cookie duration is set in days.

#Settings: Affiliates

The Affiliates tab controls how people join your program.

  • Auto approve: tick Activate new applications instantly to make new applicants active right away. Leave it unticked to review each application under Affiliates > All Affiliates.
  • Program terms: the text shown above the terms checkbox on the registration form.
The Affiliates tab with the Auto approve checkbox and the Program terms text area
Program terms appear on the registration form, just above the checkbox applicants tick to accept them.

#Settings: Payouts

The Payouts tab controls when and how affiliates can be paid.

  • Minimum payout: affiliates are paid once their approved balance reaches this amount.
  • Payout methods: choose which methods affiliates can pick in their dashboard. This edition offers Store credit coupon and Manual / offline.

Payout details that affiliates enter are stored encrypted and are only shown masked in the admin.

The Payouts tab with the Minimum payout field and the Store credit coupon and Manual / offline payout method checkboxes
Only the payout methods you tick here are offered to affiliates in their dashboard.

#Settings: Portal

The Portal tab connects the affiliate dashboard to a page on your site and sets its look.

  • Dashboard page ID: the ID of the page that contains the [ppl_afw_portal] shortcode. That page shows the signup form and, once an affiliate is approved, the full dashboard.
  • Accent color: a hex color, for example #4f46e5.
  • Corner radius: a CSS size, for example 10px.

To find a page ID, open the page in the editor under Pages and look at the number after post= in the browser address bar.

The Portal tab with Dashboard page ID, Accent color and Corner radius fields
Dashboard page ID must point to the page that contains the [ppl_afw_portal] shortcode.

#Settings: Advanced

The Advanced tab has two options.

  • Settings mode: Simple (recommended) hides less common options so setup stays approachable. Choose Advanced (show all options) to see everything. You can switch at any time.
  • Delete data on uninstall: when ticked, all affiliate tables, options and user meta are permanently removed when you delete the plugin. Leave it unticked to keep your data.
The Advanced tab with the Settings mode dropdown and the Delete data on uninstall checkbox
Delete data on uninstall is unticked, so your affiliate data is kept if you delete the plugin.

Settings reference

Affiliates > Settings > Commissions

SettingTypeDefaultWhat it does
Default commission number - The commission amount. Percentages are capped at 100%. A per affiliate rate overrides this default.
Default commission select Percent of the order Whether the amount is a `Percent of the order` or a `Fixed amount per order`.
Calculate commission on the discounted line totals checkbox on Shown under **Exclude discounts**. Calculates commission on line totals after discounts.
Add line tax to the commission base checkbox off Shown under **Include tax**. Adds line tax to the amount commission is calculated on.
Add shipping to the commission base checkbox off Shown under **Include shipping**. Adds shipping to the amount commission is calculated on.
Minimum order amount number 0 Orders below this total earn no commission. 0 disables the check.
Grace period number 14 Number of days commissions stay locked so refunded orders are never paid out.
Affiliates cannot earn on their own purchases checkbox on Shown under **Block self referrals**. Stops affiliates from earning commission through their own link.

Affiliates > Settings > Tracking

SettingTypeDefaultWhat it does
Cookie duration number 30 How many days after a click a purchase still credits the affiliate.
End the attribution window once a commission is recorded checkbox - Shown under **Clear cookie on purchase**. Ends the attribution window after a commission is recorded.

Affiliates > Settings > Affiliates

SettingTypeDefaultWhat it does
Activate new applications instantly checkbox - Shown under **Auto approve**. New applicants become active right away instead of waiting for review.
Program terms textarea - Shown above the terms checkbox on the registration form.

Affiliates > Settings > Payouts

SettingTypeDefaultWhat it does
Minimum payout number - Affiliates are paid once their approved balance reaches this amount.
Store credit coupon checkbox - Under **Payout methods**. Lets affiliates choose store credit as their payout method in their dashboard.
Manual / offline checkbox - Under **Payout methods**. Lets affiliates choose manual or offline payment as their payout method in their dashboard.

Affiliates > Settings > Portal

SettingTypeDefaultWhat it does
Dashboard page ID number - ID of the page containing the `[ppl_afw_portal]` shortcode. It shows the signup form and, once approved, the full dashboard.
Accent color text #4f46e5 Hex color used as the dashboard accent, for example `#4f46e5`.
Corner radius text 10px CSS size for rounded corners, for example `10px`.

Affiliates > Settings > Advanced

SettingTypeDefaultWhat it does
Settings mode select Simple (recommended) `Simple (recommended)` hides less common options. `Advanced (show all options)` shows everything.
Permanently remove all affiliate tables, options, and user meta when the plugin is deleted checkbox off Shown under **Delete data on uninstall**. Leave unticked to keep your affiliate data when the plugin is deleted.

Shortcodes

[ppl_afw_portal]

Shows the affiliate dashboard: earnings, referral links, commission history and payout history. Visitors who are not yet affiliates see the signup form instead. Enter the ID of the page that holds this shortcode in **Dashboard page ID** under **Affiliates > Settings > Portal**.

[ppl_afw_portal]

[ppl_afw_registration]

Shows the affiliate registration form. Applications appear under **Affiliates > All Affiliates**, where you approve or reject them.

[ppl_afw_registration]

On your site

Visitors who want to join your program see the Join our affiliate program form. It appears on a page with the [ppl_afw_registration] shortcode, and on the [ppl_afw_portal] page until the visitor is an approved affiliate.

The form asks for:

  • Full name (required)
  • Website or blog
  • Main social profile
  • Audience size
  • How will you promote us? (required)
  • A checkbox to accept the affiliate program terms. The text you enter in Program terms is shown above it.

Applicants click Apply now to submit. Their application then appears under Affiliates > All Affiliates, or becomes active right away if auto approve is on.

Once approved, affiliates use the dashboard on the [ppl_afw_portal] page to see their earnings, referral links, commission history, payout history and profile. The readme notes that the dashboard supports light and dark mode, works on screens down to 320px wide, is keyboard accessible and still works with JavaScript disabled. Its templates can be overridden by your theme.

Active affiliates also get a toolbar shortcut on your site that gives them the tracked referral link for the page they are viewing, ready to copy. WooCommerce normally hides the toolbar from customers and subscribers, so Affireo shows it again for active affiliates. To keep it hidden, return false from the ppl_afw_toolbar_restore_admin_bar filter.

A store page showing the Join our affiliate program form with name, website, social profile, audience size and promotion fields, a terms checkbox and an Apply now button
Fields marked with an asterisk are required. The Apply now button uses the accent color from the Portal settings.

Frequently asked questions

How do affiliates sign up?

Create a page containing the [ppl_afw_registration] shortcode. Applications appear under Affiliates > All Affiliates, where you approve or reject them. To approve everyone automatically, tick Activate new applications instantly under Affiliates > Settings > Affiliates.

What do referral links look like?

Affiliates can use ?ref=yourslug on any link to your store, or the shorter /go/yourslug/ form. Each affiliate's slug is shown in the Slug column under Affiliates > All Affiliates.

How do affiliates get paid?

Affireo records the payouts you make, generates a sequential invoice for each one and exports what you owe as CSV. You send the money using your normal method. Payout methods in this edition are Store credit coupon and Manual / offline.

What happens if a referred order is refunded?

Commissions stay locked for the Grace period you set on the Commissions tab (14 days by default), so a refunded order never reaches a payout. If a refund happens after approval, a full refund reverses the commission and a partial refund reduces it proportionally.

Can I get an email when an affiliate refers an order?

Yes. Go to WooCommerce > Settings > Emails and enable New referral (admin). It is off by default.

Can I export referrals for a specific period?

Yes. On Affiliates > Reports, choose the dates and optionally an Export status, then click Export referrals in range (CSV). The Referrals (CSV) button under Affiliates > Tools exports every referral.

Does it work with High Performance Order Storage?

Yes. The plugin declares HPOS compatibility and works with both legacy post storage and HPOS. The readme also lists compatibility with the WooCommerce Blocks checkout.

Will uninstalling delete my data?

No. Your affiliate data is kept unless you first tick Delete data on uninstall under Affiliates > Settings > Advanced.

Troubleshooting

The plugin will not activate, or the Affiliates menu is missing.

Affireo requires WooCommerce 8.0 or later. Install and activate WooCommerce under Plugins, then activate Affireo again. Also check that your site runs WordPress 6.2 or later and PHP 7.4 or later.

The affiliate dashboard does not appear where you expect.

Go to Affiliates > Settings > Portal and check that Dashboard page ID matches the ID of the page that contains [ppl_afw_portal]. Make sure the shortcode is on that page, then click Save settings.

New applicants stay in Pending.

Automatic approval is off. Approve applicants under Affiliates > All Affiliates (filter by Pending, select them and use Bulk actions), or click Review now on the Overview screen. To approve everyone automatically, tick Activate new applications instantly under Affiliates > Settings > Affiliates.

A referred order did not earn a commission.

Check these settings:

  • Minimum order amount on the Commissions tab: orders below it earn nothing.
  • Block self referrals: affiliates cannot earn on their own purchases while it is ticked.
  • Cookie duration on the Tracking tab: purchases made after the window has ended are not credited.
  • Clear cookie on purchase: when ticked, the window ends once a commission is recorded, so later orders are not credited.

If the sale should count, add it yourself with Add manual referral under Affiliates > Referrals.

Run payouts now shows 0 eligible.

An affiliate is only eligible once their approved balance reaches the Minimum payout under Affiliates > Settings > Payouts. New commissions also stay locked for the Grace period on the Commissions tab before they can be paid. Check the referral statuses under Affiliates > Referrals.

You do not receive an email for new referrals.

The New referral (admin) email is off by default. Enable it under WooCommerce > Settings > Emails.

Upgrade

Upgrade to Affireo - Affiliates for WooCommerce

Affireo Pro is a separate plugin for stores that need more control over what they pay affiliates and how they pay them. Nothing in the free plugin is locked or limited. Pro reads the same data, so your affiliates, referrals, payouts and settings carry over with nothing to import. When Pro is active, the free plugin stands down.

Pro adds:

  • PayPal and bank transfer as affiliate payout methods
  • Fraud scoring that holds or suspends risky referrals
  • Referrals still credited when cookies are blocked

Try the Pro demo Get Pro