--template marketplace

Marketplace

Cart, checkout & payments — wired

The most complete template — a working storefront wired end to end to the Lacspace commerce packages: cart, tax, shipping, orders, invoices and Nepal payment gateways. Not a mock-up of checkout, an actual checkout.

What's inside

Built for a marketplace site

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

A real checkout

Cart → shipping → tax → order, computed in integer minor units the whole way through.

Commerce packages

Wired to @lacspace/cart, shipping, tax, order and invoice — the real engine, not stubs.

Nepal payments

eSewa, Khalti, ConnectIPS and Fonepay hand-offs prebuilt via the payment packages.

Order & invoice

An order summary, a success page and a generated PDF invoice via @lacspace/pdf.

6 pages

Pages you get, filled in

Each one arrives complete and personalised with your project name.

HomeShopProductCartCheckoutSuccess
One command

Scaffold the Marketplace 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 marketplace template
npm create lacspace-app@latest my-app -- --template marketplace

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.