Buyer-editable fields are declared on CustomizerConfig.components in @quarksb/batch-core. There are four component types today.
image_upload
id,label,areaId(design area), optionalslotIdrequired,placeholderUrl,maxEdgePxallowCrop,allowRotate- optional
addon(amountCents,currency,label)
custom_text
id,label,areaId, optionalslotIddefaultText,maxLength,fontswhitelist,defaultFontcolorsfill whitelist,defaultColorallowStroke,allowCurveaddon, optionalextraLineAddon
color_swatch
- Maps to the product SKU color axis — not a free-form palette
colors: product SKU colors (id,label, hex, …)defaultColorId
option_select
- Single-select menu:
options[]withid,label, optionaladdon, optionalflagwritten intoBuyerSession.optionFlags defaultOptionId,required
Explore a live Tank Top config in the Admin shell.