Hype Cart

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

  1. In the cart editor, open Discount code in the module list.
  2. Change the text fields if you want.
  3. Click Save.
FieldDefault
Input labelDiscount code
Button labelApply

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 articles

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.