Abdullah
← All work

Case study · E-commerce

Herba Glow

Herba Glow sells handcrafted herbal soaps across Pakistan, paid by Cash on Delivery. I rebuilt the store from the ground up as a fast, custom WooCommerce site, then added the tools around it: an AI assistant that takes orders, an Urdu-first landing page for Facebook ads, and the email and tracking underneath.

Herba Glow project preview
Role
Design, build and ongoing engineering
Period
2026 to now
Platform
WooCommerce with a custom theme and core plugin
Type
E-commerce, Cash on Delivery
CODCash on Delivery nationwide
2languages: Urdu and English
Fewplugins at launch: WooCommerce plus custom code
AIassistant that can place real orders

What I built

A fast store and the tools around it.

The aim was a store that loads quickly on mobile data, is easy for the owner to run, and does not depend on a pile of add-ons.

  • Custom theme and core plugin

    A classic PHP theme and one core plugin instead of page builders and a stack of add-ons, so pages load fast. At launch the only plugins were WooCommerce and the custom code.

    PHPWooCommerceCustom theme
  • Delivery rules the owner controls

    Delivery is priced by order weight, with free delivery over a set amount. Any deal can ship free by giving the product a shipping class, with no code. The same rules run at checkout and inside the AI assistant.

    Shipping classesCheckout
  • AI assistant that takes orders

    An Ask AI assistant answers questions and can place real Cash on Delivery orders using the same delivery rules. Those orders also send the ad platform its Purchase event, so chatbot sales are counted.

    AIWooCommerce
  • Urdu-first landing page for ads

    A separate landing page for Facebook ads, in Urdu with an English version. It is static pages with a small PHP order backend, so it loads quickly on mobile data. The server recalculates every total, so a browser can never change a price. A limited-time sale with a countdown switches itself off when it ends.

    UrduStatic HTMLPHP
  • Orders, insights and follow-up

    An admin for the owner with orders, phone notifications, first-party visit analytics and anonymous session recordings with form fields masked. Abandoned carts can be followed up on WhatsApp, and customers are told about it on the page.

    AdminAnalyticsWhatsApp
  • Tracking that counts real orders

    Meta and TikTok pixels with purchase events that fire once per order, plus Google Tag Manager and a privacy-friendly analytics tool that needs no cookie banner.

    MetaTikTokGTM

Hard problems

Quiet failures found and fixed.

  1. Order emails that never arrived

    Emails delivered and opened, confirmed in Brevo's event log.

    The problem
    New-order emails were sent straight from the server with no sender authentication, so Gmail rejected them and the owner got no order notifications.
    What I did
    I moved sending to Brevo, authenticated the domain, and forced one consistent sender name and address.
  2. A shop that dropped offline

    The site came back, and the memory risk was flagged to the owner.

    The problem
    On a small server, the database was killed for running out of memory and the site showed a connection error.
    What I did
    I found the cause, added swap space, and recommended a larger server before launch.
  3. Ad events that never reached Meta

    Page view through to purchase verified end to end.

    The problem
    Custom events such as add to cart and purchase were not arriving at Meta, even though the page view was.
    What I did
    I found a bug in the pixel stub that stopped custom events from being sent, fixed it, and checked each event with a test script.

How the copy was written

Only claims you can stand behind.

The owner wanted no false marketing at all, not even a small one. So the site never says things like all natural, no chemicals or 100% herbal. It sticks to facts that are true: handcrafted in Pakistan, small batches, made with herbal extracts, and Cash on Delivery nationwide.

Claims about what a soap does are kept mild, and anything I could not verify was left out. For a skincare brand, that restraint is part of the design.