Skip to content
PEWES ENERGY

Notes from PEWES

The journal.

Notes on what goes into the cans, how the artwork is drawn, how the subscription and the invoices work, and how this headless WooCommerce shop is put together. Written when there is something worth saying rather than on a schedule.

Engineering9 min read

A loyalty scheme with no points

No points, no wallet, no balance. Spend is measured two ways at once and the kinder answer wins, and twice a year a real voucher appears with your name on it. Here is why, and what it takes to make it correct.

Read the note

Engineering8 min read

A booking system is a scheduling system

The reseller call booking on this site is, almost exactly, what a consultancy sells and what a hotel sells. Here is what is underneath it, and what actually changes when you charge for the slot.

Read the note

Engineering8 min read

One catalogue, five readers

The same WooCommerce data on this site is read by the shop, a Google Shopping feed, a reseller API, AI assistants and search. One source of truth, and no duplication. That only works if it is decided early.

Read the note

Engineering7 min read

What you are actually buying

A headless storefront costs a multiple of a theme build because a theme hands you a rendering layer somebody else designed. Here is the work that replaces it, and where that work goes.

Read the note

Engineering8 min read

Subscriptions we built instead of bought

There is a mature subscriptions plugin for WooCommerce and we did not use it. The reason is the most useful thing here for anybody planning recurring revenue, and it is not price.

Read the note

Engineering8 min read

The WordPress nobody can reach

In a headless build only two parties need to talk to WordPress: the application and the editors. Everybody else can be told nothing at all. Here is what that takes, and why hiding the address is not the part that protects you.

Read the note

Engineering9 min read

Fifteen pages in under a day

Google had fifteen pages of this site in the index within twenty hours of launch. That is not magic. It is what happens when everything a crawler needs is present at once, and it is the whole argument in one number.

Read the note

Ordering3 min read

Invoices that are actually yours

Every order here produces a real invoice with a real sequential number, generated in your browser from your own data, downloadable whenever you want it.

Read the note

The drink4 min read

Where to start if you have never had one

Thirty eight cans across four ranges is enough to be a decision. Here is the short version, arranged by what you already know about yourself.

Read the note

Ordering3 min read

A subscription you can leave

Most subscriptions are designed around the day you sign up. This one is designed around the day you want out, which turns out to change every decision before it.

Read the note

Design4 min read

One document, every wrap

A range should look like a range. Here is the one layout every PEWES can is drawn on, and the four things that are allowed to change between them.

Read the note

The drink3 min read

Zero sugar is a flavour problem

Taking the sugar out of a drink is easy. Making the drink still taste like something afterwards is the entire job, and it is what the Guilt Free Pleasures range is built around.

Read the note

Engineering3 min read

Why this storefront has no theme

WordPress still holds every word and every image on this site. What it no longer does is render the page, and that single change is the reason the shop feels the way it does.

Read the note