# 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="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FCwoOBSf45GS2AS7P6a4w%2Fimage.png?alt=media&#x26;token=a586a7eb-c230-422f-bf0f-c1b7dac28aa0" alt=""><figcaption><p>Settings > General</p></figcaption></figure>

Now, go to the Sales section.

![Sales](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MAzO0vdPTLrN4CCEuyU%2F-MAzTYhtPiwGRuAEtVUK%2Fimage.png?alt=media\&token=b7f0215f-6d72-41c0-92e5-0cc3a49bf5b1)

### 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](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MDFec17whfwyDP_RF27%2F-MDFfrqkycmMn9ICGpeL%2FAnnotation%202020-07-27%20195743.png?alt=media\&token=e60d512d-4183-4806-85f7-fdd01d6a85ae)

### 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](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-M4sqxPJ6AvC56NRbVNE%2F-M4sysWhweIaIlKHt13O%2FAnnotation%202020-04-14%20192206.png?alt=media\&token=bd7102b0-a45c-476b-bb35-503066c8d5d6)

### 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](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-M4t-FdiwlLaxU9-fg9R%2F-M4t6rse2zioUSZl3JLn%2FAnnotation%202020-04-14%20200529.png?alt=media\&token=fe3ccea6-f437-4995-bd61-ed811f340c52)

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