Theme Builder
Sellers customize the live storefront in the dashboard. Developers who need full control should read the Themes tab and the Theme Development section under Store Setup.Two modes
Custom theme authors: start at Build a Custom Theme.
Seller flow
- Open Themes / Visual Builder for the active store
- Edit sections (hero, products, features, …)
- Preview in the device frame (real iframe + theme assets)
- Publish → new storefront revision goes live
Developer entry points
Seller session APIs (dashboard)
These require an authenticated seller session — not for public themes:
Public themes use subdomain catalog + checkout APIs only.
Publish rules
- Vite build → artifacts +
StorefrontArtifactrows - Live HTML from published revision
- Assets under
/markt-theme-assets/live/{revision}/ - Preview must use a real iframe URL + dist files — never flatten React to a static HTML snapshot
- CSP must allow the dashboard origin to embed the preview
docs/STOREFRONT-ARCHITECTURE.md, docs/PRODUCTION-WORKFLOW.md.