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
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.
On any object’s record page, click , and select Edit Page.
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.
Use the Page panel to give your action a name.
Select the context definition, the context mapping, and the pricing procedure.
Save your changes, and exit Lightning App Builder.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.