How to Exclude Certain Products from Discounts on Shopify
Last modified: May 13, 2026
-
Can I exclude products from discounts if they are part of a loyalty program in Shopify?
Yes, you can exclude products that are part of a loyalty program from discounts by creating collections that do not include these items. This helps maintain the exclusivity and value of loyalty program rewards, differentiating them from other promotions.
-
Is it possible to set time-limited exclusions for certain products from discounts on Shopify?
Yes. Set start and end dates on the discount itself so the exclusion period is automatic, and use the Combinations setting if the time-limited promo should not stack on items already running a separate product discount. For rolling exclusions (for example, exclude every Friday), use a Shopify Function or a third-party scheduler app since native Shopify discount scheduling is a single date range.
-
Can I exclude products that are already on sale from additional discounts in Shopify?
Yes. Two cleaner ways. First, set the new discount’s Combinations rule to not stack with Product discounts, so any item already on sale via a product discount is shielded. Second, build an automated “Eligible” collection with the rule “Compare at price is not greater than Price” so any product whose sale price is below its compare-at price is excluded automatically. The second method also works if your sale is implemented via Compare at price rather than a discount object.
-
Does Shopify automatically exclude gift cards from discounts?
Yes. Shopify excludes gift cards from every discount type by default, including percentage off, amount off, and free shipping. You do not need to build a workaround. If you see a discount appearing to apply to a cart with a gift card in it, the discount is touching the other line items, not the gift card itself.
-
How do I exclude a single product from a Shopify discount code?
Build an automated collection called “Discount eligible” with a condition such as Product title is not equal to [the product name] or Product tag is not equal to no-discount, then create the discount code and set Applies to specific collections, pointing it at “Discount eligible”. The excluded product cannot receive the discount because it is not in the eligible collection.
-
Can I exclude products from an automatic discount in Shopify?
Yes. When you create an automatic discount, set Customer buys to Specific collections or Specific products and only include the items that should be discounted. Anything not listed is excluded automatically. For an existing automatic discount, edit Customer buys and swap the collection for one that does not contain the products you want to skip.
-
What replaced Shopify Scripts for excluding products from discounts?
Shopify Functions. Scripts were retired on August 28, 2025 and Functions are the modern replacement. Functions run on every Shopify plan, not just Plus, and let you write JavaScript or Rust logic that inspects each line item and decides whether to apply the discount. You can build a Function in the Shopify CLI or install one through a discount app on the App Store.
Conclusion: How to Exclude Certain Products from Discounts on Shopify
If you’re looking to exclude certain products from discounts, then you need to ensure that you’ve excluded them from a collection. Use the steps above to do this, or use a discount app like this one here.
