Case study · In-house
Checkout, Thank-you & POS UI extensions
Delivery-date promises, suburb validation, post-purchase cross-sell and in-store booking, built as Shopify UI extensions across checkout, the thank-you page and POS.
- Role
- Frontend Developer
- Company
- Luxo LivingNov 2023 – Present
- Project
- 2025 – 2026
- Platforms
- Shopify
- Checkout UI extensions
- POS UI extensions
- Preact
- TypeScript
- Tesseract OCR
- JWT
- Node.js
Context
Furniture checkout has questions a standard checkout can’t answer: when will it arrive, can it be delivered to this suburb, and does it need assembling? In the showroom, staff need the same answers at the POS. I co-developed a set of Shopify UI extensions with a teammate to cover all three surfaces. I made 55 of the 127 commits.
What I built
Checkout
- Promise dates for delivery and click-and-collect that take capacity into account, so the date shown is one the business can meet.
- A suburb/postcode validator that catches mismatches and suggests corrections.
- A savings display and order notes.
Thank-you page
- Post-purchase cross-sell of complementary products, with shipping quotes and an order-edit flow so the shopper can add items to the order they just placed.
POS
- In-home assembly booking and delivery booking from the register.
- Address check, an order-amendment linker and EFTPOS receipt capture.
EFTPOS receipt check
In September 2026 I wrote the receipt check in the extensions’ API service:
- Tesseract OCR reads the photo of the slip and confirms it is an approved NAB EFTPOS receipt whose amount matches the order total.
- A portable Tesseract installer works on hosts with SELinux enforcing.
- Requests from POS are authenticated with POS session-token JWTs.
Architecture & integrations
I migrated the extensions to Preact and Shopify’s 2026-01 extension API. The extensions read and write through a small API service, which is also where the receipt check and the POS token verification live.
An illustration of the suggestion logic behind the suburb validator (written fresh for this page):
type Locality = { suburb: string; postcode: string; state: string };
function suggest(input: Locality, known: Locality[]): Locality[] {
const exact = known.some((l) => l.postcode === input.postcode && same(l.suburb, input.suburb));
if (exact) return [];
// Same postcode, different suburb spelling, or same suburb in another postcode.
return known
.filter((l) => l.postcode === input.postcode || same(l.suburb, input.suburb))
.slice(0, 3);
}
const same = (a: string, b: string) => a.trim().toLowerCase() === b.trim().toLowerCase();
Outcome
The same delivery and assembly questions now get answered in checkout, on the thank-you page and at the showroom POS. Receipt checks run automatically against the order total.