Skip to content

Block discount codes

Turn away the discount codes you choose while a cart meets your conditions, so codes can't be stacked on top of a sale.

Turn away the discount codes you choose while a cart meets your conditions.

When to use it

To protect your margin: stop a welcome code from being used on top of a sale, or block old codes for a weekend.

Set it up

  1. Click Create promotion, then Choose a type on Build your own, and Use template on Block discount codes.
  2. Discount title: for your reference only. Shoppers never see this promotion.
  3. Select discount codes to reject: type a code in Enter discount code and click Add code. Repeat for each code, up to 50. Click a code's remove button to take it off the list.
  4. Active dates.
  5. On Advanced settings, choose when the codes are turned away. With no requirements, they're refused on every cart. To narrow it, use Purchase requirements (an amount, a number of items, or a weight), Required items, Customer eligibility, or Markets.
  6. Set the status and save.

What shoppers see

No widget. When a shopper enters a listed code at checkout while the promotion applies, checkout refuses it with "This code isn't applicable with your cart."

How to test it

Say you block WELCOME10 on every cart.

  1. In Cart tester, add any product and run the test. This promotion shows Applies, and Buyer gets reads "Grants nothing; turns away WELCOME10 if entered at checkout".
  2. Under Checkout, enter WELCOME10 in Discount code entered and run again. The card reads "Turns away the code WELCOME10 at checkout".
  3. If WELCOME10 belongs to a Crownsale code promotion, that promotion's card says checkout turns the code away.

Then try it at a real checkout in a preview session.

Good to know

  • It works on codes from Shopify, other apps, and Crownsale.
  • It turns codes away only while the promotion applies: inside its dates, on carts that meet its requirements.

Still stuck?

Chat with us or email support@crownsale.app. Tell us your store's address and what you expected to happen, and we'll look into it.