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:
| Field | Description |
|---|---|
| Customer | Linked 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.
Priority Order
1. Custom field on product (productOciMe) ← highest priority
2. System unit table (this tab)
3. System default unit ← fallback
When to use each level:
| Level | Recommendation |
|---|---|
| Default unit | General fallback for all products without a unit (e.g. EA for Each) |
| System unit table | When Shopware units need to be coded differently for this system |
| Custom field on product | For individual products with a different unit |
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.