--template ecommerce

Ecommerce

Storefront with a working cart

A storefront that already works — browse products, filter collections and add to a cart that survives a refresh. Everything from the shelf to checkout intent is built, so you only plug in your catalogue and payments.

What's inside

Built for a ecommerce site

Everything below is already written and wired — real sections, not stubs to delete.

Product & collections

A responsive product grid, collection pages and rich product detail views.

A persisted cart

Add / update / remove with quantities, saved to storage so it survives reloads.

Money done right

Prices in integer minor units via @lacspace/money — no floating-point rounding bugs.

Checkout intent

A cart summary and checkout hand-off, ready to connect to your payment provider.

7 pages

Pages you get, filled in

Each one arrives complete and personalised with your project name.

HomeShopCollectionsProductCartAboutContact
One command

Scaffold the Ecommerce template

This writes a complete, running Next.js 15 + React 19 + Tailwind app to disk — then it's a normal project you own outright and edit however you like.

Prefer to look first? Open the live demo ↗

terminal
# scaffold the ecommerce template
npm create lacspace-app@latest my-app -- --template ecommerce

cd my-app && npm run dev
In every template

The boring parts, already done

Whichever template you pick, it ships with the production plumbing every real site needs — wired from one site config.

SEO wired end-to-end

Metadata, JSON-LD, dynamic OG images, sitemap and robots — all from one site config.

Security headers

A strict Content-Security-Policy and hardened HTTP headers via @lacspace/headers.

Dark / light theme

A no-flash theme with system, light and dark modes and a toggle.

⌘K command palette

A keyboard command palette for fast navigation, built in.

Typed contact form

FormData → validated, typed data with a spam honeypot.

CI that gates on SEO

A GitHub Actions workflow that fails the build on a poor SEO crawl grade.

See them all

9 finished templates, one command each

Browse the full gallery, or jump straight into the developer platform for docs and the package reference.