/
Technical documentation - OrderHistoryPreview
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 |
Related articles
, multiple selections available,
Related content
Technical documentation - Favourites function
Technical documentation - Favourites function
More like this
Order history and links to order history not working
Order history and links to order history not working
More like this
Http API: GetOrders
Http API: GetOrders
More like this
Technical documentation - Orders, price and availability settings
Technical documentation - Orders, price and availability settings
More like this
Technical documentation - Tabs
Technical documentation - Tabs
More like this
Technical documentation - Shopping list
Technical documentation - Shopping list
More like this