> 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/program-settings/setup-referred-sales-settings/set-commission-calculation-settings.md).

# Set Commission Calculation Settings

**GoAffPro** provides you with the option to set the commission calculation settings for affiliates.

To set the commission calculation settings for affiliates, go to the **General** section in the **Settings** tab of the GoAffPro admin panel.&#x20;

<figure><img src="/files/ZJpYOsojJSNQCgYx1Fhg" alt=""><figcaption><p>Settings > General</p></figcaption></figure>

Now, go to the Sales section.

![Sales](/files/-MAzTYhtPiwGRuAEtVUK)

### Include discounts

Enable the "**Include discounts**" option. You can adjust the commission calculation by the discount percentage, the discount amount, or a custom percentage. Also, you can create exceptions for coupon codes assigned to affiliates.

Additionally, you can enable the "**Also adjust for automatic store discounts**" option, which would adjust the commissions for automatic store discounts.

{% hint style="info" %}
When the "Include discounts" option is enabled, the commission will be calculated based on the discounted product price rather than the full order amount.

For example, if a customer spends $100 in the store using an affiliate's referral, applies a 10% discount, and the commission rate is 20%, the commission will be calculated on the discounted product price. In this case, the calculation would be: $100 - $10 = $90, and the affiliate's commission would be 20% of $90, which equals $18.
{% endhint %}

![Include discounts](/files/-MDFfrqkycmMn9ICGpeL)

### Exclude shipping and taxes

Enable the "**Exclude shipping and taxes**" option. It can be used to exclude the shipping fee from the commission calculation.&#x20;

![Exclude shipping and taxes](/files/-M4sysWhweIaIlKHt13O)

### Exclude VAT

Enable the "**Exclude VAT**" option. You also have the option to include the VAT in shipping. It is used to deduct the VAT from the product price before calculating the commission on the order.

![Exclude VAT](/files/-M4t6rse2zioUSZl3JLn)

{% embed url="<https://youtu.be/mwbXI1B3fUg>" %}
Set Commission Calculation Settings
{% endembed %}
