Collections
Globals
Sync rules with Medusa
Medusa remains the source of truth for product and category identity. InproductContent and categoryContent, these fields are read-only in Payload:
titlehandlemedusaCategoryId
h1, and seo, are writable in Payload and render in the storefront. This separation lets merchandisers edit content without changing catalog data.
Extending the schema
You can add fields to existing collections or create new collections and globals via Payload configuration. For guidance, see the Payload docs: Access control functions gate who can read and write each collection. Configure them to match your team roles.Environment behavior
SetCMS_STRICT=1 to make storefront Payload failures rethrow in production instead of rendering an empty shell. Without this flag, the storefront silently skips missing or failed CMS content. See Environment variables.
Seed defaults live in
apps/storefront/src/lib/cms/defaults.ts and are only used in non-production environments when Payload is empty.Storefront blocks
Register new Payload blocks and map them to React components in the storefront.
Content management
Learn how editorial content flows from Payload into the storefront.