Skip to content
← PortfolioLive at kahf.co/storeHeadless WooCommerce

Kahf Router Store · Case study From one HTML file to a live e‑commerce store in a week.

I led five engineers at weLabs to ship the Kahf Router BURAQ 6 pre-order store, in Bengali and English.

●বাংলা + English✓198 browser testsEdge TTFB 0.10 s
Shipped in7days
Commits298
Payments3methods
Accessibility100
Client
Kahf, privacy-first products for Muslim families
My role
Team lead, developer & client contact
Team
5 engineers, 2 repos, 8 days
Stack
Next.js, Cloudflare Workers, WooCommerce, PHP
01 — Timeline

298 commits, eight days.

Pick a day to see what shipped.

Mine (171)Team (127)
Day 1 · 20 mine · 0 teamJust me: the design converter, every core screen, and Bengali and English on their own addresses.
02 — Platform

Four months of groundwork, first real client.

  • Keep the signed-off design exactly
  • Bengali first, real English
  • Sell by phone number
  • SSLCommerz, bKash, cash on delivery
Cloudflare Worker · Next.jsBrowser/ and /enMiddlewareLanding, LocalePage cacheat the edgerequestpublicabout 0.1 sprivateServer renderper requestPortWoo adapterover 1 s a callWordPressWooCommerceREST APIsCompanion pluginpayments, orders,change signalshookschange signal: rebuild pages
Edge cache: Public pages come from Cloudflare’s page cache in about 0.1 s, so most visitors never touch WordPress.
03 — Key decisions

Four calls that made the week possible.

The design

Convert the design, don’t rebuild it

I wrote a converter from the signed-off HTML to JSX, so nothing drifts from what the client approved.

Python converter · 2,375 lines
git log · day one
Step 1Cloudflare environment set upStep 2Landing replaces the catalogStep 3The design’s checkout screen workingStep 4Bengali and English on their own addresses✓ 20 commits · every core screen in place
Payments

A third kind of payment: Hosted

SSLCommerz has no SDK for your own form, so I added a Hosted payment kind: the order comes back unpaid, with an action to finish.

SSLCommerz · bKash · COD
BrowserStorefrontCompanionSSLCommerzPlace orderCheckoutOpen sessionGateway Page URLUnpaid order, hosted actionRedirect or overlayShopper pays on the Gateway PageReturn and notificationCheck the paymentPayment confirmed with the gatewayonly then is the order marked paidRedirect to the order's confirmation page
No storefront route can mark an order paid. Only the backend does that.
Speed

Ask WordPress less, wait for it less

One checkout view made 12 backend calls; now it makes 4, in parallel. The cart stepper writes once, however fast you tap.

12 calls → 4 · streaming
Before · backend calls for one checkout view
12 calls, 6 of them one after another
After
4 calls, all in parallel
Streaming checkout
Address formCartPayments
The form needs nothing from WordPress, so it goes out first.
The pivot

Shoppers abroad, built twice in two days

The client wanted dollar prices and Stripe Payment Links abroad, then chose a simpler path. As Port capabilities, not special cases, it came out in one morning.

Port capabilities · decision records
First version
  • A USD price on every page
  • Pre-order went straight to Stripe
  • Stripe’s paid session became the order
Client changed direction ↓
What launched
  • Taka for everyone, same checkout
  • SSLCommerz only, decided by the backend
  • Phone numbers from any country
04 — Speed

A WordPress backend that feels instant.

WordPress takes over a second a call, so the checkout streams: the form first, the cart after. Flip to compare.

100Mobile accessibility
First byte · direct load12–16 msStreaming starts at once
Form usable · direct load66–91 msNeeds nothing from WordPress
Pre-order click to form2.8–4.4 sThe cart catches up after
Calls per checkout view4All in parallel
Home page
79–80Mobile performance
98Desktop performance
3/3Agentic Browsing
0.10–0.27 sEdge first byte

Lighthouse on the Worker build; edge first byte from 15 Dhaka samples.

05 — Screens

The design they signed off, as drawn.

Bengali at /store, English at /store/en, each with its own search metadata.

06 — Leading it

Five engineers, one store.

171 / 298commits before launch are mine, and from mid-week I was also the client’s contact.
Mine (171)Team (127)
I built

The converter, core screens, both languages, SSLCommerz, coupon links, GA4 and phone speed.

The team built

bKash, checkout speed, the phone-only checkout, quantity limits, SMS cart recovery, the affiliate form.

Running the team

I opened 52 of the 73 issues, wrote 38 merged PRs and merged 34 of the team’s 39. Client changes landed without stopping the build.

Claude Code as co-author

289 of the 298 commits have Claude Code as co-author. It worked because the rules are checkable: lint, a shared contract suite, 198 browser tests and about 3,700 PHP test methods.

The abstraction held

Kahf added two payment processors and a few Port capabilities; unsetting one variable still gives the original store.

What is the Kahf Router store?

The Kahf Router store at kahf.co/store is the official online pre-order store for the Kahf Router BURAQ 6, a Wi-Fi 6 router from Kahf with built-in parental controls that filter the whole home network. It sells in Bengali and English and takes cash on delivery, SSLCommerz and bKash.

Who built the Kahf Router online store?

Aminur Islam Arnob led the five-engineer team at weLabs that built it, as team lead, developer and the client's point of contact. He wrote 171 of the 298 commits made before the store went live.

What technology does the Kahf Router store use?

A Next.js, React and TypeScript storefront running on Cloudflare Workers, with headless WooCommerce on WordPress as the backend and a PHP Companion plugin for payments, orders and change signals. Public pages are answered from Cloudflare's edge cache in 0.10 to 0.27 seconds from Dhaka.

How long did it take to build the Kahf Router store?

Eight days from the first commit to launch, with 298 commits across the storefront and the WordPress plugin.

Which payment methods does the Kahf Router store accept?

Cash on delivery, SSLCommerz and bKash, plus international cards through SSLCommerz. The backend confirms every payment with the gateway before an order is marked paid.

Is the Kahf Router store in Bengali?

Yes. Bengali is the default at kahf.co/store and English is at kahf.co/store/en, each with its own address and search metadata, so search engines index both languages.

Can you build a store like the Kahf Router store for my business?

Yes. I build headless WooCommerce stores with Next.js and Cloudflare, including local payment gateways and bilingual storefronts. Get in touch through the contact page at aminurislam.me/contact-me.

Next.jsReactTypeScriptTailwindCloudflare WorkersWooCommerceWordPressPHPPlaywrightClaude Code

Counts: both repos’ Git and GitHub history to launch, without merges. Speed figures are the team’s own; test totals are tests defined.

Lets work together

Need a successful project?

I’m available for freelance work.

Hire/Contact Me Now