Skip to content

Cart Qualifiers

Cart qualifiers are conditions based on the contents and properties of the customer’s cart. They determine when a campaign activates.

ConditionCodeOperatorsInput Type
Cart/Item Subtotalstgt, lt, gte, lte, eqStandard & Advanced
Cart/Item Quantityqtygt, lt, gte, lte, eqStandard
Cart Total Weighttwgt, lt, gte, lte, eqStandard
Cart Has Itemshi(uses item selector)Standard & Advanced
Cart Has Not Itemshni(uses item selector)Standard & Advanced
Cart Has Only Itemshoi(uses item selector)Standard & Advanced
Cart Has Attributehamatch / not matchAdvanced only
Discount Code/Titledcmatch / not match / starts with / ends with / containsStandard & Advanced
Marketmis one of / is not one ofStandard
Languagelgis one of / is not one ofStandard

Compare the cart subtotal against a value. Supports all comparison operators (greater than, less than, equal, etc.).

Subtotal behavior options:

  • Cart subtotal (cs) — the total value of all items in the cart.
  • Qualified item subtotal (qis) — the subtotal of only items that match the campaign’s item selectors.

Example: Cart subtotal greater than $50 triggers free shipping.

Compare the total number of items in the cart.

Quantity behavior options:

  • Cart total quantity (ctq) — count of all items in the cart.
  • Qualified item total quantity (qiq) — count of only items matching the item selectors.

Example: Cart quantity greater than or equal to 3 triggers a volume discount.

Compare the total weight of all items in the cart.

Supported weight units:

  • Grams (g)
  • Kilograms (kg)
  • Ounces (oz)
  • Pounds (lb)

Example: Cart total weight greater than 10kg hides express shipping.

Check if the cart contains specific items. Uses an item selector to define which items to look for.

You can additionally check:

  • Quantity — the cart has at least X of the matching items.
  • Subtotal — the matching items total at least $X.

Example: Cart has items from collection “Summer” with quantity >= 2.

The opposite of “has items” — check that the cart does NOT contain specific items.

Example: Cart has not items with tag “excluded” — apply discount only if no excluded products are present.

Check that the cart contains ONLY items matching the selector. If any non-matching item is present, the condition fails.

Example: Cart has only items from collection “Clearance” — apply a clearance-specific discount.

Advanced input only. This qualifier is only available when the function uses Advanced input.

Check for the presence and value of a cart attribute (key-value pair).

Operators: match / not match

Example: Cart attribute _gift_wrap matches “yes” — add gift wrapping fee.

Check the discount code or discount title applied to the cart.

Operators:

  • Match / Not match
  • Starts with / Ends with
  • Contains
  • Plus negation variants of each

Values can be comma-separated for matching against multiple codes.

Example: Discount code starts with “VIP” — apply additional VIP discount.

Target specific Shopify markets.

Operators: Is one of / Is not one of

Select from your configured market handles.

Example: Market is one of “EU” — apply a 20% regional discount.

Target specific languages/locales.

Operators: Is one of / Is not one of

Select from locale codes (en, fr, de, es, etc.).

Example: Language is one of “fr” — show French-specific promotional messaging.

All cart qualifiers support combining multiple conditions:

  • Meets all conditions (AND) — every condition must be true for the campaign to activate.
  • Meets any conditions (OR) — at least one condition must be true.

You can nest qualifier groups. For example: Cart qualifier (all conditions) + Customer qualifier (any condition) inside a single campaign.

Example: Cart subtotal > $100 AND cart has items from “Premium” collection AND market is “US.”