If you run a "spend $X, get a free gift" rule using a Cart value trigger, you may not want every item in the cart to count toward that threshold. EG lets you exclude specific product variants from the cart value calculation, so things like gift cards or the reward item itself don't inflate — or accidentally help trigger — the promotion.
This article covers why you'd exclude products, how to set it up, the limit on how many variants you can exclude, and how exclusions interact with EG's pricing settings.
Why exclude products from a cart value trigger
Common reasons merchants exclude specific variants from a cart value threshold:
Gift cards. A $50 gift card shouldn't count toward a "spend $100, get a free gift" promotion the same way physical merchandise does.
The reward product itself. If a customer manually adds the same product you're giving away for free, you may not want its price to count toward the very threshold that unlocks it.
Sale or clearance items. If you only want the promotion to reward full-price purchases, you can exclude marked-down variants.
Subscription add-ons. You can exclude a variant only when it's purchased on a selling plan (subscription), while still counting it normally when it's bought one-time. See Variant-level and selling-plan-aware exclusions below.
Excluded variants are simply left out of the total EG compares against your cart value threshold — the items themselves are not removed from the customer's cart.
Setting up excluded variants
Open the rule and set its trigger type to Cart value.
Enter your minimum cart value threshold as usual.
Below the threshold fields, check Exclude specific products from cart value calculation.
Click Choose products to open the product picker, then select the items you want to exclude.
Save the rule.
Variant-level and selling-plan-aware exclusions
Exclusions are applied at the variant level, not the product level. When you open the picker, you select individual variants (for example, "T-Shirt — Small / Blue"), not the parent product. If a product has multiple variants and you only want to exclude one of them, select just that variant — the others will continue to count toward the cart value threshold as normal.
Each excluded variant also has a Select Selling Plans option. This lets you narrow when the exclusion applies:
If you leave selling plans unselected, the variant is excluded from the cart value calculation no matter how it's purchased (one-time or on a subscription).
If you select one or more specific selling plans, the exclusion only applies when the customer buys that variant through one of those selling plans. A one-time purchase of the same variant would still count toward the cart value.
This is useful for excluding a product only when it's added as a recurring subscription add-on, while still letting a one-time purchase of it count normally.
A note on discount types
Cart value rules with excluded variants can't be combined with a Shopify-native automatic discount or discount code, because those discounts apply to the whole qualifying cart and can't account for your exclusion list. If you try to save a rule like this, you'll see:
Shopify type discounts cannot be used on cart value triggers excluding certain products.
Use EG's own automatic discount (or no discount at all) on rules that exclude products from the cart value calculation.
The 50-variant limit
You can exclude up to 50 product variants per rule. The count of excluded variants (not the number of products) is what's capped — so a single product with 3 variants excluded counts as 3 toward the limit.
If you try to save a rule with more than 50 excluded variants, EG blocks the save and shows:
You can exclude at most 50 product variants from the cart value calculation.
If you need to exclude more than 50 variants
Rather than maintaining a very long exclusion list, consider restructuring the rule around a Collection trigger instead of a Cart value trigger:
Create a Shopify collection containing only the products that should count toward the promotion (your "qualifying" catalog).
In EG, create the rule with a Collection trigger pointed at that collection, and set it to trigger based on cart value from that collection.
Anything outside the collection — gift cards, the reward item, excluded categories — is automatically left out of the calculation, without needing an exclusion list at all.
This approach also scales better if your list of non-qualifying products grows over time, since you only need to keep the collection's membership up to date rather than editing a per-rule exclusion list.
How exclusions interact with pricing settings
By default, EG evaluates cart value (and other monetary triggers) using each item's original, pre-discount price. Excluded variants are removed from the total before that comparison happens, regardless of which pricing mode is active. See the Discounts guide for more on how EG's pricing modes affect rule triggers.
If you've turned on Use discounted prices for EG rule triggers (a beta setting under Settings → Advanced settings), EG instead evaluates cart, product, collection, and product tag rules using post-discount (final) prices. Excluded variants still work the same way under this setting — their value (calculated using whichever pricing mode is active) is subtracted before EG checks the total against your threshold. This beta setting only affects the storefront and does not apply at checkout.
Worked example
Say your rule requires a $100 cart value to unlock a free gift, and you've excluded gift card variants from the calculation.
Cart contents | Amount |
|---|---|
Physical products | $90 |
Gift card (excluded) | $30 |
Cart total (what the customer pays) | $120 |
Counted value (what EG compares to your threshold) | $90 |
Even though the customer's cart totals $120, EG only counts $90 toward the $100 threshold — so this cart would not trigger the promotion. The customer would need to add at least $10 more of non-excluded product for the rule to fire.
Testing with test mode
Before turning a rule live, use Test mode to check that your exclusions behave the way you expect without exposing the promotion to real customers.
In the rule editor, check Enable test mode and save the rule.
Click Generate test link to get an admin-only preview URL. This link is encrypted and expires after 24 hours — it's meant for you to test with, not to share with customers.
Open the test link on your storefront and try adding different combinations of excluded and non-excluded items to your cart to confirm the counted value matches what you expect.
When you're satisfied, turn off test mode, save, and activate the rule.
Keep in mind that, just like live rules, a rule in test mode can't use a Shopify-native discount or discount code — use an EG automatic discount or no discount while testing.
Common questions
Why can't I select a Shopify discount code on my rule anymore? Once you add excluded variants to a Cart value trigger, Shopify-type discounts (automatic or discount code) are disabled for that rule, since they can't factor in your exclusion list. Switch to EG's own automatic discount, or remove no-discount rules if you don't need one.
I excluded a variant, but it's still counting toward the cart value. Double-check you excluded the exact variant the customer is adding (for example, the correct size/color), not just the parent product. Also confirm you haven't restricted the exclusion to specific selling plans — if you did, a one-time purchase of that variant will still count.
What happens if I delete or archive an excluded product in Shopify? EG automatically removes deleted products from your exclusion list (and flags individually deleted variants) so your rule keeps working without a dangling reference.
Can I raise the 50-variant limit? No, 50 excluded variants per rule is a hard limit. If you consistently need to exclude more, restructure the rule to use a Collection trigger built from a "qualifying products" collection instead — see If you need to exclude more than 50 variants.
