Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read 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
          Customize the Pricing Action Button by Using Lightning Components

          Customize the Pricing Action Button by Using Lightning Components

          Add the Pricing Calculation standard Lightning component to object record pages to make custom pricing actions available across your org and calculate the price of a product directly from the record page.

          Required Editions

          User Permissions Needed
          To customize an Experience Cloud site:

          Be a member of the site AND Create and Set Up Experiences

          OR

          Be a member of the site AND an experience admin, publisher, or builder in that site

          Note
          Note

          The Calculate Price button is only for pricing Salesforce objects and doesn't support custom data hydration.

          The more complex Quotes and Orders logic, which uses custom hydration for bundles and derived products, requires a custom-built pricing button that can act on persisted (saved) data. Therefore, the standard button should not be considered a replacement for Transaction Management's pricing logic.

          1. On any object’s record page, click Edit page icon, and select Edit Page.
          2. On the Builder page, from the Components panel, drag Pricing Calculation to the position where you want it to appear on the Lightning page canvas.
          3. Use the Page panel to give your action a name.
          4. Select the context definition, the context mapping, and the pricing procedure.
          5. Save your changes, and exit Lightning App Builder.
            Add Pricing Calculation Button
           
          Loading
          Salesforce Help | Article