Skip to content

SPWN's Shop

An ecommerce that changes colour with each collection. An online shop for Antonio "SPWN" Plaza, designer, illustrator and animator. Three collections with their own identity, drops, Stripe payments and Printful orders, all managed from Payload CMS.

Client
Antonio "Spwn" Plaza
Year
2024
Services
Web design / Web development
Stack
Figma, Next.js, Supabase, Cloudflare, Stripe, Payload CMS
[06]

The screenshots and videos were recorded on a local copy of the shop's data, with the version I designed and built in 2024. Stripe checkout is not shown because payments were disabled in the recording.

Context and problem

SPWN wanted his own online shop to sell his physical products, such as prints, fanzines, mugs or clothing. The shop had to reflect his visual style. It also had to be managed from a panel: add products, prepare launches and change announcements without touching code.

The catalogue is split into three collections: spwn (his products), vitrina (the products in the showcase) and trastero (everything else). The shop had to tell them apart without making navigation harder.

My role

I designed and built the whole shop: UX/UI design in Figma, front end, back end, the admin panel and the Stripe and Printful integration. The project took one month, from mid November to mid December 2024.

Solution overview

The shop is a Next.js app with Payload CMS. Products, collections, drops, shipping, discounts and announcements live in Payload, on Postgres. Images are served from Cloudflare R2.

The catalogue is generated statically and revalidated every hour. The cart lives in the browser. Payment goes through Stripe Checkout. A Stripe webhook creates the Printful orders and updates the shop's own stock.

Key features

1. Three collections, three colours

Each collection has its colour: spwn is blue, vitrina is red and trastero is green. The home page and the full catalogue use a neutral brown.

The colour comes from the URL. A function reads the collection from the route and returns its colour. That colour picks the classes of the navbar, banner, cards, cart and footer. The colours are design tokens with a full scale of shades, so every component uses the same system in all four themes.

2. Custom cursors

The cursor changes colour too. There are three cursors (default, link and text) in all four colours. Each theme defines its cursors as CSS variables, and links, buttons and text fields use the variable that fits.

3. Drops

A drop groups several products under one launch, with a name, a description and two images (horizontal and vertical). Each drop belongs to a collection and takes its colour. The home page features the latest drop with a banner.

4. Catalogue with search and filters

Each collection and the full catalogue have search and filters. Search updates the URL, so a result can be shared. The grid loads nine products, and the "cargar más" (load more) button fetches the next ones with a server action. Cards enter with a soft animation and show a second photo on hover.

In the full catalogue, each card keeps the colour of its collection.

5. Product and cart

The product page has a gallery with thumbnails, a breadcrumb, the price and related products. It is ready for size and colour variants: the selector disables combinations that do not exist.

The cart is saved in the browser, so it survives a reload. On desktop it opens as a dialog and on mobile as a drawer. Quantity controls respect the stock. One line shows how much is left for free shipping, based on the active discount rules.

6. Payment and orders

Payment uses Stripe Checkout. The server builds the order lines with the prices from the database, never with the ones from the browser. The session asks for the shipping address, calculates taxes and accepts promotion codes.

Shipping depends on the cart: there is one rate for the shop's own products and another for Printful products. If a discount gives free shipping, the rate goes away.

When Stripe confirms the payment, a webhook checks the signature, creates the Printful order for the products Printful makes, and lowers the stock of the shop's own products.

The admin panel

Everything is managed from Payload: collections, drops, categories, products, variants and sizes, shipping, discounts and the announcement marquee. Discounts turn on by dates and by a quantity or amount threshold. For Printful products, the panel has a custom picker that lists the variants of the Printful store.

Outcome

SPWN has a shop with his own visual style. Each collection has its colour, its banner and its cursor, and navigation is the same in all of them. The catalogue, launches and announcements are managed from the panel, without touching code.

Testimonial

He always knew how to turn my visual world into a website full of personality, with care in every detail. Working with him has been easy and friendly, and the result perfectly represents who I am and what I do.

Antonio Plaza

Graphic designer and illustrator, SPWN·

Let's make your project a reality

Four ways to talk to me. Pick the one that suits you best and I will reply within 24 hours.

Currently accepting projects

Hours: Mon–Fri · 9:00–18:00 (Madrid time)

[01]
Budget*(select an option)