> 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/affiliate-commissions/set-commission-modifiers/set-commission-modifier-with-coupon-code.md).

# Set Commission Modifier with Coupon Code

**GoAffPro** provides you with the option to set a commission modifier with the coupon code matches rule.

To set a commission modifier with the coupon code matches rule, go to the **Commission Modifiers** section in the **Commissions** tab of the GoAffPro admin panel.

<figure><img src="/files/rviH6SnmT6iVSj5UcifM" alt=""><figcaption><p>Commissions > Commission modifiers</p></figcaption></figure>

Here, click on **Add new modifier**.

![Click on Add new modifier](/files/-M78nxb8WZk953y8g-3y)

Now, select the coupon code matches rule.

![Select the coupon code matches rule](/files/-M78oKtyGkMbqPce8c7R)

After this, set the value.

{% hint style="info" %}
**For example:** Here we have selected the Coupon code matches rule. So, if the coupon code such as DISCOUNT50 offers a 50% discount on the order to the customer, then we can set the value in the matches field to "50."

This means that when a code with "50" is used in a referral order the affiliate's commission will get adjusted by the commission rate set in the modifier.
{% endhint %}

![Set the value](/files/-M7cPCeHQd-VPCS5vaR8)

Now, set the commission rate for the rule.

{% hint style="info" %}
For example: Since the discount code offers a 50% discount to the customer, we adjust the commission rate of the affiliate by -10 percent.
{% endhint %}

![Set the commission rate](/files/-M7cQDjoO4seokDM649s)

Finally, click on **Add Modifier**.

![Click on Add Modifier](/files/-M94SvmiKnrCUaDqJtGj)

The newly created commission modifier will appear in the Commission Modifier section of the Commissions tab.

{% hint style="info" %}
The commission modifier that we have set here as an example, will adjust the affiliate's commission by -10% when a coupon code with the number "50" in its code is used by a customer.
{% endhint %}

![](/files/-M94T6cCw_zvJAME9AVJ)

{% embed url="<https://youtu.be/jAu2J_mCPmY>" %}
Set Commission Modifier with Coupon Code
{% endembed %}
