NextWoo
For developers

Next.js ecommerce template: what a free one leaves you to build

A developer's inventory of the gap between a Next.js ecommerce template and a store that takes real orders, with an honest note on when a free starter is the right tool.

Decision diagram for a modular Next.js ecommerce template

A Next.js ecommerce template gives you the frontend: routing, product and collection pages, a cart UI, next/image and metadata. It does not give you a commerce backend, a checkout that handles your tax and payment rules, or the launch work around a store that already ranks. This page is written for developers comparing templates, and it starts with a disclosure: NextWoo does not sell its storefront code. If a free template fits your backend, use it; the sections below say how to tell, and what you will still be building after you clone it.

01

What a free Next.js template actually ships

The best-known free option is Vercel's Next.js Commerce (the vercel/commerce repository, MIT-licensed), built on the App Router with server components, streaming and Shopify's Storefront API behind it. Medusa ships a Next.js starter storefront for its own backend, and Saleor maintains one for its GraphQL API. All three give you working product, collection, search and cart routes, image handling, and metadata generation. Each one is also wired to exactly one backend, and that wiring is the part you cannot see from the demo. Vercel says in the repository that it actively maintains only the Shopify version; other providers live in forks maintained by those providers or the community.

02

Your backend picks the template, not the reverse

Start from the system that holds your orders. On Shopify, Next.js Commerce is close to a drop-in, and paying anyone to rebuild what it already does is the worse choice. On Medusa or Saleor, take the starter their teams maintain. WooCommerce has no first-party Next.js template, so every option is either a community repository or a commercial build, and the integration looks different from the Shopify one in three ways a developer will hit in the first week:

  • The Store API (wc/store/v1) runs the cart, and a decoupled frontend keeps the session through its Cart-Token header
  • The REST API (wc/v3) authenticates with a consumer key and secret that must stay on the server, never in a client bundle
  • Both cap per_page at 100, so a 20,000-product catalog takes at least 200 paginated requests to read in full
  • Variations come from a separate endpoint, paginated the same way, so a 150-variation product is two extra calls
03

The production gap, piece by piece

Here is what a template leaves for you, in roughly the order it bites. Price and stock freshness comes first. Since Next.js 15, fetch requests are no longer cached by default, so caching is a decision you make per request, and a store needs it tied to product updates: a webhook from WooCommerce calling revalidateTag for the edited product, with a time-based revalidate as the backstop. Cart persistence is second, because a guest cart has to survive a reload, a second tab and an expired session without silently emptying. Third, variation logic. Unavailable combinations, back-orders and a price that changes with the selected options are where most demo carts break, since demo catalogs carry simple products. Then the SEO layer: generateMetadata per route, canonical URLs that match the old site, Product JSON-LD with price, priceCurrency and availability in offers, and sitemaps split with generateSitemaps once you pass the protocol's 50,000-URL limit per file. Analytics and consent come last and take longest to verify, because GA4 ecommerce events have to fire from client components that the template never instrumented.

  • Checkout handoff: send the cart to the native WooCommerce checkout, or own payment correctness yourself
  • Empty, error and loading states for every route, including a failed cart API call
  • Accessible variation pickers, filters and drawers, tested with a keyboard and a screen reader
  • Redirects for every URL whose pattern changes, mapped before the domain switch
04

When a free starter is the right call

A free template is the better choice in three situations, and in each one hiring a done-for-you service would be money spent on work the starter already did. You run Shopify, Medusa or Saleor and the maintained starter targets it. You have in-house Next.js developers who will own the codebase for years, so the template is a head start rather than a dependency. Or the store is new, with no rankings or order history to protect, and a learning-friendly prototype is worth more than a hardened launch. It stops being the right call when the backend is WooCommerce and nobody on the team has shipped a storefront before, because then the team learns the framework and the commerce edge cases at the same time. The Next.js Commerce vs WooCommerce comparison covers that build-versus-start-from-production decision in more depth.

05

Launch work no template includes

No repository ships your redirect map, your staging run with test orders, or a host that is allowed to carry a store; Vercel's Hobby tier is for non-commercial use, so a live shop needs a paid plan or another Node host. That work is the same whichever template you start from. The audit-first headless migration describes the sequence, and how a Next.js storefront runs in production covers caching, cron and deploys after launch.

06

Why NextWoo does not sell its template code

NextWoo's storefront is set up on a client's store rather than licensed, because the parts that make it production-grade are configuration against one specific WooCommerce install: its plugins, its checkout, its URLs. A repository without that work would be one more starter, and this page has already said how many of those exist. If you are a store owner, not a developer, the route is the done-for-you Next.js WooCommerce template, with Launch Setup from $1,999. If you are a developer shortlisting free starters, how to test a Next.js ecommerce starter in an afternoon is the next read.

Frequently asked questions

Still have questions?

Reach out and we'll get back to you within 24 hours.

Contact us
Can I download or buy NextWoo's Next.js ecommerce template?

No. There is no self-service license or repository for sale. The storefront is only delivered as a done-for-you setup on an existing WooCommerce store, starting with Launch Setup from $1,999.

Is Vercel's Next.js Commerce free to use for a commercial store?

The code is MIT-licensed, so commercial use is allowed. Hosting is a separate question: Vercel's Hobby plan is limited to non-commercial use, so a live store needs a paid Vercel plan or another host that runs Next.js.

Does Next.js Commerce work with WooCommerce?

Not out of the box. Vercel maintains only the Shopify integration, so a WooCommerce version means rewriting the data layer against the Store API and REST API, or adopting a community fork and checking how recently it was updated.

Which WooCommerce API does a Next.js ecommerce template use?

Two of them, normally. The Store API runs the cart, and the REST API or WPGraphQL serves products and categories. REST API keys belong on the server only, and WordPress remains the admin and system of record.

Is Next.js enough to build an ecommerce store?

No. Next.js is the frontend layer; you still need a commerce backend for catalog, orders, tax and checkout. Pairing it with a backend you already run, such as WooCommerce, means those systems exist and are proven before you write a line of frontend code.

Related reading
  • Next.js Commerce vs WooCommerce

    Next.js Commerce vs WooCommerce: one is a Shopify-shaped storefront starter, the other runs your store. Which to build from, and when the starter costs more.

  • Next.js WooCommerce template

    A Next.js WooCommerce template connected to your store and launched in 1–2 weeks, from $1,999: product pages, cart, SEO layer and your existing checkout.

  • WooCommerce REST API frontend

    Build a Next.js storefront on the WooCommerce REST API: catalog reads on REST, cart on Store API, native checkout kept, products and orders in WordPress.

  • WooCommerce cart API

    Build a responsive cart on a Next.js storefront with the WooCommerce Store API: session tokens, coupons and stock validation, then a safe handoff to checkout.

  • Production Next.js storefront

    How a production Next.js storefront for WooCommerce stays correct: cache rules for price and stock, webhooks that switch off, WP-Cron, hosting and rollback.

See how many sales your store is losing

Start with a free speed audit. You'll get your store's real numbers and an honest recommendation — even if it's "you don't need us".

Anything you already suspect — checkout feels slow on phones, the category pages crawl, you were told the theme is the problem. Guesses are useful; we check them.

No sales call — you'll get a written report with your store's numbers.

By requesting an audit you accept our Privacy policy and Terms of service. We may publish an anonymised summary of the findings as an example of our work. We never name your business without your written consent.