Building the R/K2 webshop: a headless Shopify store in Next.js

A new chapter for R/K2 started with a new identity and this webshop. I designed and built it myself, as a headless webshop: Next.js on the front, Shopify as the backend. The goal was never just to make something that looks good, but a system that can grow with the brand.

What headless means

In a normal Shopify store, the shop and the website are one thing: you pick a theme and work inside its limits. Headless splits them. Shopify stays the backend, with the products, stock, customers, payments and checkout. The website you see is a separate front end that asks Shopify for its data through the API.

For R/K2 that front end is built in Next.js. Every page, every grid and every animation is our own, while the part that has to be safe and reliable, paying, stays with a platform made for it.

Why I chose Next.js

Part of the reason was simple: I wanted to learn it properly. I work as a front-end developer and designer, and building a real shop for my own label was the best way to master Next.js and React, with real products, real customers and real deadlines instead of an exercise.

The other part is what Next.js is good at. It prepares pages ahead of time and refreshes them in the background, so they open fast. It handles languages, routes and search engines well. And it lets design and code live in one place, which is how I like to work.

The Shop All page on an iMac, with filters on the left

The pros

Freedom of design: nothing looks like a template, because there is none. The typography, the 12 column grid and the way pages move all follow the brand.

Speed and search: fast pages rank and convert better, and every page has its own titles, structured data and translations in English, Dutch and French.

Our own features: an archive you can drag through, locked pieces you can sign up for, a wishlist, Articles and a glossary. Things a theme would not do the way we want.

A safe backend: Shopify keeps handling checkout, payments, stock and security, so there are no servers of our own to patch. And because the front and back are separate, either one can change later without rebuilding the other.

The archive and locked pieces

Pieces that sold out do not disappear. They move into the archive, an open canvas you can drag through, so the history of the label stays visible. That is the idea of archive fashion applied to our own work.

Some pieces are locked: you can see them, but they are not for sale yet. Leave your email and you hear first, in your own language, when the piece opens. Read more in how limited drops work.

The archive on an iMac: past pieces on an open canvas

More than a shop

The same way of working runs through R/K2 OS, the internal app we run the brand on. It is only the beginning of a much longer project, and the shop will keep changing as the label does.

Articles

Questions

Yes. Shopify is the backend for products, stock, customers and checkout; the website itself is built in Next.js and talks to Shopify through its API.

Read next (22)