Skip to main content
Full setting encyclopedia: Features · Condition names: Field conditions
This type follows your shop billing tier — Plans. You may see New on this row while the feature rolls out broadly.

What this type does (and does not do)

This type does not apply a dollar or percentage savings. Shopify lists it under automatic promotions in Admin, but the behavior at checkout is: when a shopper enters a discount code your rules cover, Shopify can decline that code and show your message instead of applying whatever discount was attached to it. Typical reasons merchants use it:

What you configure (editor areas)

Smarty organizes the builder into rejection rules. Each rule has four parts: You can add multiple rules. At checkout, for each entered code that Shopify marks as eligible to evaluate, rules are checked in order — the first rule whose code match and conditions both pass is what applies (one rejection per qualifying code, then the evaluator moves on). Not shown for this type: Discount method (always automatic workflow for this Shopify function shape), discount value, Combinations, and the usual BXGY/product apply flows — compare Pick a discount type.

Rule versions

Rule version works like other advanced types: switching version changes which condition fields appear (Standard, Customer / Cart, Company on Shopify Plus setups, Product / Line, or shipping-augmented sets). If you change version while drafting (not editing an existing discount), Smarty resets conditions inside each rule while keeping codes and messages so you avoid carrying incompatible trees across versions — same pattern as rebuilding condition trees elsewhere. Shopify Plus shops can expose the company rule tier in more presets; other plans still use Customer, Product / Line, and shipping-augmented Standard where the app enables them.

Import, export, and dashboard

Import rule / Export rule work for Discount code rejection the same as for shipping and other types with export support: exports include your rule structure; importing into another shop may require re-linking product, collection, and customer references — see that guide. On the discount list, Type shows Discount code rejection beside other Smarty-created discounts.

Use cases → what to set

Always run a checkout test: apply a matching code with a cart that satisfies the rule, then retry with a cart that should still allow the code.

When another type fits better

If you wanted to apply savings instead of blocking a code, choose Amount off order, product, shipping, or BXGY depending on whether the lever is cart total, products, shipping, or buy‑get bundles — Match your sale.