Working With the Order History Web Part
The Order History Web Part shows previously completed transactions, including order status and a link to the Order Detail page. The list of previous orders is displayed in a tabular format. Site designers can configure the properties in the table to include items such as the order number, status, number of items, total price, and order date.
Web Part
The following figure shows the Order History Web Part.
The shopper can filter the orders being displayed by:
Date range
Order Name
Order Status
Order Number
Shipping Zip Code or Postal Code
Contained Products
A shopper can select the order date range by using drop-down controls. The product filter is based on the product ID or product name properties.
Property Sheet
The following figure shows the Order History Web Part property sheet. The Order History Web Part property sheet lets site designers control some aspects of the Web Part's behavior and appearance. The property sheet is displayed by selecting the edit option on the Web Page (in Edit Page mode) and then selecting Modify Shared Web Part. This displays the property sheet. Expand the sections to see the relevant properties.
Properties
The following table lists and describes the properties for the Order History Web Part.
Property |
Type |
Description |
Default |
---|---|---|---|
Maximum # of results per page |
Int |
Maximum number of results to display on the page. |
10 |
CSS Class for "enabled" state |
String |
Style sheet |
Blank |
CSS Class for "disabled" state |
String |
Style sheet |
Blank |
CSS Class for 'Current page number" |
String |
Style sheet |
Blank |
CSS Class for "Other pages" |
String |
Style sheet |
Blank |
"Previous" button text |
String |
Sets the text displayed on the Previous button. |
Previous |
"Next" button text |
String |
Sets the text displayed on the Next button. |
Next |
Order ID URL Key |
String |
Field name used to reference the order ID. |
Id |