How to quickly exclude sale items from discount codes?

Topic summary

Main issue: Merchant wants a quick way to exclude sale/offer items from a first-order discount code.

Proposed approach:

  • Create an automated collection that includes only non-discounted products by setting the condition “Compare at price is empty.”
  • When creating the discount code, apply it only to this collection, ensuring products on sale are not eligible.

Key concept explained:

  • “Compare at price” in Shopify is typically used to show the original price when an item is on sale. If this field is populated and higher than the current price, the product is considered discounted. An empty “compare at price” implies the product is not on sale.

Implementation detail:

  • The shared screenshot illustrates selecting the collection condition in Shopify Admin to filter products where the “compare at price” is empty.

Outcome/status:

  • A practical workaround is provided; no alternative methods or disagreements were raised. The thread appears addressed but not explicitly marked as resolved.
Summarized with AI on January 20. AI used: gpt-5.

How do I exclude sale/offer items from discount codes in a quick fashion?

I would like to offer a discount for first order/new customers but not to include items with money off, I can’t see where I can just create a simple rule to dis-include items which already have money off?

Thanks in advance

Hey, you can create a collection that automatically adds products with the condition that the compare at price is empty, then when you create your discount you include only this collection and there you go, you got yourself a discount that applies only to not discounted products.