Ready

Create a component

How the Admin panel upserts components in #/customizer.

Merchants edit components in the Admin panel of the customizer shell (#/customizer), not by hand-editing JSON in production.

Where

Open https://quarksb.com/mockups/#/customizer. The left Admin panel lists buyer-editable components for the loaded CustomizerConfig.

How upsert works

  • Edits dispatch AdminConfigPatch actions via reduceAdminConfig.
  • Field changes call upsert_component with the merged component object (same id / type).
  • remove_component drops a component; reorder uses reorder_components.

What you can edit today

Labels, placeholders / default text, text fonts and colors, and addon cents for image/text. Color swatches stay tied to catalog SKU colors (edit via bake / product data, not free-form hex in Admin).

Adding a brand-new component type from a blank form is still evolving — start from the Tank Top defaults and upsert fields, or seed components in code for demos.

← All guides