OCI – Customers & Units
Tab: Customers
Only Shopware customers that are explicitly assigned to an OCI 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) |
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 (from Settings → Units) is mapped to the value that should be sent in the OCI transfer for that unit.
Priority Order
The connector determines the unit for a product in this order — the more specific setting always takes precedence:
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 | Applies to all products without a specific unit — ideal for PCE or C62 as a general fallback |
| System unit table | When certain Shopware units need to be coded differently for this system |
| Custom field on product | For individual products with a different unit |
Many procurement systems expect standardized unit codes according to UN/CEFACT (e.g. PCE for piece, KGM for kilogram, LTR for litre). Enter these codes in the system unit table.