How to Set Up Referral Commission Rules

This guide explains how Affiliate and Referral Program for WooCommerce decides what commission every referred order pays: how the amount is calculated, the six rule types you can combine, and — the question that matters once rules overlap — exactly which rule wins. Almost every rule lives on one screen — WooCommerce > Affiliate & Referral > Commission — with product-specific amounts entered on the product itself. Part of the plugin documentation.

How the commission amount is calculated

↑ Back to top

Commission is calculated per order line, on the product’s line total after discounts and excluding tax and shipping. A rule pays a Percentage of that base or a Fixed amount; product-level rules can also combine both. Because the base is the discounted total, a coupon the customer uses reduces the commission with it — affiliates are paid on what the store actually earned.

The Commission Settings screen showing the Commission for All Products fields and the rule sections below it.
The Commission screen

Which rule wins

↑ Back to top

You can define several rules that all match the same order line. Only one applies — the most specific. The plugin checks in this order and stops at the first match:

  1. Commission per Affiliate – a rate for one named affiliate, optionally narrowed by Product Tag.
  2. Commission per Affiliate per Category – one affiliate’s rate for one product category.
  3. Special offers per Category – a promotional category rate with a Start Date and End Date; it applies only inside that window.
  4. Commission per Product – the rate set on the product itself.
  5. Commission per Category – a rate for everything in a category.
  6. Commission for All Products – the store-wide fallback.

Rules do not stack. A per-affiliate rate replaces the product rate — it is not added on top of it.

Set a store-wide commission

↑ Back to top
  1. Go to: WooCommerce > Affiliate & Referral > Commission.
  2. Under Commission for All Products, choose the Commission TypePercentage or Fixed — and enter the Commission Amount.
  3. Save Changes.

Every affiliate now earns this rate on every product, unless a more specific rule below overrides it.

Rates for specific products and categories

↑ Back to top

Product commission works in two parts: choose the mode — Percentage, Fixed Price, or Percentage + Fixed Price — under Commission per Product: on the Commission screen, then enter each product’s amount in the Add Commission box on the product edit screen (with an inline shortcut on the Products list). Category rates are set on the Commission screen under Commission per Category. Both are covered step by step in Commission per Product or Category.

Rates for specific affiliates

↑ Back to top

Use Commission per Affiliate to give an individual partner their own deal — a flat rate for everything they sell, or a rate limited to products carrying a chosen Product Tag. Commission per Affiliate per Category narrows one affiliate’s rate to one category. These are the strongest rules on the screen: whatever else matches, a named-affiliate rule wins.

The Commission per Affiliate section with an affiliate selected, a product tag filter and a percentage rate.
A per-affiliate rate

Run a time-limited commission promotion

↑ Back to top

To rally affiliates behind a season or a launch, add a Special offers per Category rule: pick the categories, a higher rate, and a Start Date and End Date. Inside the window it beats product and category rates (only named-affiliate rules outrank it); when the window ends, orders fall back to your normal rules automatically.

The Special offers per Category section with a category, a raised percentage and start and end dates filled in.
A dated category promotion

Worked examples

↑ Back to top

A customer arrives through Jane’s referral link and buys two hoodies at $40 each, using a 10% store coupon. The commission base is the discounted line total: $72.

  • Only a store-wide 10% rule exists – Jane earns 10% of $72 = $7.20.
  • The hoodie also carries a 5% product rate – the product rule is more specific than the store-wide rule: Jane earns 5% of $72 = $3.60.
  • Jane additionally has a 15% per-affiliate deal – the named-affiliate rule outranks everything: Jane earns 15% of $72 = $10.80.

Cap what an affiliate can earn per month

↑ Back to top

Maximum commission to an Affiliate in a month sets a monthly ceiling per affiliate; 0 means unlimited. When a commission would cross the ceiling it is reduced to fit, and anything past the cap is recorded as capped rather than paid. By default the cap counts an affiliate’s direct earnings; turn on Include MLM commission in monthly cap if upline commissions from a multi-tier network should count toward the same ceiling.

Limit where commission applies

↑ Back to top
  • Exclude products from affiliate commission – products listed here never pay commission. Leave empty to allow all products.
  • Restrict commission on sale items – no commission on products currently on sale.
  • Restrict commission on own referral – stops affiliates earning on their own purchases. Off by default — most stores will want this on.
  • Commission for only the URL opened? – pays only when the purchased product is the one the shared link pointed at. Works with referral links (not referral codes), and not together with lifetime commission.
  • Reject commission on refund – when a refunded order’s commission is still pending, it is rejected automatically.

Refund handling rejects pending commissions only. A commission you have already approved stays in the affiliate’s wallet even if the order is later refunded — review refunds on recently approved orders yourself.

Related commission features

↑ Back to top

FAQ

↑ Back to top

Is commission calculated on the order total?

↑ Back to top

No — per product line, on the discounted line total excluding tax and shipping. An order with three products can match three different rules.

Can I combine a percentage and a fixed amount?

↑ Back to top

Yes, at the product level — set the product commission mode to Percentage + Fixed Price on the Commission screen, and each product then carries both amounts. The mode applies to all product-level rules; store-wide, category and affiliate rules pay one or the other.

What happens when an order is refunded?

↑ Back to top

With Reject commission on refund enabled, a still-pending commission is rejected automatically. An already-approved commission is not reversed — handle those case by case.

Related Products

WooCommerce Subscriptions is a WooCommerce extension that lets customers subscribe to your products or services and pay on a weekly,...

Offer add-ons like gift wrapping, special messages or other special options for your products.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.