Discount code
Updated Nov 9, 20261 min read
On this page (3)
Discount code adds a field and an Apply button to the cart drawer, so shoppers can enter a code without leaving the cart. It's on in every new cart.
Set it up
- In the cart editor, open Discount code in the module list.
- Change the text fields if you want.
- Click Save.
| Field | Default |
|---|---|
| Input label | Discount code |
| Button label | Apply |
Good to know
- Applied codes show as chips under the field, each with a button to remove it. New codes are added next to existing ones.
- A code Shopify rejects, or that can't combine with the others, stays as a crossed-out chip. The drawer shows no error message.
- Shopify decides which codes are valid and which combine. See Shopify's Discount combinations.
- Automatic discounts don't use this field. They appear in the summary.
- The module hides while the cart is empty. If you turn it off, shoppers can still enter codes at checkout.
Related
Was this article helpful?
Related articles
Announcement barThe Announcement bar is a band of text in the cart drawer, with an optional countdown. It shows only while the cart has items. Set it up Open…Nov 9, 2026Progress barThe Progress bar shows shoppers how close they are to a reward. It doesn't apply the reward: set that up as a Shopify shipping rate or discount, or…Nov 9, 2026Show Hype Discounts goals in the progress barLink a Hype Discounts Cart Goals campaign to a cart and its goals replace your own in the Progress bar . Hype Discounts applies the rewards. You need…Nov 9, 2026Free giftsThe Free gifts module lets shoppers add a gift they've earned from the cart. The gifts come from a Hype Discounts Cart Goals campaign linked to the…Nov 16, 2026
Still stuck?
Ask a follow-up and we'll see it came from “Discount code”.
Opens chat with your question and a link to this article.