---
schema_version: "1"
id: 5459e78b4ec2b105723a514a49a442a61017488263c8e3b29cdadd5b5aa455e8
title: Create a Pricing Condition Template for 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_task_admin_create_pricing_condition_template.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_task_admin_create_pricing_condition_template.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 7bfeb90a054f94073e3008376eefbe4db70752143288eb7b8331a0aa681ccbb7
description: The Pricing Condition Template defines various conditions, such as discounts or surcharges used in the calculation steps of a calculation schema.
products:
  - Consumer Goods
release: "264"
---
# Create a Pricing Condition Template for Penny Perfect Pricing

The Pricing Condition Template defines various conditions, such as discounts or surcharges used in the calculation steps of a calculation schema.

### 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> <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d30559e63">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e63 ">To create a pricing condition template:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e63 ">
              <p>(CGCloud Business Admin</p>
              <p>OR</p>
              <p>CGCloud Retail Business Admin)</p>
              <p style="margin-bottom:0;">AND</p>
              <p style="margin-bottom:0;">Penny Perfect
                Pricing</p>
            </td>

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

The pricing condition maps to the relevant search strategy. You can base it on the order header or the order item. The meta type determines the behavior defined by the pricing condition template, which in turn determines what happens during any calculation step where the pricing condition template is used.

Grouping conditions let you apply a pricing rule to a specific subset (or bucket) of order items, rather than the whole cart or just a single product.

For example, you might offer a discount that applies only if the customer buys 30 total units of any beverage, allowing them to mix and match Cola, Diet Cola, and Lemonade to reach the threshold.

1. From App Launcher, find and select **Pricing Condition Templates**, and then click **New**.
2. Select a record type.
3. Provide these details:
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col style="width:50%">
              <col style="width:50%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d30559e140">Field</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d30559e143">Description</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d30559e140 d30559e143 ">Identification</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Pricing Condition Template Name</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">Name of the pricing condition template.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Active</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">Indicates whether a pricing condition template is active.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Meta Type</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">
                  <p>Meta type of a pricing condition template. The options are:</p>
                  <ul>
                    <li>Price: For product price calculations.</li>
                    <li>Amount: For fixed discounts per order item calculations.</li>
                    <li>Percentage: For percentage discounts per order item calculations.</li>
                    <li>Free Good: To determine free goods added per order item.</li>
                    <li>Last Valid Value: To save the current item value (total) as a subtotal in a
                      calculation step of a calculation schema.</li>
                    <li>Minimum: To save the smallest result of several previous calculation steps in a
                      separate calculation step of a calculation schema.</li>
                    <li>Maximum: To save the highest result of several previous calculation steps in a
                      separate calculation step of a calculation schema.</li>
                    <li>Summation: To sum up the results of several previous calculation steps and store the
                      results in a separate calculation step of a calculation schema.</li>
                    <li>Add Free Item: To determine free items added in an order.</li>
                    <li>Flat Rate: To define the flat rate of a product.</li>
                    <li>Multi Buy: To give free items per piece multiple times.</li>
                    <li>User Exit Only: To specify special rules to select the appropriate calculation
                      schema.</li>
                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Sort</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">Sorting definition to sort the list of pricing condition templates.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Sales Org</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">
                  <p>Sales org of a pricing condition template. </p>
                  <div class="slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium">
                    <div class="slds-media slds-media_responsive">
                      <div class="slds-media__figure"><span class="slds-icon_container slds-icon_container_circle slds-icon-note-note"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-consumer_goods_retail_admin-264-0-0-production-enus/5bb7d7f5-119d-42d0-8596-95e762837019/images/icon_note.png" alt="Note"></span></div>
                      <div class="slds-media__body" style="padding-top:.5rem;padding-bottom:.5rem;"><span class="slds-text-title_caps">Note</span> The sales org of a pricing
                        condition template and the corresponding search strategy assignment must be the
                        same.</div>
                    </div>
                  </div>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Record Type</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">Record the type of the pricing condition template.</td>

              </tr>
              <tr class="">
                <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d30559e140 d30559e143 ">Specification</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Condition Level</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">
                  <p>Specifies the condition level of a pricing condition type. The options are:</p>
                  <ul>
                    <li>Order Header</li>
                    <li>Order Item</li>
                  </ul>
                  <p>The order header option has these restrictions:</p>
                  <ul>
                    <li>Only Percentage, Flat Rate, Summation, and User Exit Only meta types are
                      allowed.</li>
                    <li>Item grouping isn't allowed.</li>
                    <li>Quantity as base isn't allowed.</li>
                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Search Strategy</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">Search strategy of a calculation schema step. </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Item Grouping</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">
                  <p>Indicates whether a condition is applicable to a group of items. The option has
                    these restrictions:</p>
                  <ul>
                    <li>Only Percentage, Amount, Flat Rate, and Add Free Item meta types are allowed.</li>
                    <li>Only From and To scale types are allowed.</li>
                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Base</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">
                  <p>Item or product attribute that's used as a base for pricing functionalities, such as
                    scale determination or condition value distribution to items. The options are:</p>
                  <ul>
                    <li>Volume</li>
                    <li>Weight</li>
                    <li>Value</li>
                    <li>Quantity</li>
                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Sign</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">
                  <p>Leading sign of condition values. The options are:</p>
                  <ul>
                    <li>P (Plus)</li>
                    <li>M (Minus)</li>
                    <li>Not Specified</li>
                  </ul>
                  <div class="slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium">
                    <div class="slds-media slds-media_responsive">
                      <div class="slds-media__figure"><span class="slds-icon_container slds-icon_container_circle slds-icon-note-note"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-consumer_goods_retail_admin-264-0-0-production-enus/5bb7d7f5-119d-42d0-8596-95e762837019/images/icon_note.png" alt="Note"></span></div>
                      <div class="slds-media__body" style="padding-top:.5rem;padding-bottom:.5rem;"><span class="slds-text-title_caps">Note</span> The value of this field doesn't influence the calculation of the pricing
                        engine.</div>
                    </div>
                  </div>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Rounding</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">
                  <p>The rounding process of a calculation result. The options are:</p>
                  <ul>
                    <li>No Rounding</li>
                    <li>Commercial Rounding</li>
                    <li>Always Round Up</li>
                    <li>Always Round Down</li>
                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Decimal Places</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">
                  <p>Number of decimal places remaining after rounding. The options are:</p>
                  <ul>
                    <li>None</li>
                    <li>One</li>
                    <li>Two</li>
                    <li>Three</li>
                    <li>Four</li>
                    <li>Five</li>
                    <li>Six</li>
                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Subtotal</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">Indicates whether pricing condition templates are used for defining the subtotal
                  condition templates.</td>

              </tr>
              <tr class="">
                <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d30559e140 d30559e143 ">Manual Condition</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Manual</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">
                  <p>Indicates whether a condition type allows manual editing. The manual option has
                    these restrictions:</p>
                  <ul>
                    <li>If the condition level is Order Item, then only Price, Percentage, and Flat Rate meta
                      types are allowed.</li>
                    <li>If the condition level is Order Header, then only Percentage and Flat Rate meta types
                      are allowed.</li>
                    <li>If both manual and subtotal options aren't selected, then you must define a search
                      strategy.</li>
                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Manual Source Attribute</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">
                  <p>Field from which a manual condition is considered. The options are:</p>
                  <ul>
                    <li>Pricing Info 1</li>
                    <li>Pricing Info 2</li>
                    <li>Pricing Info 3</li>
                    <li>Pricing Info 4</li>
                  </ul>
                </td>

              </tr>
              <tr class="">
                <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d30559e140 d30559e143 ">Scale Condition</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Scale Type</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">
                  <p>Scaling conditions that are applicable. The options are:</p>
                  <ul>
                    <li>From</li>
                    <li>To</li>
                    <li>Graduated</li>
                  </ul>
                  <p>The scale type has these restrictions:</p>
                  <ul>
                    <li>If a scale type isn’t empty, the base for scale can't be empty.</li>
                    <li>If the scale type is From or To, then only Price, Percentage, Amount, Flat Rate, and
                      Add Free Item meta types are allowed.</li>
                    <li>If the scale type is From or To, and the meta type is Price, then base as Value isn't
                      allowed.</li>
                    <li>If the scale type is Graduated, then only Price, Percentage, and Amount meta types
                      are allowed.</li>
                    <li>If the scale type is Graduated, then Weight and Volume as base aren't allowed.</li>
                    <li>If the scale type is Graduated and the meta type is Price and Amount, then base as
                      Value isn't allowed.</li>
                  </ul>
                </td>

              </tr>
              <tr class="">
                <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d30559e140 d30559e143 ">Description</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e140 ">Description Language 1/2/3/4 </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d30559e143 ">Description of a pricing condition template in the languages configured for the
                  sales org.</td>

              </tr>
            </tbody>
          </table>
4. Save your changes.