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

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.
Every way to block discount codes on Shopify
Block codes on sale items
Any product with a compare-at price is protected automatically. No collections to maintain.
Read the guide →Block all discount codes
One switch turns off every code during a sitewide sale — and turns them back on after.
Read the guide →Block by product tag
Tag products “no-discount” or “new-arrival” and codes stop applying to them.
Read the guide →Block selected products
Pick bestsellers, gift cards or bundles with the product picker. Done in one click.
Read the guide →Schedule blocking
Set a start and end time for Black Friday, Cyber Monday or any flash sale.
Read the guide →Allow chosen codes
Keep VIP, staff or your official sale code working while everything else is blocked.
Read the guide →
Set up in under 2 minutes
- 1Install DCB from the Shopify App Store
- 2Choose what to block: sale items, all, tagged or selected products
- 3Optional: schedule it, allow chosen codes, write your error message
- 4Save. Your margins are protected.
“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

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
Shopify Plus
$19 / month
$182/year · save 20% · 3-day free trial
- ✓ Everything in Basic
- ✓ Discount value–based blocking
- ✓ Analytics: track rescued revenue
Billed in USD by Shopify. Blocking can't be guaranteed for every discount type combination or custom checkout setup.
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.