# Commission structure

In the **Commission Structure** section, there are three available types that you can choose from:

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FpRoMfhMVLTwWVFXCfyfU%2Fimage.png?alt=media&#x26;token=cb45ed35-fbec-40a2-a2b3-82952af30ba7" alt=""><figcaption><p>Edit program page</p></figcaption></figure>

{% hint style="info" %}
**Tips:** If you want to exclude shipping/tax fees from the commission calculation, click [HERE](https://docs.uppromote.com/management/programs/program-settings/commission-calculation-settings) to find the instruction.
{% endhint %}

## **Flat rate per order**

With this option, the commission rate can be set up as a fixed amount on each referral order.

For example, if you set the commission amount to $10 per order, when your customer purchases through the referral link, your affiliate will get a $10 commission no matter how much the total sales is.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2Ft7Z08PHmD2PAwINZfRz4%2Fimage.png?alt=media&#x26;token=34624dc4-6312-4145-b164-f9e3616a40c6" alt=""><figcaption></figcaption></figure>

After an order is marked as **fulfilled** and **paid** on your Shopify admin (unless you enable the **Record pending orders as referrals** in **Settings** > **General** > **Notifications & Others**), its status will be shown on your back end in the **Referrals** section with the commission amount.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FxVc16sOqRp5yB4kaWpVW%2Fimage.png?alt=media&#x26;token=98b86bb6-ac15-4c07-a3ab-d2a92de230d0" alt=""><figcaption></figcaption></figure>

## **Flat rate per item**

Commissions in dollars will be calculated on product units.&#x20;

For example, if you set the commission amount to **$5 per item**, when a customer makes a purchase of 3 items through the referral link, the affiliate’s commission will be $5 \* 3 = **$15**.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2F2canLXPrEpRxZUork0Cc%2Fimage.png?alt=media&#x26;token=a5b58472-4fc6-4442-aab4-84b6d6c1e338" alt=""><figcaption></figcaption></figure>

The referral order status will be updated on your back end.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FONgrC8FSQqiAmOhNWTMn%2Fimage.png?alt=media&#x26;token=3ec39595-7a39-4800-9b0f-bbf32665351b" alt=""><figcaption></figcaption></figure>

## **Percent of sale**

Commissions will be calculated based on a percentage of the total value brought by the affiliate.&#x20;

For example, if you set the percentage value to 15%, any order made through the referral link will bring your affiliate a 15% value of the total order amount (not including VAT or other extra fees).

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2F9KXgdiGDujcbmYhtaEfB%2Fimage.png?alt=media&#x26;token=495b4e73-42bb-4ed6-b8c6-d72e01d99a93" alt=""><figcaption></figcaption></figure>

After choosing the proper commission type, fill in the desired amount in the **amount** box, then click **Save.**

{% hint style="info" %}
If you create more than 1 program and then downgrade to the Free plan, the system will deactivate the extra programs (except the default one) and exclude referrals from affiliates in those programs.
{% endhint %}

{% hint style="info" %}
To setup commission rules for subscription orders, please refer to [this document](https://docs.uppromote.com/settings/integrations/subscription-apps#subscription-commission-setup) for more details.
{% endhint %}
