Use case 1: Buy x get 1 free
- Cart Discount applies when the Cart total is US$200 and above.
- The customer is buying AirWave shoes.
When both of these conditions are met, the customer receives a free Shoe Cleaner set worth US$25. Because this is a "buy x get 1 free" discount, the Cart Discount type is Gift line item — effectively giving the customer a free gift.
To follow this use case, you need a Project setup with the following:
- A Product Type named
Shoe accessoriesand a Product Variant namedShoe cleaner set - A Category named
Running(which is a child category ofAirWave) - A Product and Product Variant named
AirWave Snapthat has been added to theRunningCategory.
| Field | Value |
|---|---|
| Cart discount type | Gift line item |
| Cart discount name | AirWave Shoe Cleaner above US$200 |
| Rank (sortOrder) | 0.5001 |
| Stacking | Do not apply any further cart discounts after this one |
Cart Discount conditions
- At least one existing line item satisfies all of the following:
- Categories includes
AirWave > Running
- Categories includes
- AND Cart Total is equal to or greater than
200.00 USD
Cart Discount effects
For the discount effect, specify the Product Variant to add as a gift:
- Product ID: the ID of the Shoe cleaner set Product (found in the Product URL in the Merchant Center)
- Variant ID: the ID of the Shoe cleaner set Product Variant (found in the Variants tab)
When using the Gift line item discount, you can only offer one item as a gift line item, not multiple items. In the example above, only one Shoe Cleaner set is offered, not two.
Use case 2: Create an absolute discount across multiple brands
To follow this use case, you need a Project setup with the following:
- A Product Type named
Shoewith attributesBrandandSeason. - A Product Variant with a
SeasonAttribute with the valuenew range.
| Field | Value |
|---|---|
| Cart discount name | $25 off all Carts over US$300 |
| Discount value | Absolute: 25 |
| Rank (sortOrder) | 0.5003 |
0.5003 is higher than the gift line item discount in Use Case 1 (0.5001), so this discount takes priority. If you want it to be added after the previous promotion, choose a lower rank value. If you do not want it to apply at all after the previous discount is applied, make sure the previous discount has the Do not apply any further cart discounts after this one option selected.Cart Discount conditions
- Cart Total is equal to or greater than
300.00 USD - AND at least one existing line item satisfies all of the following:
- Attribute (
Season) is one ofnew range
- Attribute (
Season Attribute needs to be created beforehand.
Cart Discount effects
- Attribute (
Season) is one ofnew range
Some things to note:
- You could also approach this discount by creating a Category for the new season and selecting a Category in the target predicate instead of an Attribute. Both options are valid approaches for creating this type of discount.
- The is one of operator is used instead of is because is means "is only". If an item has the
new rangeattribute but also another attribute, the discount would not apply to that item with is.
The following image shows the discount being applied to the Cart.
Use case 3: Create an account discount
To follow this use case, you need to add the following to your Project setup:
- A Category named
Sale. - Two Channels named
Shoes for FeetandTread Trendswith their Channel roles asProduct Distribution. - Two Stores named
Shoes for FeetandTread Trendsassigned to the Product Distribution Channels created in the previous step. - A Customer with a
CustomerIDand restricted to theTread TrendsStore (this is optional, but required if you want to test out in an order whether you were successful in setting up the discount).

| Field | Value |
|---|---|
| Cart discount name | Tread Trends 5 percent for new accounts |
| Store | Tread Trends |
| Discount value | Relative: 5% |
| Rank (sortOrder) | 0.4999 |
0.4999 is lower than the previous discounts, making this a lower priority. You may want to consider adding a Discount Code for this kind of discount, as it suits the use case.Cart Discount conditions
- At least one existing line item satisfies all of the following:
- Categories is not
Sale
- Categories is not
- AND Customer ID has a value
Cart Discount effects
- Categories is not
Sale
After saving and activating the discount, check an order to verify the discount was applied correctly.
Use case 4: Fixed amount off based on total spend
| Field | Value |
|---|---|
| Cart discount name | Tread Trends $10 off when you spend $100 |
| Cart discount description | $10 off when you spend $100 |
| Cart discount key | tread-trends-USD10off100Cart |
| Discount value | Absolute: 10 |
| Rank (sortOrder) | 0.5 |
| Stacking | Do not apply any further cart discounts after this one |
Cart Discount conditions
- Cart Total is equal to or greater than
100.00 USD
Cart Discount effects
- Apply to all line items without restriction.
The remaining use cases on the next page explore more advanced Cart Discount types, including Buy and Get, Multibuy, and Shipping discounts.
Test your knowledge
Imagine you work for TechGear, an electronics brand. Their most popular product is called TechPods, a wireless earbuds product. Your marketing team has decided to run a special promotion for TechPods. Customers who purchase TechPods and meet certain conditions will receive a free power bank worth $49.