Loading
Ongoing maintenance for Salesforce HelpRead More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Calculate Bundle-Based Discounts

          Calculate Bundle-Based Discounts

          Determine the price of a product based on the discounts configured for a set of products sold as a bundle.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions of Revenue Cloud where Salesforce Pricing is enabled
          User Permissions Needed
          To create, update, and delete pricing procedures: Salesforce Pricing Design Time User

          Let's create a scenario where customers who purchase the Laptop Pro bundle along with the Printer Bundle receive a special discount, significantly lowering the cost of the Printer Bundle compared to when it's purchased on its own.

          Create a Bundle Based Adjustment Record

          1. Create a bundle based adjustment record.
          2. Specify these details.
            1. Root Bundle: Laptop Pro Bundle
            2. Root Bundle Selling Model: One Time
            3. Parent Product: Laptop Pro Bundle
            4. Parent Product Selling Model: One Time
            5. Product: Printer Bundle
            6. Product Selling Model: One Time
            7. Adjustment Type: Override
            8. Adjustment Value: 20
            9. Effective From: 01-01-2025
            10. Price Adjustment Schedule: Standard Bundle Based Adjustment
          3. Save your changes.
          4. On the Details tab, on the Bundle Based Adjustment page, select Active.
          5. Save your changes.
          Important
          Important We recommend refreshing the Bundle Based Adjustment Entries decision table to ensure that the bundle based adjustment records are available for pricing.

          Create a Constant for a Bundle Based Adjustment Variable

          1. Create a pricing procedure. To create a pricing procedure, follow the first 5 steps in Configure Your Pricing Procedure.
          2. On the Pricing Procedure builder canvas, click Pricing Elements icon.
          3. On the Resource Manager panel, click Add Resource.
          4. In the Add New Resource page, specify these details.
            1. Resource Type: Constant
            2. Resource Name: BundleBasedAdjustmentId
            3. Data Type: Text
            4. Default Value: Enter the bundle based adjustment ID from the browser.
              You can locate the value of your variable by going to the associated record. For example, to locate a price adjustment schedule ID, open the price adjustment schedule record page. The price adjustment schedule ID is shown in the browser’s URL. Price Adjustment Tier Browser ID
          5. Save your changes.

          Add the Bundle-Based Price Element

          1. Now, add the Pricing Setting element and map these variables.
            • Input Variables
              • Line Item: LineItem
            • Output Variables
              • Price Waterfall: price_water_fall
              • Net Unit Price: NetUnitPrice.
              • Subtotal: ItemNetTotalPrice
          2. Add the List Price element to fetch the base price of the product.
            Under Lookup Table Details, select the Price Book Entries decision table and map these variables.
            • Input Rule Variables
              • Product: Product
              • Price Book: PriceBooks
              • Product Selling Model: ProductSellingModel
            • Input Variables
              • Quantity: LineItemQuantity
            • Output Variables
              • List Price: ListPrice
              • Subtotal: ItemNetTotalPrice
          3. To add the Bundle-Based Price element, search for and add the Bundle Based Adjustment Entries decision table and map these variables.
            • Input Rule Variables
              • Price Adjustment Schedule: BundleBasedAdjustmentId
              • Product Selling Model: ProductSellingModel
              • Effective From: EffectiveFrom
              • Effective To: EffectiveFrom
              • Product: Product
              • Parent Product: MainItemProduct
              • Parent Product Selling Model: MainItemProductSellingModel
              • Root Bundle: RootItemProduct
              • Root Bundle Selling Model: RootItemProductSellingModel
            • Input Variables
              • Quantity: LineItemQuantity
              • Input Unit Price: ListPrice
          4. Click Pricing Procedure Builder iconand select Include in Output.
          5. Finally, set your preferences to view pricing information, profile access, and rank information.
          6. Save your procedure.
          7. Click Simulate to test your procedure. Enter the input values for your laptop product and click Simulate again.
            The price waterfall shows the bundle-based discounts used to calculate the final price of the printer bundle, confirming that your procedure is working as expected.
            Bundle Based Discount Waterfall
           
          Loading
          Salesforce Help | Article