Projects  /  Case Study

Kiwik WooCommerce Platform.

Full WooCommerce platform engineering — custom pricing engine, B2B wholesale portal, automated order management, and performance optimization for a growing e-commerce business.

WooCommerce PHP 8+ MySQL REST API Custom Plugins
Project overview

The challenge.

Kiwik needed a WooCommerce platform that could handle complex pricing rules, B2B wholesale customers, and growing order volume — without relying on generic plugins that would slow down checkout and break under load.

🏷️

Dynamic Pricing Engine

Retail and wholesale price tiers, volume discounts, role-based pricing, and scheduled promotions — all managed through a single admin interface without plugin conflicts.

WooCommerce hooks Role-based pricing Volume tiers
🏢

B2B Wholesale Portal

Custom wholesale customer registration, admin approval workflow, invoice-based payment terms, and a dedicated B2B dashboard separate from the retail storefront.

User roles Approval workflow Invoice terms
📦

Order Management System

Custom order statuses matching the fulfilment workflow, automated status transitions, internal admin notes, and a streamlined operations dashboard for the team.

Custom statuses Auto-transitions Admin workflow

Performance Optimization

Checkout TTFB reduction, query optimization, Redis object caching, selective script loading, and custom lookup tables to handle a growing product catalog without slowdowns.

Query optimization Redis caching Lookup tables
Engineering approach

How it was built.

Every piece was engineered as a standalone, testable plugin — no god-class files, no hard dependencies on third-party premium plugins, no logic in templates.

PHP

Plugin architecture

Three custom plugins with clean service containers, WPCS-compliant code, and hook-based communication. No direct database calls outside of dedicated data-access classes.

SQL

Custom tables

Wholesale customer meta and pricing tier data moved to indexed custom tables, removing the performance penalty of post-meta joins at scale.

API

REST integrations

Custom REST endpoints for stock sync with the warehouse system. Idempotent writes, retry logic, and event logging to keep WooCommerce and warehouse data in sync.

Technical stack

What was used.

Platform
WordPress 6.x
WooCommerce 8.x
HPOS enabled
PHP 8.2
Database
MySQL 8.0
Custom tables
Indexed meta
Redis cache
Integrations
REST API
Warehouse sync
Email triggers
Cron queues
Tooling
WPCS / PHPCS
WP-CLI
Staging env
Git workflow
WooCommerce Subscriptions Custom Post Types WooCommerce REST API WordPress Cron Object Cache Pro Nginx + PHP-FPM
Outcomes

What shipped.

Every deliverable went through staging, acceptance testing, and a controlled production rollout.

✓  Wholesale portal live

B2B customers register, get reviewed, and access wholesale pricing through a dedicated portal — all without affecting the retail experience.

✓  Zero manual order updates

Order statuses now transition automatically based on fulfilment events. The team stopped updating orders by hand.

✓  Checkout performance improved

Checkout TTFB dropped after query optimization and script cleanup. Repeat customers see cart state restored without page reload.

✓  Warehouse sync running

Stock levels sync from the warehouse system on a scheduled job with conflict resolution — no overselling on busy days.

Work with me

Need a WooCommerce system that actually works?

I build WooCommerce platforms for businesses that need more than a plugin stack — real custom systems with clean code and solid foundations.