Loading
Salesforce now sends email only from verified domains. Read More
Set Up and Maintain Retail Execution
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
          Order LWC UI Extensibility

          Order LWC UI Extensibility

          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.
          • Edit JSON in an Order Template
            Make customizations to the order pages by modifying the default JSON.
          • 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.
           
          Loading
          Salesforce Help | Article