# Enable Cost of Goods Deduction

**GoAffPro** provides you with the option to enable the cost of goods deduction for calculating commissions.

{% hint style="info" %}
The cost of goods deduction option lets you deduct the cost of goods before calculating commissions for referral sales. It allows for a more accurate calculation of commissions by accounting for the cost of goods sold.
{% endhint %}

To enable the cost of goods deduction, go to the **Advanced** 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%2FCDizgQfndxCw2VyPz9PH%2Fimage.png?alt=media&#x26;token=d3fa874b-a573-4364-baa8-2633f4796403" alt=""><figcaption><p>Settings > Advanced</p></figcaption></figure>

Here, go to the Cost of Goods deduction section.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FX21MKYAOBQHcB2uyLuRN%2Fimage.png?alt=media&#x26;token=72c5092b-d062-448e-8ee6-bd178d9002df" alt=""><figcaption><p>Cost of Goods deduction</p></figcaption></figure>

Now, enable the **toggle**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F8zBXxrZrofLR9Ivp10oQ%2FScreenshot%202023-06-05%20203513.png?alt=media&#x26;token=35b7f6ea-95c4-4e82-82e1-3a958f931dd5" alt=""><figcaption><p>Enable the toggle</p></figcaption></figure>

You will need to **activate** the cost of goods deduction on your store.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F4qghRDMIR4HPZ0JR3Za1%2FScreenshot%202023-06-05%202039133.png?alt=media&#x26;token=a9034c5b-74be-4a66-a252-445637567bbc" alt=""><figcaption><p>Activate the feature on your store</p></figcaption></figure>

After this, the app automatically takes the costs from Shopify's cost of goods field and deducts them from the product price before calculating the commission.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FUSPEOUpsKlbQL9VDi20z%2Fimage.png?alt=media&#x26;token=2626a753-bd67-4bfa-83d3-371e1c91968c" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Your store products must have an SKU set for this feature to work.
{% endhint %}

{% embed url="<https://youtu.be/HXsC7abMfoU>" %}
Enable Cost of Goods Deduction
{% endembed %}
