Technical documentation - OrderHistoryPreview
This article describes how to configure order history preview.
This configuration is available in version 5.1 and later.
Overview
The Order preview function allows users to see latest orders on a page, typically start page, for quick access.
Configuration
Favourites function is turned on in profile.config. Define where to show favourites in presentation settings.
<Presentation id="start" template="index" class="start view">
<!-- Display order history preview in bodyfooter and place it in the group "history-favourite" as no 1 -->
<OrderHistoryPreview display="bodyfooter" display-count="5" order="1000" group="history-favourite" group-order="1">
<!-- Define which columns to show -->
<Column id="Title" caption-key="Title" />
<Column id="PurchasedOrderNumber" caption-key="PurchasedOrderNumber"/>
<Column id="PurchaseDate" caption-key="PurchaseDate" />
<Column id="OrderStatus" caption-key="OrderStatus" />
<Column id="ReferencePerson" caption-key="Reference" /> </OrderHistoryPreview>
</OrderHistoryPreview>
</Presentation>
OrderHistoryPreview have the following attributes
Options | Usage | Values |
---|---|---|
display-count | Max number of items to show | A string |
Â