E-commerceLayer: Architecture and data
Headless commerce: what it is and when it pays off
Headless commerce explained: the pros and cons, the costs and which shops the architecture pays off for.
Headless Commerce describes a shop architecture in which the frontend and backend are separate and communicate only through an API. This article explains what that means, when it pays off for merchants in the DACH region and what it costs.
Classic shop and headless compared
In a classic shop system, such as a Shopify theme or a WooCommerce shop on WordPress, the frontend (what the customer sees) and the backend (product data, order logic, admin) are tightly linked. Such a shop is quicker to set up, less complex and comes with many ready-made features. In design and performance, though, it eventually hits the limits of the system.
Headless removes this coupling. The backend, for example Shopify as the commerce engine, provides all data via a GraphQL or REST API. The frontend, such as a Next.js or Remix project, fetches this data and renders the pages itself.
The three architectures compared
| Feature | Traditional | Headless | Composable |
|---|---|---|---|
| Frontend/backend coupling | Tightly coupled | Decoupled | Fully modular |
| Design freedom | Limited by templates | Unrestricted | Unrestricted |
| Time-to-market | Fast (weeks) | Slow (months) | Very slow (months+) |
| Initial costs | Low to medium | High (from €20k) | Very high (enterprise) |
| Maintenance effort | Low | High | Very high |
| Multi-channel | Limited | Well suited | Very well suited |
| Internal dev team needed | No | Yes | Yes (multiple) |
When headless pays off
For many DACH merchants an optimised Shopify theme is the better choice. Headless pays off when several of the following criteria apply:
Headless makes sense when …
- Multi-channel strategy: The same product data has to serve the website, mobile app, kiosk terminals and B2B portal.
- Performance as a competitive edge: Core Web Vitals demonstrably affect your conversion rate and the theme has reached its limits.
- Very complex UX: Product configurators, 3D previews or customised catalogues that no theme system can handle.
- B2B portal with its own logic: Customer-specific prices, approval workflows and roles in a separate interface on the same commerce backend.
- Revenue from approx. €2M: Only at this scale does a return on the higher initial investment become realistic.
- No: Standard D2C without special requirements: If you need a classic shop without multiple channels, headless usually adds nothing but cost.
- No: No internal dev team: Without React and Next.js experience in your own team, every change becomes an agency request, and those costs add up.
Shopify Hydrogen & Oxygen
Shopify developed Hydrogen, a React-based storefront framework built directly on the Shopify Storefront API. It runs on Oxygen, Shopify's edge hosting, which is included in the Shopify plan and distributes pages worldwide. This makes load times under 100 ms in the DACH region realistic.
Hydrogen uses Remix as the routing framework and renders on the server by default (Server Side Rendering), so search engines can read the whole shop from the start. A Hydrogen project with us runs in four steps:
- Discovery & scopeRequirements analysis, architecture decision and technical scope, followed by a fixed price
- Live prototype in the browserClickable prototype instead of static designs; you give feedback directly in the browser
- Hydrogen buildReact components, GraphQL integration, CMS connection, checkout extensions
- Oxygen deploymentCI/CD pipeline, edge hosting and worldwide CDN on Shopify's infrastructure
Headless CMS: Contentful, Sanity, Storyblok
A commerce backend like Shopify manages products, variants and orders. For editorial content (magazine articles, lookbooks, guide pages, landing pages) you need a separate headless CMS. For the DACH mid-market, three systems are the main candidates:
CMS comparison for DACH merchants
- Contentful: Built for enterprises, large ecosystem, structured content modelling. Costs rise noticeably above about 25 users; suited to large teams.
- Sanity: Flexible schema, real-time collaboration, GROQ query language, transparent pricing. Our standard recommendation for the DACH mid-market.
- Storyblok: Visual editor with live preview, a good fit when marketing teams maintain content without developer support. Of the three, the easiest for editors to learn.
- When you do not need a headless CMS: Pure product catalogues without content marketing work fine with Shopify metafields and pages.
Composable commerce and MACH
Headless separates frontend and backend. Composable Commerce goes one step further: all functions run as interchangeable, independent services. The framework behind it is called MACH: Microservices, API-first, Cloud-native, Headless.
- Commerce EngineShopify / commercetools: products, prices, orders, B2B
- Headless CMSSanity / Contentful / Storyblok: editorial content, translations, media
- Search & DiscoveryAlgolia / Elasticsearch: product search, faceted filters, recommendations
- Payments & CheckoutStripe / Adyen / Shopify Payments: SEPA, EPS, Klarna, credit card
Large companies choose MACH when they want as much flexibility and vendor independence as possible. For mid-market merchants in the DACH region with revenue under €20M, a combination of Shopify Hydrogen, Sanity and Stripe is usually enough, and considerably cheaper to run.
What headless costs in total (TCO)
The most common mistake when deciding on headless is to look only at development costs. The total cost of ownership is made up of several blocks:
| Cost block | Shopify theme | Headless (Hydrogen) | Composable (MACH) |
|---|---|---|---|
| Initial build | €8k to €25k | from €20k | €80k to €250k+ |
| Hosting/month | included in plan | €0 (Oxygen) to €300 (self-hosted) | €500 to €2,000+ |
| CMS costs/month | included | €0 to €500 (Sanity/Storyblok) | €500 to €3,000 (Contentful Enterprise) |
| Maintenance/month | depends on scope | from €1,700 (retainer) | €3,000 to €8,000+ |
| Internal dev team | optional | recommended (1 FE dev) | required (2 to 4 devs) |
All figures are indicative. Costs depend on scope, integrations and your internal capacity; we work out the concrete numbers for your setup in discovery.
Conclusion: who headless is right for
Headless commerce suits specific requirements and is oversized for most shops. We have run shops ourselves and advise: first check whether Shopify Plus with a customised theme covers your requirements. Headless pays off if you serve multiple channels, performance is a competitive factor for you, the UX is very complex or a B2B portal has to run on the same commerce backend.
We do not give performance guarantees, and GDPR legal advice is your lawyer's job. From us you get an assessment from a merchant's point of view, concrete numbers in the discovery phase and the technical implementation, whether with Shopify Plus, Hydrogen or a classic theme.
Is headless right for your shop?
We review your requirements and tell you whether headless, Shopify Hydrogen or a classic stack is the better fit.
Discuss your projectFrequently asked questions
Does headless commerce deliver better performance than a classic shop?
Yes, if the frontend is built well.
- SSR/SSG: Server Side Rendering and Static Site Generation with Next.js or Hydrogen deliver significantly better Core Web Vitals than theme-based shops.
- Edge hosting: Oxygen (Shopify's edge network) distributes pages worldwide; load times under 100 ms in the DACH region are realistic.
- A poorly built headless frontend is slower than a clean Shopify theme. How fast the shop becomes depends on the implementation.
Where performance has a measurable effect on revenue (e.g. fashion, electronics), the effort pays off.
When should you not go headless?
For most shops headless is oversized. These signs speak against it:
- No internal dev team: If nobody on your team knows React and GraphQL, you pay for external developers indefinitely.
- Revenue under €2M: The investment hardly pays off; an optimised Shopify theme delivers 90% of the performance.
- Fast launch required: A headless project takes at least 4 to 6 months; classic Shopify setups go live in 6 to 12 weeks.
- Standard D2C without special cases: If you need neither multiple channels nor a B2B portal or a very complex UX, headless gains you nothing.
First check whether Shopify Plus with a customised theme meets your requirements.
What does a Shopify Hydrogen project cost?
Hydrogen projects start at €20,000 with us and can cost significantly more depending on scope.
- Discovery (4 to 6 weeks): Requirements analysis, architecture decision, technical prototype. After that you get a fixed price.
- Build phase: React frontend, GraphQL integration, CMS connection (Sanity/Contentful), CI/CD on Oxygen or Scaleway.
- Ongoing retainer: Headless systems need active maintenance; our retainer starts at €1,700/month.
- Hosting: Oxygen is included in the Shopify plan; self-hosted setups at Scaleway or Hetzner typically cost €80 to €300/month.
How does SEO work with headless commerce, and are there disadvantages?
With SSR or SSG, headless has no structural SEO disadvantage compared with classic shops.
- SSG (Static Site Generation): The build renders every page as HTML in advance, so crawlers see the full content immediately.
- SSR (Server Side Rendering): The server renders each page per request; this is also fully crawlable.
- Client-only SPA: Risky for SEO and can cost significant visibility; Google explicitly advises against it without SSR/SSG.
- Hydrogen/Oxygen: Uses Remix with SSR by default and is SEO-ready without extra work.
- Structured data, sitemaps and canonical tags: You set these up yourself, as with any framework.
How long does a headless Shopify project take from start to launch?
Usually 4 to 7 months, depending on scope and how quickly decisions are made.
- Weeks 1 to 4: Discovery, architecture, technical scope
- Weeks 5 to 12: Live prototype in the browser, feedback loops, core components
- Weeks 13 to 20: Integrations (CMS, PIM, ERP), performance tuning, testing
- Weeks 21 to 28: Staging, QA, launch, hypercare
Clear requirements, short feedback cycles and finished branding speed the project up. Unclear product data, frequent scope changes and missing decision-makers on your side slow it down.
What team does a headless shop need in the long run?
A headless shop needs technical expertise permanently, well beyond launch.
- Minimal setup (agency retainer): 1 internal person for content plus an agency for development and maintenance from €1,700/month.
- Internal team (recommended from €5M revenue): 1 frontend developer (React/Next.js), optionally 1 DevOps engineer.
- Required skills: GraphQL, React/TypeScript, CI/CD pipelines, headless CMS configuration.
- Not suitable for: Teams without a technical bent that rely on managing the shop themselves with plugins.
A shop owner without technical knowledge can maintain a classic Shopify theme, but not a headless frontend.
Are there DACH-specific considerations for headless commerce?
Yes, particularly around payment methods, taxes and data protection.
- Payment methods: EPS (Austria), Klarna invoice and SEPA direct debit have to work correctly in the frontend via Shopify Payments or Stripe.
- Data protection: GDPR compliance requires a carefully integrated cookie consent tool (e.g. Usercentrics). A lawyer handles the legal advice, we handle the technical implementation.
- GoBD-compliant accounting: Shopify does not replace accounting software; integration with DATEV, Lexoffice or sevDesk is mandatory.
- Multilingual setups: Shops for AT, DE and CH benefit most from translation workflows in a headless CMS.
We have run shops in the DACH region ourselves and know these pitfalls.
What role does a headless CMS play in the stack?
A headless CMS separates content management from presentation, so editors can maintain content without code.
- Contentful: Built for enterprises, large ecosystem, more expensive beyond a certain number of users.
- Sanity: Flexible schema, real-time collaboration, GROQ query language, lower prices.
- Storyblok: Visual editor with live preview, a good fit when marketing teams work without developers.
- When needed: For shops with a lot of editorial content (magazine, lookbook, guides) or when several channels (web, app, newsletter) share the same content.
- When you can do without: Pure product catalogues without content marketing do not need a separate CMS.
For the DACH mid-market we usually recommend Sanity, and Storyblok when marketing needs to work independently.
What is MACH architecture and how does it relate to headless?
MACH is the framework behind composable commerce.
- M for Microservices: Each function (checkout, search, recommendations) runs as an independent service.
- A for API-first: All components communicate only via APIs, without direct connections.
- C for Cloud-native: Horizontally scalable, containerised, independently deployable.
- H for Headless: Frontend and backend are decoupled.
Large companies following MACH combine, for example, commercetools, Contentful and Algolia. For the DACH mid-market, a combination of Shopify Hydrogen, Sanity and Stripe is often enough and considerably cheaper.
How does a migration from classic Shopify to headless work?
Step by step: the backend stays, and we replace only the frontend.
- Phase 1 (Discovery): Requirements, data model, integration audit (metafields, apps, webhooks).
- Phase 2 (Parallel build): We build the headless frontend alongside the existing theme, without putting pressure on the live shop.
- Phase 3 (Feature parity): The new frontend gets every function of the old theme (product filters, cart, checkout extensions).
- Phase 4 (Traffic migration): Staged switchover (e.g. desktop first, then mobile) with a rollback option.
- Phase 5 (Hypercare): 4 weeks of close monitoring after full go-live.
A migration typically takes 3 to 5 months.
PWA vs. headless: what is the difference?
PWA and headless are independent concepts and are not mutually exclusive.
- PWA (Progressive Web App): A technology for an app-like experience in the browser, with offline capability, a home screen icon and push notifications.
- Headless: An architecture in which frontend and backend are decoupled.
- Combination: A headless frontend can also be a PWA (e.g. Hydrogen plus a service worker).
- When a PWA makes sense: With a high mobile share, offline scenarios (trade fairs, events) and repeat purchases by existing customers.
- When not: A PWA adds considerable complexity; for standard shops it is rarely worth the effort.
We advise adding the PWA as a second layer once the headless core runs stably and usage data shows typical app behaviour.
What hosting options exist for headless frontends in the DACH region?
Four options, depending on requirements and budget.
- Oxygen (Shopify's own edge hosting): Included in the Shopify plan, global CDN, no configuration of your own needed. Only runs Hydrogen apps.
- Vercel: Closely tied to Next.js, automatic preview deployments. Costs: from €20/month, several hundred euros with heavy traffic.
- Hetzner + Coolify/Dokku: GDPR-friendly (data centres in Germany and Finland), cheaper (from €20/month for dedicated servers), more configuration effort. An alternative for clients with strict data protection requirements.
- Scaleway Serverless Containers (Paris): Containers that scale with load, data centres in France, database and email delivery from the same EU provider. Our default for Next.js.
For Hydrogen, Oxygen is the obvious choice because it is included in the Shopify plan; for Next.js we use Scaleway in Paris.
