A Cart group is a powerful way to define which products you want to include in your discount rules. Think of it as creating a "bucket" of products that match specific criteria you set.
β
What is a cart group?
A Cart group lets you define a specific set of products based on various filters. Once created, you can use these groups in your discount conditions, prerequisites, or targets.
β
How cart groups work
When you create a Cart group, you can apply multiple filters to narrow down exactly which products should be included. A product must match all selected filters to be included in the group.
β
Available filters
Products: Select specific products/variants to include
Collections: Include products from specific collections
Line quantity: Match products with at least a certain quantity in the cart
Line price: Match products with at least a certain price
Line attribute: Filter by custom attributes assigned to products
Metafield value: Filter products by their metafield values
Purchase type: Include one-time purchases, subscriptions, or both
Compare-at price: Include products that have a compare-at price
You can select as many, or as few cart group filters. Remember that a product must match all selected filters to be included in a Cart group, allowing for precise targeting of your discount rules.
β
When to use cart groups
Cart groups are useful when:
You want to create discounts that apply only to specific product combinations
You need to set up prerequisites that require customers to buy certain items first
You want to exclude certain products from discount eligibility