# Setup Commission Rules

**GoAffPro** provides you with the option to set up commission rules for affiliates.

> The commission rules feature lets you set up rules on which you can set up specific commission rates. When a sale is subject to a commission rule, the rate specified for that rule will apply to the sale.

To set up commission rules for affiliates, go to the **Referral commissions** section in the **Commissions** tab of the GoAffPro admin panel.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FgpQbAvcxIzkWjgvHfKX5%2Fimage.png?alt=media&#x26;token=1f9f5cf7-d4b7-4dbb-95b3-faed8c7e4774" alt=""><figcaption><p>Commissions > Referral commissions</p></figcaption></figure>

Here, go to the Commission rules section.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FdNrLBmHmg1Ih16g116Gv%2Fimage.png?alt=media&#x26;token=dd0df226-21f9-46e3-90f9-e2c19981106d" alt=""><figcaption><p>Commission rules</p></figcaption></figure>

Now, click on **New Commission Rule**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FSK6eYY6H8wJaNjJc0Yo5%2FScreenshot%202023-02-27%20154356.png?alt=media&#x26;token=6a54db20-ce26-432c-a205-395c82f9cac7" alt=""><figcaption><p>Click on New Commission Rule</p></figcaption></figure>

This will open up the New commission rule window.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FQMpOtdYowXhJysVYwvAV%2Fimage.png?alt=media&#x26;token=1807ad52-b93a-44c0-9586-835ef9899802" alt=""><figcaption><p>New commission rule</p></figcaption></figure>

Here, select the rule. **You can select rules such as:**

* **Product Name**
* **Product SKU**
* **Product Vendor**
* **Order tag**
* **Customer is first time customer**
* **Customer is old customer/recurring customer**
* **Sub ID**
* **POS Source**
* **Coupon code**
* **Customer email**
* **Discount Percentage (on order)**
* **Discount Percentage (on product)**
* **Order subtotal**
* **Order total**
* **Conversion source**

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FXzagDRZU8D8HvkJR7VbN%2FScreenshot%202023-02-27%20154444.png?alt=media&#x26;token=0230e702-c2de-4d55-9a12-45acf5278682" alt=""><figcaption><p>Select the rule</p></figcaption></figure>

Next, set the commission rate.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FV6aD5xw2ZOAFyFrmvOb8%2FScreenshot%202023-02-27%20154451.png?alt=media&#x26;token=2c7d91e2-6b0e-4846-afa6-c813086122ef" alt=""><figcaption><p>Set the commission rate</p></figcaption></figure>

After this, click on **Submit**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FgW558mIj5WOT14DMEadW%2FScreenshot%202023-02-27%20154540.png?alt=media&#x26;token=274c51e6-93a5-420a-9af0-0b963cf73dad" alt=""><figcaption><p>Click on Submit</p></figcaption></figure>

Finally, the commission rule will be set for affiliates.&#x20;

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FDzVmqYsq5pzPZd3yjfGh%2Fimage.png?alt=media&#x26;token=f01aeab3-b1c1-4702-86c4-f8de93aa9344" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/9o3-NBnUsRc>" %}
Setup Commission Rules
{% endembed %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.goaffpro.com/affiliate-commissions/setup-commission-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
