Prevent Shopify Discounts from Stacking
Shopify doesn’t let you exclude products from discount codes directly, but it does let you apply a code to a specific collection. With Disco, you can auto-add/remove products from that collection during a sale so they’re effectively excluded from the code while the sale runs.
How to set it up
- Create an automated collection using Disco tag
- Products → Collections → Create collection → give it a title (e.g., “Non-discounted products”).
Choose Automated, set Condition: Product tag is not equal to on-disco-sale, then Save.

- Point your discount code to this collection
- Discounts → create or edit a code.
- Under Applies to, choose Specific collections → select your new collection → Add → Save.
Repeat this step for each discount code you use.

- Configure your Disco sale to add the tag during the sale
- In Disco, create a sale.
- Enable Add tag to products on sale.
- Enter the same tag (
on-disco-sale). Complete the sale setup and Create sale.

Result: When the Disco sale starts, products on sale have the on-disco-sale tag add, dropping them out of the “Non-discounted products” collection - so your discount code won’t apply to them. When the sale ends, Disco removes the tag again, returning those products to the collection and making them eligible again.


