---
schema_version: "1"
id: cd92c1f89d33dac90a21aca8070ac50887b54f909b54172a52e97b3c25f01648
title: Grouping Conditions in Penny Perfect Pricing
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_concept_user_grouping.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_concept_user_grouping.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b458737ecdbd872a24b7e33ea891f03a6e569cddebf330651d5b5a2af76e0d18
description: Penny Perfect Pricing supports grouping conditions in calculation. Grouping conditions consider only a subset of order items for a certain condition. For example, a group of beverages and candies with discounts for each. With grouping, you can make sure that the beverage condition is used for order items with the attribute beverage and the candy condition is used for order items with the candy attribute.
products:
  - Consumer Goods
release: "264"
---
# Grouping Conditions in Penny Perfect Pricing

Penny Perfect Pricing supports grouping conditions in calculation. Grouping conditions consider only a subset of order items for a certain condition. For example, a group of beverages and candies with discounts for each. With grouping, you can make sure that the beverage condition is used for order items with the attribute beverage and the candy condition is used for order items with the candy attribute.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>Available in: Lightning Experience</p>
            <p style="margin-bottom:0;">Available in: <strong>Enterprise</strong> and
              <strong>Unlimited</strong> Editions that have Consumer Goods Cloud enabled
            </p>
          </td>

        </tr>
      </tbody>
    </table>

A condition is applied to a group of items when the condition is defined in the pricing condition template (Item Grouping is Yes). The system determines the products (order items) to group using the search strategy assigned to the pricing condition template.

Grouping combines order items from various order item templates to calculate a consolidated base. The base can be quantity, value, weight, or volume. You can group condition scales based on quantity if the unit of the order item matches the unit of the grouping condition. If the units don’t match, the product isn’t considered for building the grouping bucket.

If the Selectable Promotion Skip field is selected, then the selectable promoted item isn’t considered for base value calculations for grouping and header condition steps.

## Considerations

Here are the limitations of grouping conditions:

- Grouping applies only for scale conditions where the scale base is the amount, percentage, flat rate, and free items.
- Grouping is defined at the order item level.
- Grouping doesn’t apply to graduated scales.
- Grouping doesn’t support the distribution of the condition value to the order items. The condition value applies to all items of the group in equal parts.

- **[Calculation Groups in Penny Perfect Pricing](https://help.salesforce.com/s/articleView?id=ind.cg_concept_user_calculation_groups.htm&release=264.0.0&type=5)**  
    Classifying pricing-relevant conditions into calculation groups reduces the configuration effort as you can maintain calculation groups instead of maintaining each condition. You can configure calculation groups only for order item conditions.