# Setup Rule Based Royalties

**GoAffPro** provides you with the option to set up rule based royalties for affiliates.&#x20;

To set up rule based royalties for affiliates, go to the **Royalties (Fixed commissions)** section in the **Commissions** tab of the GoAffPro admin panel.&#x20;

<figure><img src="/files/W6ITIGiCQ3MlHAjWSLcJ" alt=""><figcaption><p>Commissions > Royalties (Fixed commissions)</p></figcaption></figure>

Here, go to the Rule based royalties section.

![Rule based royalties](/files/t0jKOWMBIQOOtXuniMJe)

Now, enable the toggle.&#x20;

![Enable the toggle](/files/AKhoCTkYFhlv2UkGmqd4)

After this, click on **New rule**.&#x20;

![Click on New rule](/files/Sk56ihLnkbmbHTnpiI7L)

This will open up the New royalty commission rule window.&#x20;

![New royalty commission rule](/files/I9hckOnLisLZz6I9JQCf)

Here, select the rule. You can select different rules, such as:&#x20;

* Product name
* Product SKU
* Product Vendor

![Select the rule](/files/nFdIng0Ek146945BWgQH)

Now, set the matches value.&#x20;

![Set the matches value](/files/pIKJI69SlAhqQeILkunV)

After this, set the commission rate.

![Set the commission rate](/files/COLtLZeOZkLXck7IxSFg)

Next, select the affiliate.&#x20;

![Select the affiliate](/files/iuT5Qs5TLcmGDXSBEofG)

Finally, click on **Submit.**

![Click on Submit](/files/GHq8A8J84MqmnRk1L2tE)

The rule based royalty will get saved for the affiliate.

![](/files/zAfHBNmaFBWUUU8TTsDd)

{% embed url="<https://youtu.be/-W_wOKsepck>" %}
Setup Rule Based Royalties
{% 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/advanced-settings/setup-rule-based-royalties.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.
