Order history configuration¶
You can change a number of different parameters to configure the behavior of the Order History page.
General settings¶
To configure the number of documents displayed on one page, use the following setting:
1 2 3 |
|
To define document types that are available for selection, list them under the document_types
key.
The default_document_type
setting decides which document type is displayed by default:
1 2 3 4 5 6 7 8 |
|
You can configure the default time period for the displayed documents:
1 2 3 4 5 |
|
You can configure the date format that is used in the shop and the format in which dates are sent to ERP:
1 2 3 4 5 |
|
Column configuration¶
To define columns that are displayed for each document type, list them under the respective key.
The column identifier is the block name from OrderHistory/Components/fields.html.twig
, without the suffix _field
:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
Column sorting¶
To define default sorting for columns in the list page, use the default_list_sort
setting.
Allowed values are:
numeric-comma
- for numbers that use a comma as a decimal separator, such as currencydatetime
- for datetime in the<dd.mm.YYYY HH:mm>
or<dd.mm.YYYY>
format`false
- disables column sorting
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
To define column sorting for the list view, use the default_list_sort_column
setting:
1 2 3 4 5 6 |
|