wws-online-interface.config configuration.
The six sections can be read in three groups. Templates defines which file renders which view. Types, MaxEntries, and PeriodSelection build the three selection lists that the buyer uses to narrow down the display. HeadData and PositionData name the fields that the merchandise management system supplies.
Each subshop that uses the interface needs its own file in the configuration directory of that subshop, that is, in
konfiguration/<Subshop-ID>/.Templates
Defines which template renders which view of the interface. You can choose the file names freely.
These templates are pulled into a master template via
WS-ExternInclude. The ERP- tags only apply within them.
Reference: ERP tags for the WWS info data interface
Types
Defines the order types that the buyer can filter by. The shop builds a selection list from them.
Standard only applies as long as the buyer has not yet selected a type. As soon as they use the selection list, their choice applies. This is not documented and is added here.MaxEntries
Defines the selection list for the number of displayed orders.
ActiveYearAllEntries = yes is especially useful if the buyer should already see something on the first visit without having to set a period first.
As with
Types, Standard only applies as long as the buyer has not used the selection list.PeriodSelection
All texts and settings for the period selection. The shop builds selection lists for day, month, and year from them, as well as a list of alternative periods.
The oldest selectable year is the current year minus
ShowYearsAgo. A value of 0 therefore only allows the current year.
ShowYearsAgo limits not only the selection list but also the validation of the dates actually submitted. A date further back is reset. A period where the end date is before the start date is swapped automatically. Neither is documented, and both are added here.Alt texts are empty, no alternative period selection appears.
HeadData
Names the header data of an order that the merchandise management system supplies. The fields H1 to H1000 are supported.
PositionData
Names the item data of an order. The fields P1 to P1000 are supported. The section works exactly like HeadData.
The source documentation gave the tag
ERP-Position(H1) for the field value. The tag name is ERP-PositionData, and the argument has the prefix P, not H. Both are corrected here.Undocumented sections
The kernel reads two further sections in this configuration that are not described in the previous documentation.CommonData
A third field section alongside HeadData and PositionData, structured according to the same pattern. It supplies the tags ERP-CommonName, ERP-CommonData, ERP-CommonData_Name, and ERP-CommonData_Value, which output general customer data from the merchandise management system.
