Cart groups

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

Last updated