---
title: "Group and Included Items conditions"
description: "Apply a product or order discount based only on the items it targets, for example \"buy 2 from this collection\"."
url: https://docs.onecodediscounts.com/en/articles/12-group-and-included-items-conditions
collection: "Conditions"
updated: 2026-11-06
language: en
---

# Group and Included Items conditions

Apply a product or order discount based only on the items it targets, for example "buy 2 from this collection".

**In short:** **Group** conditions (on product discounts) and **Included Items** conditions (on order discounts limited to collections) only look at the items that discount targets, not the whole cart.

## Group conditions on product discounts

The "group" is the set of cart items this product discount targets, after exclusions. For a discount on the Summer Collection with sale items excluded, the group is the full-price Summer Collection items.

-   **Group Subtotal:** the value of the group, before discounts.
    
-   **Group Total:** the value of the group **after** this discount. If a product discount type listed above this one already discounts some of the same items, those savings are taken off too.
    
-   **Group Quantity:** the number of items in the group.
    
-   **Item has subscription:** set **Value** to **Yes** to discount only subscription items, or **No** to discount only one-time purchases.
    

### Worked examples

-   **Buy 2 from the collection, get 10% off them:** **Group Quantity**, **Greater than or equal to**, `2`.
    
-   **10% off the collection once those items reach $150:** **Group Subtotal**, **Greater than or equal to**, `150`.
    
-   **Group Total** is for "after discount" thresholds. A 20% discount with **Group Total** at least $100 needs $125 of group items, because $125 − 20% = $100.
    

![A 10% product discount on the Summer Collection with a Group Quantity greater than or equal to 2 condition](https://staticfiles.us.gleap.ai/p6ae440349b260bc5e19963ea/xg17TqJgPsfN2LR5kFJvDRt0IOv4Cp4M0rP0UWSrz2jgfzowCueYd1mNzA8YRHt4MPiU3sheJhR.png "A 10% product discount on the Summer Collection with a Group Quantity greater than or equal to 2 condition")

## Included Items conditions on order discounts

When an order discount uses **Limit to collections**, you get two extra conditions. They only count items from the chosen collections:

-   **Included Items Subtotal:** the value of those items, before discounts.
    
-   **Included Items Quantity:** the number of those items.
    

Example: 15% off Gift Sets once the customer has at least $75 of Gift Sets. See [Order discounts](https://jxngqfpxd.us.gleap.help/en/articles/8).

## Good to know

-   Excluded items (sale or subscription) never count toward Group conditions. To count them, use **Cart Quantity** or **Cart Subtotal** instead. See [Sale items and subscription items](https://jxngqfpxd.us.gleap.help/en/articles/7).
    
-   **Item has subscription** works as a filter, not a pass-or-fail rule. With **Yes**, subscription items get the discount and one-time items in the same cart don't.
    
-   Group conditions are only available on product discounts, and Included Items conditions only on order discounts with **Limit to collections**.

## Related

- [Global conditions vs per-discount conditions](https://docs.onecodediscounts.com/en/articles/10-global-conditions-vs-per-discount-conditions.md)
- [Cart Subtotal, Cart Total and Cart Quantity conditions](https://docs.onecodediscounts.com/en/articles/11-cart-subtotal-cart-total-and-cart-quantity-conditions.md)
- [Customer Tag and Customer Segment conditions](https://docs.onecodediscounts.com/en/articles/13-customer-tag-and-customer-segment-conditions.md)
- [Shipping Country condition](https://docs.onecodediscounts.com/en/articles/14-shipping-country-condition.md)
- [Product In Cart condition](https://docs.onecodediscounts.com/en/articles/15-product-in-cart-condition.md)
