> For the complete documentation index, see [llms.txt](https://docs.goaffpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goaffpro.com/affiliate-commissions/setup-commission-rules.md).

# 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="/files/YYA8b2qX8hAIM8sUNpto" alt=""><figcaption><p>Commissions > Referral commissions</p></figcaption></figure>

Here, go to the Commission rules section.

<figure><img src="/files/OlTAa3K391EzTRJwlEaF" alt=""><figcaption><p>Commission rules</p></figcaption></figure>

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

<figure><img src="/files/nC3qxZTm1n4rt7MDcKx7" alt=""><figcaption><p>Click on New Commission Rule</p></figcaption></figure>

This will open up the New commission rule window.

<figure><img src="/files/kPEd3AFBy56w6xLBX9VZ" alt=""><figcaption><p>New commission rule</p></figcaption></figure>

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

* **Product Name**
* **Product Quantity**
* **Product SKU**
* **Product Vendor**
* **Order tag**
* **Order number**
* **Gift card is used in the order**
* **Payment gateway**
* **Customer is first time customer**
* **Customer is old customer/recurring customer**
* **Sub ID**
* **Landing Page URL**
* **POS Source**
* **Coupon code**
* **Customer email**
* **Discount Percentage (on order)**
* **Discount Percentage (on product)**
* **Order subtotal**
* **Order total**
* **Conversion source**

<figure><img src="/files/zXMevnJmU0QE8ktzaPmO" alt=""><figcaption><p>Select the rule</p></figcaption></figure>

Next, set the commission rate.

<figure><img src="/files/0tEr8kDcXQ5g90hKOc3y" alt=""><figcaption><p>Set the commission rate</p></figcaption></figure>

After this, click on **Submit**.

<figure><img src="/files/Yi6GAPmqUWTwsljaT5Wd" alt=""><figcaption><p>Click on Submit</p></figcaption></figure>

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

<figure><img src="/files/jP4DtAChAHFbZF0jwBrg" alt=""><figcaption></figcaption></figure>

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