This page continues with more advanced Cart Discount types, including Buy and Get, Multibuy, and Shipping discounts.
To follow use cases 5 through 7, you need to add the following to your Project setup before continuing:
- A Category named
Running. - Two Categories named
SocksandAccessories. - A Category named
Shoes(if not already created). - Some Product Variants assigned to these Categories.
Use case 5: Buy 2 pairs of running shoes and 1 pair of socks, get $100 off across the bundle
| Field | Value |
|---|---|
| Cart discount name | SFF $100 off running bundle |
| Cart discount description | Buy 2 running shoes and 1 pair of socks, Get $100 off across the bundle |
| Cart discount key | sff-USD100offRunningBundle |
| Discount value | Absolute: 100, distributed evenly across all eligible items |
| Rank (sortOrder) | 0.5 |
| Apply this effect to | Buy and Get |
| Apply on | Cheapest items |
| Multiple application | Up to 3 times per order |
Trigger criteria (Each time the cart contains)
The trigger requires specific items:
- Categories is
Running— Count is equal to2 - AND Categories is
Socks— Count is equal to1
Target criteria (Apply Discount on)
Apply the discount to specific items matching the same pattern:
- Categories is
Running— Count is equal to2 - AND Categories is
Socks— Count is equal to1
The following examples highlight how the discount applies in different scenarios:
- If a cart contains 4 pairs of socks and 1 pair of running shoes, no item is discounted because the first criterion is not met.
- If a cart contains 4 pairs of running shoes, no item is discounted because the second criterion is not fulfilled.
- If a cart contains 2 pairs of socks and 3 pairs of running shoes, one bundle of 1 pair of socks and 2 pairs of running shoes (the cheapest ones) is discounted by $100.
- If a cart contains 5 pairs of socks and 6 pairs of running shoes, three bundles of 1 pair of socks and 2 pairs of running shoes are discounted. Every time the target pattern is matched, the cheapest bundle is selected with each bundle discounted by $100.
- If a cart contains 5 pairs of socks and 12 pairs of running shoes, three bundles of 1 pair of socks and 2 pairs of running shoes are discounted because this discount can be applied only for a maximum of 3 times.
Use case 6: Buy 2 pairs of shoes, get up to 3 shoe accessories at 20% off
| Field | Value |
|---|---|
| Cart discount name | TT 20% off up to 3 accessories |
| Cart discount description | Buy 2 pairs of shoes, Get up to 3 shoe accessories at 20% off |
| Cart discount key | tt-3accessories-20off |
| Discount value | Relative: 20% |
| Rank (sortOrder) | 0.5 |
| Apply this effect to | Buy and Get |
| Apply on | Most expensive items |
| Multiple application | Up to 4 times per order |
Trigger criteria (Each time the cart contains)
The trigger requires specific items:
- Categories is
Shoes— Count is equal to2
Target criteria (Apply Discount on)
Apply the discount to specific items:
- Categories is
Accessories— Count is up to3
The following examples highlight how the discount applies in different scenarios:
- If a cart contains 2 pairs of shoes and 8 accessories, 3 accessories (the most expensive ones) are discounted because the trigger is matched only once.
- If a cart contains 4 pairs of shoes and 3 accessories, all 3 accessories are discounted because although the trigger is matched twice, the target is met only once.
- If a cart contains 4 pairs of shoes and 5 accessories, all 5 accessories are discounted from two discount applications because the trigger is matched twice and the target is also met twice.
- If a cart contains 6 pairs of shoes and 6 accessories, all 6 accessories are discounted from two discount applications because the trigger is matched twice and the target is also met twice.
- If a cart contains 20 pairs of shoes and 20 accessories, 12 accessories (the most expensive ones) are discounted because this discount can be applied for a maximum of 4 times.
Use case 7: Buy 3 pairs of socks, get the next 2 pairs at $5 each
| Field | Value |
|---|---|
| Cart discount name | SFF next 2 pairs of socks at $5 |
| Cart discount description | Buy 3 pairs of socks, Get the next 2 pairs at $5 each |
| Cart discount key | sff-2socks-5each |
| Discount value | Amount off: 5, applied individually to each eligible item |
| Rank (sortOrder) | 0.5 |
| Apply this effect to | Buy and Get |
| Apply on | Cheapest items |
| Multiple application | Unlimited |
Trigger criteria (Each time the cart contains)
The trigger requires specific items:
- Categories is
Socks— Count is equal to3
Target criteria (Apply Discount on)
Apply the discount to specific items:
- Categories is
Socks— Count is up to2
The following examples highlight how the discount applies in different scenarios:
- If a cart contains 3 pairs of socks, no pair of socks is discounted because the trigger is not matched.
- If a cart contains 4 pairs of socks, 1 pair of socks is discounted from one discount application because the trigger is matched once.
- If a cart contains 5 pairs of socks, 2 pairs of socks are discounted from one discount application because the trigger is matched once.
- If a cart contains 8 pairs of socks, 2 pairs of socks are discounted from two discount applications. Although the trigger is matched twice, both discounted pairs are included as part of the first trigger. The remaining 3 pairs match the second trigger, but there are no other pairs of socks available in the cart to be discounted.
- If a cart contains 9 pairs of socks, 3 pairs of socks are discounted from two discount applications because the trigger is matched twice. 2 discounted pairs are included as part of the first trigger and 1 discounted pair is included as part of the second trigger.
Use case 8: Multibuy discounts
| Field | Value |
|---|---|
| Cart discount name | Shoes for Feet Multibuy |
| Store | Shoes for Feet |
| Discount value | Relative: 20% |
| Rank (sortOrder) | 0.4998 |
Cart Discount conditions
- Categories includes at least one of the following:
Sale
Cart Discount effects
- Eligibility criteria: Categories includes at least one of the following:
Sale - When customers buy
3line items, they get1(the cheapest item of them) with20% off. - Limit this discount to
3times.
You can decide how many times this discount should be applied. Either set a cap or allow it to be used unlimited.
If you add two items of the same Product Variant but there is some kind of difference between the two Product Variants, then those two Product Variants are added to the Cart as two separate Line Items. For example, a T-shirt offered by a company may allow for custom embroidery, like a staff member's name. Despite being the same Product Variant, if there is a change to any aspect of the Variant, the Cart adds them as separate Line Items and this affects the behavior of the Multibuy discount.
Well done.
Use case 9: Customer Group specific promotions
To follow this use case, which focuses on setting up free shipping using Cart Discounts, you need to add to your Project setup the following:
- Two Customer Groups named
PlatinumandGold.
| Field | Value |
|---|---|
| Cart discount name | Gold and Platinum Free Shipping |
| Discount value | Relative: 100% (effectively free shipping) |
| Rank (sortOrder) | 0.4997 |
| Apply this effect to | Shipping |
Cart Discount conditions
- Cart Total is equal to or greater than
50.00 USD - AND Customer Group Key is one of
platinum,gold
The Customer Group key can be copied from the Customer Group list.
The following image shows the two conditions set up in the Merchant Center.
Cart Discount effects
After saving and activating the discount, check an order to verify the free shipping discount is applied.
A free shipping Cart Discount for Gold and Platinum customers is now set up.
Best practice: how to preview a Cart Discount
You might want to preview a Cart Discount like the one above and verify it functions properly before making it available to all customers. Activating this discount would mean that any customers belonging to those Customer Groups would start to be eligible for the discount.
One solution involves using Customer Groups. You can create a Customer Group that denotes whether the Customer account is staff. Then, in your Cart Discount, add a Cart Discount condition to check if the logged-in Customer matches the staff Customer Group condition. This temporarily and safely enables the Cart condition while ensuring that normal customers do not see the discount. Provided that their Customer accounts have the correct Customer Group associated with them, your stakeholders can preview that the Cart Discount is working as expected.
To make this discount ready for actual use, you need to remove the staff Customer Group condition before the campaign launches and replace it with the correct Customer Group.