Ezhance
← Documentation

Cart Conditions

Control promotion eligibility based on the customer's cart — subtotal, item count, weight, coupons, and payment method.

Cart Conditions evaluate the state of the customer's shopping cart to determine whether a promotion applies. They're the most commonly used eligibility rules and available in both the free and Pro versions.

Available Cart Conditions

Cart Subtotal (Free)

Evaluates the monetary value of the cart. Use comparison operators: greater than, less than, equal to, or between amounts.

Use cases: Minimum spend campaigns, tiered spend rewards, free shipping thresholds.

Example: Cart Subtotal ≥ $100 activates a 10% discount on orders of $100 or more.

Cart Item Count (Free)

Counts the total quantity of all items across the cart (3 Hoodies + 2 T-Shirts = 5 items total).

Use cases: Volume-based rewards, "buy more, save more" campaigns.

Cart Line Item Count (Free)

Counts the number of distinct product types in the cart (3 Hoodies + 2 T-Shirts = 2 unique line items), not the total quantity.

Use cases: Encouraging product variety, bundle promotions.

Cart Weight (Pro)

Evaluates the combined weight of all items in the cart. Useful for businesses where weight affects fulfillment costs.

Use cases: Wholesale orders, shipping-based promotions, heavy-order discounts.

Has Coupon Applied (Pro)

A binary check: does the cart have any coupon applied? Values: Yes or No.

Use cases: Allow additional promotions only with a coupon; prevent stacking without a code.

Applied Coupons (Pro)

Checks for a specific coupon code in the cart. Requires the customer to use a designated coupon code alongside the promotion.

Use cases: VIP coupon-gated promotions, partner discount stacking.

Payment Method (Pro)

Evaluates the selected payment method at checkout (e.g., Bank Transfer, Stripe, PayPal, Cash on Delivery).

Use cases: Reward low-cost payment methods, incentivize bank transfers, method-specific promotions.

Common Patterns

  • Spend and Save: Cart Subtotal ≥ $100 → 10% off
  • Quantity Reward: Cart Item Count ≥ 5 → 15% off
  • Payment Method Incentive: Payment Method = Bank Transfer → Free Shipping

Common Mistakes

  • Item Count vs. Line Item Count — Item Count is total quantity; Line Item Count is unique product types. Don't confuse them.
  • Setting thresholds too high — Test that a realistic customer can actually reach the threshold.
  • AND logic between conditions — All conditions in a group must pass simultaneously. If you want OR behavior, use separate condition groups.