Create personalized orders by customizing and setting up their order templates.
Customize the fields shown on the order pages by configuring the JSON (for individual pages) on
the Order Templates page. With the custom fields, you can include additional context and tailor
advanced orders on the desktop app as per your requirements.
Required Editions
Available in: Lightning Experience in Professional, Enterprise, and
Unlimited Editions that have Consumer Goods Cloud enabled
You can customize these order pages:
Order Header
Order Details
Order Items
Add Items
Free Items
You can add, remove, hide, or change the sort order for all fields by using the respective
JSON. You can add custom fields from the managed package on the order pages.
The Advanced Order Experience Customization section on the order template contains these
custom JSON fields where you can modify the default JSON or add a custom JSON and configure
various order pages:
Custom JSON for Free Items
Custom JSON for Add Items
Custom JSON for Order Items
Custom JSON for Order Details
Custom JSON for Order Page Header
When the JSON fields are left blank, the system populates them with the default JSON.
The customizations through the JSON affect the orders placed through the Lightning Web
Component (LWC). The changes get applied to new and existing orders.
Here are some examples of Order LWC customizations:
Add product level or product short code in the product list on the Add Products page.
Show the Currency field (from the Order object) on the order page header.
Remove invoice note or initiation date from the order details section or product GTIN from
free items.
Change the display order of fields in the order items grid.
Attributes of Custom JSON Custom JSON for order templates uses attributes to specify the names, descriptions, and behavior of the fields in the various sections of the order.
JSON Validations When you provide a custom JSON in an order template, the system verifies that the JSON is valid and that all required attributes are present. All attributes and attribute values are case-sensitive and the attributes must be part of the objects that they’re referred from.
Minimal Values of the JSON When the mandatory attributes aren’t present, the system throws an error when saving the custom JSON.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
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.