> For the complete documentation index, see [llms.txt](https://docs.giftcardfactory.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.giftcardfactory.app/extensions/reject-discount-codes.md).

# Reject Discount Codes on Gift Cards

Stop discount codes from reducing the price of your Gift Card Postman or Physical Gift Cards product.

Reject Discount Codes on Gift Cards is a **discount function**. While your Gift Card Postman product or a Physical Gift Cards product is in the cart, every discount code the shopper enters at checkout is rejected with a short message:

> Discount codes can't be used on gift cards. Please remove the code or order the gift card separately.

Shopify excludes its own gift card products from most discounts, but the Gift Card Postman product and physical gift card products are regular products, so "all products" and order-level discount codes would otherwise apply to it. This function closes that gap without you having to exclude the product from every code.

## Turning it on

There is nothing to place. Open your Gift Card Postman or Physical Gift Cards campaign, turn on **Reject discount codes on gift card orders** and save. The option works per campaign: it protects only that campaign's product. The app registers the function for you and removes it again when no active campaign uses the option. The Extensions page shows it as **Active** or **Off**.

Once enabled, an automatic discount named **Reject discount codes on gift cards** appears under **Discounts** in your Shopify admin. That discount *is* the rule, so leave it in place. It never gives a discount of its own.

{% hint style="info" %}
The function recognises the Postman gift card by the **gift-card-postman-product** tag, which the app adds to your app gift card product when it is created. Don't remove that tag. Physical gift cards are recognised by the product selected in their campaign, so nothing is added to your product.
{% endhint %}

## What is and isn't rejected

* **Rejected:** any discount code the shopper enters, whether it was created in Shopify admin or by another app (marketing codes, sales team codes, unique per-customer codes).
* **Not affected:** automatic discounts that apply without a code. To keep those off the gift card, exclude the product in the app that created the discount, or point the discount at a collection that excludes it (for Postman, the gift-card-postman-product tag).
* The code is rejected for the whole cart, not just the gift card line. The shopper can remove the code or buy the gift card in a separate order.

{% hint style="info" %}
Keep **Match gift card value with amount paid** turned on in the campaign as a safety net. If a discount ever does apply, the gift card is issued for the amount actually paid.
{% endhint %}

Available on every Shopify plan. See [Gift Card Postman → Setup](https://docs.giftcardfactory.app/campaigns/gift-card-postman/setup.md#reject-discount-codes) and [Physical Gift Cards](https://docs.giftcardfactory.app/campaigns/physical-gift-cards.md#gift-card-settings).
