Logic Builder: Discount Conditions
Our advanced logic builder offers a number of conditions you can chain together to get very precise about who will receive which discounts.
Here's a breakdown of them all:
Click the thumbnail above to watch a video of our founder walking through the different conditions available.
Include/exclude customers

You can include or exclude customers from receiving a discount, using various customer eligibility options.
Include/exclude products

You can include or exclude products from receiving a discount, using various product eligibility options.
Check if specific products are in the cart

You can use this condition to only apply a discount to some items when specific other items are present in the cart.
You can use this for bundle offers, cross-selling, and more.
- For example, if a customer adds a camera to their cart, offer a discount on camera accessories such as lenses, tripods, or memory cards.
 
You can use all the product eligibility options available in the "Include/exclude specific products" condition.
Differently from the "Include/exclude specific products" condition, this condition does not require the current line item to be eligible for the selected product eligibility options.
Minimum/maximum purchase requirements

You can require a minimum/maximum quantity/subtotal for line items to be eligible for the discount, using purchase requirements options.
Include/exclude one-time purchases or subscriptions

You can make a discount apply to only one-time purchases or subscriptions using this condition.
Read this article to learn about the available options.
Compare numbers

You can compare a number/quantity from the customer/order to a number known ahead of time, as an additional way to filter who gets a discount.
The most common use of this is for first-time customer discounts.
There are 3 fields you can use to decide the logic:
- Compare this number: Represents a number available at the time of the discount calculation.
 - To this number: Represents another number available at the time of the discount calculation.
 - Compare by: Which mathematical operation to use to compare the 2 numbers.
 
Options available for "Compare this number":
- Constant number
 - Customer number of orders
 - Shipping rate
 - Total quantity (of a cart line variable)
 - Total price (of a cart line variable)
 - Number of uniques: Number of Uniques
 - Number variable
 

Options available for "Compare by":
- Equals (==)
 - Not equal (!=)
 - Less than (<)
 - Less than or greater to (<=)
 - Greater than (>)
 - Greater than or equal to (>=)
 
Examples
- 1st order discount: 
Customer number of orders == 0 - Discount on the 3rd order for every customer: 
Customer number of orders == 2 - Discount for repeat customers: 
Customer number of orders >= 1 
Calculate a number

For more advanced discounts, you can use dynamically compute number variables to use in comparisons.
Include/exclude markets

You can include or exclude customers from receiving a discount, using various market eligibility conditions.
Include/exclude retail locations

You can include or exclude customers from receiving a discount, using the Retail Location discount type.
Have any feedback for us?
We want to hear about your experience with our app! Leave a review on the Shopify App Store.
Updated on: 27/10/2025
Thank you!
