> For the complete documentation index, see [llms.txt](https://docs.bixgrow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bixgrow.com/referral-program/set-up-rewards/single-reward/discount-codes.md).

# Discount codes

Allows merchants to reward both advocates and referred friends with discount codes. This feature helps drive conversions and repeat purchases by offering instant savings at checkout.

## How it works

* Advocates earn a discount code when they successfully refer a friend who places an order.
* Friends receive a discount code when they purchase through an advocate’s referral link.
* Discount codes are generated automatically by BixGrow and follow the rules you configure.
* Discount codes can be applied directly at checkout.

{% hint style="success" %}
Each reward type (advocate and friend) can be configured independently, giving you full control over discount value, usage rules, and expiration.
{% endhint %}

## How to set up

Go to **Extra functions** > **Referral program,** then open the **Program tab**.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2Fcrx9AEpUhr475er3QRlR%2Fimage.png?alt=media&amp;token=2817954a-696f-4d57-ab01-2f16f598495e" alt=""><figcaption></figcaption></figure>

In the **Rewards** section, you’ll see **Rewards for advocates** and **Rewards for friends,** click **Edit** on either section to configure coupon rewards.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FhO8VWIXCFZl1r8vv8M4R%2Fimage.png?alt=media&amp;token=96381f8b-f76e-4cc7-a2ea-41511ad67ea3" alt=""><figcaption></figcaption></figure>

## Advocate rewards

Select **Discount code** as the reward type, then configure the coupon: code format, discount value, and applicable products or collections.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2Fr0hLHLTHegxcW3mjxrIB%2Fimage.png?alt=media&amp;token=44c9d1bf-0201-481e-96da-658cadf9c767" alt=""><figcaption></figcaption></figure>

Further customize coupon rewards by setting optional rules such as minimum purchase requirements, expiration dates, allowed discount combinations, and purchase type. You can also control when the reward is sent, either immediately after a successful referral or after a specified delay.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FJWiI73p0TGvEd6zcHw8L%2Fimage.png?alt=media&amp;token=ef89cf7c-abb4-4654-a0e8-04ec4066b6db" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The reward send delay lets you control when rewards are issued after a referral is recorded. It’s recommended to align this delay with your return policy to avoid rewarding canceled or fraudulent orders.
{% endhint %}

### How advocates claim their discount codes

By default, advocates will receive an automated notification email containing their reward discount code. They can click the **Shop now** button in the email to immediately make a purchase using the discount.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FTAlVIHzo5Ni2XnziYfUE%2FScreenshot%20-%202026-05-13T103138.438.png?alt=media&amp;token=64811890-2cef-4287-8aa9-e63d3b1f8881" alt=""><figcaption></figcaption></figure>

Alternatively, advocates can log into their Customer Profile on your Shopify store to check their available discount codes.

<div align="left"><figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2F3Iue8mqmjAfK5xbaXAbD%2FScreenshot%20-%202026-05-13T091833.987.png?alt=media&amp;token=aa7192c6-3eb3-4db5-ae59-9709562d93c0" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2F58gnPHmi6frknglMZKTy%2FScreenshot%20-%202026-05-13T103801.170.png?alt=media&amp;token=e4a649f4-f9cc-4b2c-a3cb-2dfb2bc05952" alt=""><figcaption></figcaption></figure></div>

## Friend rewards

Coupons will be generated automatically when friends click referral links and they will have the format as you set up.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FTC3Lox2pAqatZZENiMPO%2Fimage.png?alt=media&amp;token=5df6d4c4-d9d8-4cdb-ae39-00ac7950bb3a" alt=""><figcaption></figcaption></figure>

Customize the coupon by defining the code format, choosing a discount value as either a percentage or a fixed amount, and selecting which products or collections the discount applies to.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2F8MrOQdcIMtZfy6YnSIin%2Fimage.png?alt=media&amp;token=7e2b8a52-4118-4a2e-8648-f083478a83cc" alt=""><figcaption></figcaption></figure>

You can configure usage rules by setting an optional minimum purchase amount, defining the coupon’s expiration period, and choosing whether it applies to one-time purchases, subscriptions, or both.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FI1ybjNDnfaVwivexJfBd%2Fimage.png?alt=media&amp;token=ed1db7db-baed-4681-9ed4-af85fcd05410" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Please note that the **Purchase type** selection menu is **ONLY** available when you have active subscription products in your store.
{% endhint %}
