> 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/advanced-settings/enable-cost-of-goods-deduction.md).

# 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="/files/fUDA3Aripl1eYEpvzyfx" alt=""><figcaption><p>Settings > Advanced</p></figcaption></figure>

Here, go to the Cost of Goods deduction section.

<figure><img src="/files/k5yJAEv8nh2W2v4eg2Ku" alt=""><figcaption><p>Cost of Goods deduction</p></figcaption></figure>

Now, enable the **toggle**.

<figure><img src="/files/Ifo8QoalmOE7o2fQEr5Z" 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="/files/dxKBjUo1XipX86Oiougl" 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="/files/ZcvGZa9qKZQCbVBe9Zwd" 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 %}
