💲
DollarLabs Helpdesk
  • 💰Dollarback: Store Credit
    • 🚀Get started
      • Configure Order Goals
      • Set fixed amount cashback
      • Set percentage casback
    • 📘Real case studies
      • BlackPeach (+€17k in 30 days)
    • 🫴Show rewards
      • Product Page
      • Cart Page
      • Custom Slide Carts
      • Cashback Widget
      • Checkout Block (Shopify Plus)
      • Customer Account
      • Thank you
    • 💁Referral Engine
      • Referral Analytics
    • 📩Notifications
      • Klaviyo
      • Inbuilt Email
      • Shopify flow
    • ⚡Automations
      • Reward Customers with Store Credit for Reviews using Judge.me
    • 📊Analytics
    • ⚙️Settings
    • ❓FAQ
  • 💲Dollarlabs: Ultimate Discounts
    • 🚀Quickstart
    • Discount types
    • Discount Engine (v2)
      • Cart groups
      • Rules
      • Targets
      • Examples (v2)
        • Get $60 off on each item when purchased in pairs
        • Discount every item except the first item
    • Discount Engine (v1)
      • If X, then do Y
      • Line Limit Strategy
      • Global Line Limit Strategy
      • Discount Application Strategy
      • Discount combinations
      • Rule Builder Variables
      • Invert Logical Operation
      • Bulk Code Generation
      • ⚠️Limitations of Discount engine (v1)
      • Examples (v1)
        • 📦Product Discount Examples (V1)
          • Offer a discount to your VIP / Subscription customers
          • Offer a Free product and a one time discount for subscription purchase
          • Volume discount based on quantity for eligible products
          • Single discount code to apply different discount amounts for different product categories
          • Automatic discount for B2B customers
          • Discounts based on user's purchase market / region
          • Give product for free if the cart value is above $X
          • Buy X items specified to get a discount on Y items. (Buy X Get Y - Bx Gy)
        • 🛒Order Discount Examples (V1)
          • Tiered Cart Discounts: Reward Customers Based on Their Cart Value
    • 🛒Auto add gift to cart based on discount code (plus only)
    • 💼Price lists (B2B)
      • How to setup a price list ?
      • Show the discounted price on the Product page
      • Show Volume breaks on Product page
      • Show discounted prices on the collection page
    • ⚠️Function limitations by Shopify
Powered by GitBook
On this page
  1. Dollarlabs: Ultimate Discounts
  2. Discount Engine (v2)

Cart groups

PreviousDiscount Engine (v2)NextRules

Last updated 2 months ago

Cart groups allow you to create a group based on conditions that you can set up through our easy-to-use rule builder interface.

For each group that you create, the following computed variables are available to you in the rule builder interface under the Rules section.

  1. Total cart amount → Cart amount for the group, inclusive of discounts

  2. Subtotal cart amount → Cart amount for the group, exclusive of discounts

  3. Line count → Count of line items

  4. Quantity sum → Total sum of quantity of items matching cart group rules.

  5. Unique product count → Unique products in the user's cart matching the group rules.

  6. Unique variant count → Unique variants in the user's cart matching the group rules.


How to create a cart group?

You have the following variables available to you to define a cart group. You can combine these rules using AND / OR logic.

Currently we do not support nesting conditions as this is still in early Beta. The AND / OR logic is set on the entire sub level and not on a per condition basis.

Cart Rules

Rule Option
Description

Cart Attribute

An attribute of the cart

Cart Market

The market associated with the cart

Customer Rules

Rule Option
Description

Customer logged in

Whether the customer is authenticated

Customer is B2B

Whether the customer is a business customer (plus only)

Customer Spent

The total amount spent by the customer

Customer Orders Count

The number of orders placed by the customer

Customer ID

The IDs associated with the customer

Customer Tags

The tags associated with the customer

Customer Company

The company ID associated with the customer

Line Item Rules

Rule Option
Description

Line Attribute

An attribute of the line item

Line Quantity

The quantity of the line item

Line Subtotal

The total cost of the cart line item (price x quantity)

Variant ID

The variant IDs associated with the line item

Product ID

Shopify Product ID of the item in the user's cart

Product Tag

Product tag of the item as set up in the admin UI.

Product Collection

The collections associated with the line item

Selling Plan Allocation

Whether the line item has a selling plan

💲