Skip to content
← PortfolioLiveBlock theme · WooCommerce

Kawaii Life Bangladesh · Case study A static HTML design, shipped as a live gift shop.

Kawaii Life sells character gifts, plush and stationery across Bangladesh. I built its Gutenberg block theme from the approved HTML design, and a companion plugin for everything the shop needed beyond it: phone sign-in, a shipping-first checkout, order tracking and personal picks.

●Phone + OTP sign-in✓585 automated testsThanas 1,010
My commits380
AI-paired284
Custom blocks38
Tests585
Client
Kawaii Life, a character gift shop in Bangladesh
My role
Developer: the block theme from the HTML design, and the companion plugin
Timeline
About ten weeks, from design to live shop
Stack
WordPress block theme, WooCommerce, PHP, GSAP, Swiper
01 — Timeline

380 commits, ten weeks.

Pick a week to see what shipped.

Theme (138)Companion plugin (242)
Week 5 · 70 theme · 83 pluginThe big week: the product page, cart, shipping-first checkout, order confirmation and all of My Account, the info pages from blocks, shoppable videos and the sign-up page.
02 — Platform

A theme for the look, a plugin for the behaviour.

  • Match the approved HTML design
  • Editable in the Site Editor
  • Sign in and buy by phone
  • Deliver to every thana
  • Pages stay cacheable
Block theme · the lookTemplates · patternsfrom the 22 HTML pagesWooCommerce overrides36 files: cart → emailstheme.json · GSAPpresets · motionfiltersCompanion plugin · behaviour38 kawaii/* blockshero, tiles, FAQ, tracking …Auth · checkout · ordersOTP · addresses · statusesJust for Yousearch · cart · wishlistextendsPlugins already in placeWooCommerceSSLCommerz · bKash · CODAlpha SMS · Steadfastcodes · parcels · statusTI Wishlist · CartFlows …FiboSearch · Brevo · Yoast
Theme: Block templates, patterns and template parts for every page of the HTML design, with WooCommerce’s cart, checkout, account pages and emails overridden to match it. Colours and widths live in theme.json, and GSAP adds the motion.
03 — Key decisions

Four calls that shaped the shop.

Accounts

A phone number, not an email, as the account

Sign-up texts a code before the account exists, and login is phone and code only. At checkout an unknown number goes through as a verified guest for one order, and those orders join the account if the number signs up later.

Alpha SMS · one code, one order
01Enter a mobile numberstored as 01XXXXXXXXX02Text a one-time codeAlpha SMS · lives 5 minutes03Verify itfive wrong tries and it dies04Member or verified guestlog in, or unlock checkout once05Place the orderrefused for an unverified guest
Checkout

One address, down to the thana

Checkout asks for one address, the delivery one, with District and Area / Thana dropdowns for all 64 districts and 1,010 thanas. The plugin fills billing from it, and answers the postcode SSLCommerz insists on with the district’s head post office.

ShippingFirst · DistrictPostcode
FieldComes fromNote
Delivery addressThe checkout formDistrict, then Area / Thana
Billing addressThe delivery addressWith the buyer’s own name
Billing phoneThe verified numberOrder texts go to it
PostcodeThe district’s head post officeFiltered, never stored
Saved addressesThe address bookDeliver to, or set as default
After the order

Statuses the courier moves forward

WooCommerce’s statuses became Placed, Confirmed, Processing, Shipped and Delivered, plus Returned. Steadfast moves an order as its parcel moves, each step emails the customer, and the tracking page shows the timeline by order number and phone or by parcel code.

Steadfast · order-flow emails
order flow
Placedcash on delivery lands hereConfirmeda paid gateway lands hereProcessingbeing packedShippedSteadfast consignment createdDeliveredSteadfast reports it deliveredReturnedSteadfast cancelled; restocked✓ never backwards; an email at every step
Recommendations

Personal picks on a cacheable page

Products are scored from the shopper’s own searches, carts and wishlist, weighted by intent and halved every seven days. The page ships an empty frame that the browser fills as it nears the screen, so every visitor gets the same cached HTML.

Engine · wc-ajax · IntersectionObserver
just for you
Cartweight 3.0Wishlistweight 2.0This pageweight 1.5Searchweight 1.0, spread over its matchesDecayhalves every 7 daysLoadwc-ajax, as it nears the screen✓ the same cached page for everyone
04 — Guardrails

585 tests, and the limits behind them.

Pick a guardrail to see what it holds.

545Integration tests, plus 40 in the browser

OTP limits: A code lives five minutes and dies after five wrong tries. A number gets one code a minute and five an hour, an IP ten, so a code can’t be guessed by brute force.

Counted from the companion plugin’s test files: 545 PHPUnit tests in 74 files against the WordPress test suite, and 40 Playwright tests against the local shop.

05 — Screens

Every page, after the HTML.

The shop, Kawaii World, the cart and checkout, sign-in and the info pages, on desktop and phone.

06 — Behind the build

One developer, Claude Code as pair.

284 / 380commits carry a Claude co-author trailer. Larger changes were agreed as a written spec first, then landed in small commits with their tests.
With Claude Code (284)Other commits (96)
I directed

Reading the HTML design into templates and blocks, the split between theme and plugin, the phone-first sign-in and checkout rules, the order flow, and which existing plugins to extend rather than replace.

Claude drafted

Block markup and editor scripts, the WooCommerce template overrides, the plugin’s feature classes and their tests, each following a spec we had agreed first.

Every email in the shop’s look

Every WooCommerce email shares the theme’s header and footer: the logo, a white card with a pink-to-lavender stripe, an emoji badge per email and the social links. The CSS is written out in full, because email clients drop custom properties.

Info pages from blocks

FAQ, Order Tracking, About Us, Delivery, Returns, Wholesale and Careers are built from the plugin’s page blocks, so the shop edits them in the editor. The FAQ items reach Yoast’s schema as an FAQPage.

Kawaii World and shoppable videos

A Videos post type feeds a reels carousel and a shared video modal that link the products in each clip, beside the shop’s character friends.

Fonts cut to size

Inter is subset to Latin, punctuation and arrows. The taka sign, which Inter lacks, comes from a one-glyph Noto Sans Bengali file registered as a second Inter face.

Tools for the staff

An SMS contacts export for campaigns, the checkout phone in the cart-abandonment report, a text to abandoned carts, report links in one menu, and an invoice barcode that scans as the order number.

WordPressWooCommercePHPGSAPSwiperPHPUnitPlaywrightClaude Code

Non-merge commits on the main branches of the theme and the companion plugin, all mine. Commit counts measure activity, not effort.

Lets work together

Need a successful project?

I’m available for freelance work.

Hire/Contact Me Now