Skip to main content
The online interface to the merchandise management system retrieves order data live from the merchandise management system and displays it in the customer account. Which data that is and how the buyer can filter it is defined in the 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>/.
If the shop does not find the file, the module aborts and the interface returns nothing at all.As of WEBSALE V8, the shop first looks for wws-online-interface.config and then falls back to the older name wws-online-interface.ini. This fallback level is not described in the previous documentation. Use the .config extension for new shops.
Guide: Using the WWS info data interface · Basics: Configuration basics

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.
The numbers of the order types must be coordinated with the merchandise management system. The shop passes them on unchanged and only translates them for display.
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.
If all six 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.
In the template, you output the two separately.
The numbers cannot be assigned freely. Each number stands for a specific field of the interface. Here you only define which fields appear and how they are labeled, not which field gets which number.Coordinate with the provider of your merchandise management system which fields it actually supplies.

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.

Debug

Neither section is officially documented. Only use them after consulting WEBSALE AG.LogCommunication records all data traffic with the merchandise management system. Keep the switch turned off in production.