Skip to main content

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

  1. Open Themes / Visual Builder for the active store
  2. Edit sections (hero, products, features, …)
  3. Preview in the device frame (real iframe + theme assets)
  4. 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 + StorefrontArtifact rows
  • 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
Repo references: docs/STOREFRONT-ARCHITECTURE.md, docs/PRODUCTION-WORKFLOW.md.