Fine-grained configuration of each colorable zone of the 3D model.
A zone is a part of the garment the customer can color independently (front, back, sleeves, collarβ¦). Zones are extracted automatically when a GLB is dropped on the product page:
The result is stored in the product's zones_config (a zones array plus per-zone settings, indexed by zone position). See Products for GLB good practices.
Each zone has a default color β the color the garment shows when the configurator opens. On extraction it is read from the GLB material's PBR base color; it falls back to #333333 when the material has none. You can change it with the color picker in each zone row (default_colors in zones_config).
Every zone has a restrictions panel (the π button on the zone row). Restrictions are stored per zone index in zones_config.zone_restrictions:
| Restriction | Meaning |
|---|---|
lock_color | The zone's color is fixed and cannot be changed at all. |
allowed_colors | Restricted palette for this zone: a comma-separated list of hex codes or Pantone names. Empty = all colors allowed. |
no_text | No text elements (including player names) on this zone. |
no_number | No numbers (player numbers) on this zone. |
no_logo | No logos, images or shapes on this zone. |
no_pattern | No background patterns on this zone. |
no_drawing | No freehand drawing (studio mode) on this zone. |
Restrictions are enforced visually in the configurator, applied each time the customer selects a zone:
allowed_colors are hidden; only the allowed colors remain clickable.Because restrictions are indexed by zone, switching to another zone immediately re-enables anything that zone allows.
lock_color + no_text/no_logo on that zone.allowed_colors to the club's hex/Pantone list on visible zones.no_pattern + no_drawing.