Skip to main content

cXML – Customers & Units

Tab: Customers​

Only Shopware customers that are explicitly assigned to a cXML system can log in via that system. All others are rejected at login.

Assigning Customers​

In the Customers tab, add the permitted customers:

FieldDescription
CustomerLinked Shopware customer (search by name or email)
info

A customer can be assigned to multiple systems — e.g. one OCI and one cXML system. Each customer needs a separate license for each system.

Tab: Units of Measure​

In the Units of Measure tab, system-specific packing units are defined. A Shopware unit is mapped to the value that should be used in the cXML transfer.

Interaction with the Field Mapping​

The mappings from this tab are read by the productSystemUnit data field. Whether and when that value applies is decided solely by the system's field mapping — there is no built-in precedence between the custom field on the product (productOciMe), the system unit table (productSystemUnit) and the default unit (systemDefaultUnit). Which source acts as the primary field and which as a fallback is configured under Configure fields.

A comparison of the three unit data fields together with a recommended default configuration is available under Units of Measure.

UN/CEFACT Codes

cXML systems often expect standardized unit codes according to UN/CEFACT (e.g. EA = Each, PCE = Piece, KGM = Kilogram). Enter these codes in the system unit table or as the default unit.