DCB Discount Code Blocker logoDCB
Shopify app · Rated 4.5★

Stop discount codes eating your sale margins.

DCB blocks discount codes on sale items, tagged products, selected products — or your whole store during a sale. Scheduled, translated, and set up in minutes.

From $9/month · Works with Smile.io, LoyaltyLion, Yotpo & more

DCB settings: block discount codes for sale items with compare-at price

30% sale + 15% code

= 40%+ off. Stacking quietly kills profit.

Shopify can't do it natively

Compare-at sale prices always stack with codes.

DCB fixes it in 2 clicks

Without deleting or editing a single code.

Features

Every way to block discount codes on Shopify

DCB block discount codes for selected products and product tags
How it works

Set up in under 2 minutes

  1. 1Install DCB from the Shopify App Store
  2. 2Choose what to block: sale items, all, tagged or selected products
  3. 3Optional: schedule it, allow chosen codes, write your error message
  4. 4Save. Your margins are protected.
Merchants say
“This app fixes a major flaw in Shopify which Shopify themselves have been ignoring for years. Must have app, also great support.”

— Cardo Systems, United States

DCB custom discount error message in multiple languages
Pricing

Pays for itself with one blocked code

Basic

$9 / month

$86/year · save 20% · 3-day free trial

  • ✓ Block codes for sale items
  • ✓ Block codes for all items
  • ✓ Block selected products
  • ✓ Block by product tags
  • ✓ Custom error messaging
  • ✓ Schedule discount blocking
  • ✓ Allow selected codes
  • ✓ Works with most loyalty apps
Start free trial

Shopify Plus

$19 / month

$182/year · save 20% · 3-day free trial

  • ✓ Everything in Basic
  • ✓ Discount value–based blocking
  • ✓ Analytics: track rescued revenue
Start free trial

Billed in USD by Shopify. Blocking can't be guaranteed for every discount type combination or custom checkout setup.

FAQ

Questions merchants ask

What does DCB – Discount Code Blocker do?+

DCB is a Shopify app that stops customers from applying discount codes to sale items (products with a compare-at price), all products, selected products, or products with specific tags. You can schedule blocking for sales.

Can I block all discount codes on Shopify during a sale?+

Yes. Choose “Block all discount codes” and optionally schedule start and end times. Your codes aren't deleted; they work again when blocking ends.

Can I still allow some codes?+

Yes. Allow selected discount codes, such as VIP or staff codes, while everything else is blocked.

Does it work with loyalty apps?+

DCB works with most loyalty apps, including Smile.io, LoyaltyLion, Yotpo, Growave, Joy and Rivo.

What happens if a blocked product is in the cart?+

Because of Shopify API limitations, the code won't apply to the whole order. You can show a custom error message in English, German, Spanish, Portuguese (Brazil) or French.

How much does DCB cost?+

Basic is $9/month ($86/year). Shopify Plus is $19/month ($182/year) and adds discount value–based blocking and rescued revenue analytics. Both include a 3-day free trial.

From the blog

All articles →

Your next sale deserves its margin back.

Install DCB free