Extend a Commerce view to show additional information in the Business Tools
Version:
You can extend a Commerce view to show additional information in the Sitecore XC Business Tools user interface. The following is an example of how you can extend an Entity View to display the summary of points that have been earned on the Order Details page. We extend the view by adding a new EntityView block.
To extend a commerce view to show additional information:
-
Copy and paste the sample block and name it
GetOrderSummaryViewBlock. -
The
GetEntityViewblocks take anEntityViewas a parameter and return anEntityView. Because this extension must see an order, you must add a reference to the Orders plugin, for example: -
Add the new block: