Source of truth: this starter is exported from the
contentrain-startersmonorepo. Internal starter id:next-commerce.
Commerce starter for campaigns, collections, and product detail storytelling.
- SDK and CLI: ai.contentrain.io/packages/sdk.html
- Product guides: docs.contentrain.io
- Content operations UI: studio.contentrain.io
pnpm install
pnpm devpnpm devpnpm checkpnpm buildpnpm startpnpm deploy:netlifypnpm contentrain:generate
//collections/featured-collection/products/atlas-travel-jacket/architecture
- Campaigns, collections, products, testimonials, FAQ, navigation, footer, and SEO live in
.contentrain/ - App Router server components query content through the generated
#contentrainclient - Product detail and collection pages are statically generated from Contentrain data
- Product imagery, gallery items, highlights, and official Contentrain backlinks are seeded through content files
- The repo follows a content-first Contentrain architecture so merchandising content evolves through schema-backed git changes instead of scattered constants
- Netlify build command:
pnpm deploy:netlify - Netlify publish directory: framework-managed
- Keep the publish directory empty in the Netlify UI and let the Next.js runtime be detected automatically
Use pnpm dlx netlify-cli init to connect the repository for continuous deployment, or pnpm dlx netlify-cli link if the site already exists.

