All case studies

E-commerce case study

Casper Gadgets

Migrating a five-store gadget retailer off WooCommerce onto a modern, dual-database platform built to carry real transaction volume.

Homepage of caspergadgets.com — Casper Gadgets
Client
Casper Gadgets — premium consumer electronics retailer, Lagos
Sector
E-commerce · Consumer electronics
Engagement
Email and hosting, Google Ads and Shopping, monthly upkeep and newsletters, and a full rebuild off WooCommerce
Delivered by
Inventrium — IBSS
Stack
Next.js 15 · Sanity CMS · Supabase Postgres · Paystack · Vercel

At a glance

Casper Gadgets sells Apple, Samsung, DJI and more from five physical stores across Lagos, at order values that regularly run into the millions of naira. The business had outgrown WooCommerce — a platform built for simple catalogues, not for a retailer whose content needs and transactional integrity had both grown more demanding than a single WordPress database could comfortably hold.

Inventrium replatformed the store from the ground up: a headless Next.js storefront, Sanity for content and imagery, and Supabase Postgres as the transactional system of record — migrating the full product catalogue, media library and customer base without losing a single order's worth of data.

A high-value retailer needed a platform as serious as its transactions — so we gave it one, with content and commerce cleanly separated and nothing left to chance at checkout.

The challenge

WooCommerce had done its job, but it was becoming the constraint:

  • The old WordPress shop had been infected with malware, and its host kept running out of capacity.
  • The site monitor sent about 29 “site down” alerts, 20 of them in 2026 alone.
  • One database trying to be both a content-management system and a transaction ledger, with neither job done especially well.
  • No clean way to guarantee stock accuracy under concurrent orders across a high-AOV catalogue.
  • Staff had no dedicated tool for the day-to-day of running a multi-location retail operation — inventory, order review, offline payment confirmation.
  • A theme-locked front end that could not keep pace with how the brand wanted to present its catalogue.

What we did

Email, hosting and ads first

Our work with Casper started in 2024 with its business email and hosting. We then set up and ran its Google Ads, set up its Google Merchant Center account and made sure every product synced to it, and sent the client a report on each campaign. Launch pages and banners follow the Apple distributor’s content rules for authorised resellers.

Separating content from transactions, deliberately

Sanity handles what the brand wants to say about a product — copy, imagery, brand and category structure. Supabase Postgres handles what has to be exactly right — price, stock and orders. A product's SKU is the fixed bridge between the two: once set, it cannot drift, so republishing a product in Sanity can never silently overwrite a staff-set price in Supabase.

Stock and payments that hold up under real load

Every order decrements inventory atomically — if a product or variant has drifted, the order aborts rather than overselling. Paystack payments are verified server-side and recorded through a single, race-safe path shared by the webhook and the checkout success page, so a payment is never double-counted even if both fire for the same transaction.

A staff portal built for how the business actually runs

Behind the storefront sits a role-based operations portal — inventory management, order review, a needs-review queue for anything that needs a human look, and confirmation for offline bank-transfer payments — with every action recorded in an append-only audit log.

Checkout, the Nigerian way

Paystack covers card, bank transfer and USSD; a manual bank-transfer path with staff confirmation covers customers who pay that way. Shipping is priced across 33 Lagos zones plus a flat rate elsewhere, authored in Sanity and snapshotted onto every order so pricing never retroactively changes.

A careful migration off WooCommerce

A 20-script pipeline moved categories, brands, products, blog posts, redirects and customer accounts out of WooCommerce and into the new stack. Passwords could not be carried over from the old system, so migrated accounts were set up without a usable password and prompted to reset on first login — the honest option, not a workaround.

Under the hood

  • Content vs. transactions: Sanity owns product content and imagery; Supabase Postgres owns price, stock and orders — a SKU is the fixed bridge between the two, so a copy edit can never silently change a price.
  • Atomic stock control: every order decrements inventory in a single database transaction — any mismatch aborts the order rather than overselling.
  • Safe payments: the Paystack webhook and the checkout success page both call the same order-recording logic, made race-safe so a payment is never recorded twice.
  • A staff portal, not a dashboard: a role-based back office for inventory, order management, a needs-review queue, and offline payment confirmation, with an append-only audit log.
  • Nigeria-specific checkout: a 33-zone Lagos shipping model and NGN-only payments, authored in Sanity and snapshotted onto every order.
  • A careful migration, not a rewrite: a 20-script pipeline moved every category, brand, product, post and user off WooCommerce — including a safe, transparent path for accounts whose old passwords could not be carried over.

The results

  • 1,255 products and 1,986 media assets migrated off WooCommerce with verified schema parity and zero data loss.
  • Stock never oversells — every order decrements inventory atomically, and payments are recorded exactly once even under retries.
  • Staff run the business from a purpose-built operations portal — inventory, orders, and offline payment confirmation, with a full audit trail.
  • Checkout works the way Nigerian shoppers actually pay — Paystack (card, bank transfer, USSD) alongside a manual bank-transfer path with human confirmation.
  • On the live site, product pages score 90 for speed and 100 for search in Google’s Lighthouse test (August 2026).

Impact

For customers: a faster storefront, checkout that actually matches how Nigerians pay, and stock levels that can be trusted — what is shown as available is available.

For Casper Gadgets: a dedicated operations portal replaces ad-hoc spreadsheet tracking, payments reconcile themselves instead of needing to be chased, and the catalogue can grow without the platform becoming the bottleneck.

Strategically: the business moved from a constrained, all-in-one WordPress setup to an architecture that separates concerns properly — content, commerce and operations each on the right tool for the job — built to carry the transaction volume of a five-store retailer.

Why it matters for Inventrium

This engagement demonstrates real replatforming under real financial stakes — migrating a live, high-AOV retail catalogue without data loss, building transactional integrity (atomic stock, idempotent payments) that a template store simply doesn't need, and shipping the operational tooling a growing retail business actually runs on day to day.

Beyond the website

The rebuild came after two years of other work for the same retailer. We ran its Google Ads and reported on them, moved its email, cleaned up its old site and still look after the shop every month.

Grow

Google Ads

Shoppers search Google for the exact phone they want. The shop needs to be the first answer.

  • Launched the retailer’s Google Ads in December 2024, built around its own product list.
  • Sent a report after each campaign with what worked and what to change next.
  • Moved spending towards the best-selling products and the busiest parts of Lagos, and away from places that cost more per result.
  • In August 2025 the report showed iPhone demand leading, which shaped the next round of ads.

Grow

Products in Google Shopping

A product shown with its photo and price in Google gets clicked more than a plain text link.

  • Connected the shop’s products to Google in December 2024. The ads could then show real items.
  • Reported clicks product by product, to show what people wanted.
  • The new site gives Google the price and stock of every product page.

Run

Email and hosting

If staff email or the shop goes down, sales stop.

  • Moved staff email from the old web host to Zoho Mail overnight in October 2024. Every address stayed the same.
  • Gave staff the mobile apps and a short training session.
  • Found malware on the old site, backed it up and moved it to a faster server in October 2024.
  • Still manage the email subscription and answer questions, usually the same day.

Run

Shop upkeep every month

A shop that lists sold-out phones or old banners loses trust fast.

  • A monthly agreement covers prices, new products, banners, enquiries and site health.
  • Cleared sold-out products in batches. The first list was 49 of 49 done.
  • Put up the approved iPhone 18 Pro launch banner within three days of the request.
  • Watch for downtime alerts and bring the site back when it stops responding.

Grow

Newsletters and buying guides

Past customers are the cheapest sale.

  • Audited the newsletter tool. One real list of about 2,700 customers was buried under 375 junk lists.
  • Found that open and click tracking had stopped, and fixed the cause.
  • Took over the newsletters and planned them through December 2026.
  • Publish buying guides on the shop’s blog, starting with the iPhone 18 launch.

Outgrowing your ecommerce platform?

We replatform stores under real transaction load, without losing a single order.