> 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="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F4zN2LWLDAFiWmrKYX5zW%2Fimage.png?alt=media&amp;token=a0d5293b-37f9-4822-84a6-05eb085a8634" alt=""><figcaption><p>Commissions > Commission modifiers</p></figcaption></figure>

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

![Click on Add new modifier](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-M78ViDS0O8vdb0prAI4%2F-M78nxb8WZk953y8g-3y%2FAnnotation%202020-05-12%20222327.png?alt=media\&token=9ac71c74-0362-481c-aed4-2e8e1f4a4176)

Now, select the coupon code matches rule.

![Select the coupon code matches rule](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-M78ViDS0O8vdb0prAI4%2F-M78oKtyGkMbqPce8c7R%2FAnnotation%202020-05-12%20222608.png?alt=media\&token=6c040007-49ec-4888-8458-04627d5c6db9)

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](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-M7btKfIzwxfjvINHPA7%2F-M7cPCeHQd-VPCS5vaR8%2FAnnotation%202020-05-18%20205935.png?alt=media\&token=54090280-fb5d-4718-8b08-0363b011c326)

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](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-M7btKfIzwxfjvINHPA7%2F-M7cQDjoO4seokDM649s%2FAnnotation%202020-05-18%20210402.png?alt=media\&token=fe9c11d2-faf4-40b6-a038-32c19855977d)

Finally, click on **Add Modifier**.

![Click on Add Modifier](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-M94Rnxazeq5trFLKoXF%2F-M94SvmiKnrCUaDqJtGj%2FAnnotation%202020-06-05%20224008.png?alt=media\&token=76dacf14-f54a-4f3b-ad68-20da30d7624e)

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 %}

![](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-M94Rnxazeq5trFLKoXF%2F-M94T6cCw_zvJAME9AVJ%2Fimage.png?alt=media\&token=124033fc-b026-4171-86a6-44aa163c8332)

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