Case study · eCommerce redesign & commerce engineering
Complex commerce. Seamless experience.
Custom WooCommerce engineering for a UK client, connecting responsive storefront development with complex pricing logic, subscription automation, postcode-based delivery validation and checkout optimisation.
+44%more subscription starts · matched 78-day periods
Order results compare matched 76-day periods before and after launch. Subscription starts use matched 78-day periods.
The brief
The challenge: buying is more than choosing a product
Consumables, replenishment orders, equipment, rentals and recurring deliveries each bring their own rules: quantity, deposit, delivery eligibility, billing frequency and the cost of future orders. Overlapping rules could produce conflicting prices between product configuration, the basket, saved orders and future renewals. The challenge was to reconcile those rules into consistent quantities, deposits, delivery charges and payment totals.
Make a complicated service feel straightforward, while keeping its commercial rules accurate.
Subscription automation and checkout optimisation, built around the hardest problem: keeping conflicting pricing, quantity, deposit and delivery rules consistent across every stage of an order.
Custom WooCommerce plugin architecture
A modular foundation. One connected platform.
Rebuilt and extended a WordPress and WooCommerce storefront through custom PHP plugins, JavaScript interfaces and responsive CSS. Dedicated modules separated business concerns while connecting the full purchase journey.
Custom WooCommerce plugin architecture. Product pages, collection pages, equipment configuration, cart presentation, delivery rules and subscription management extended through hooks, filters and custom frontend components.
Complex pricing, reconciled
Complicated pricing rules. Consistent totals.
The difficult work was resolving conflicting price logic across package quantities, individual units, deposits, upfront charges and recurring payments. A central approved-pricing service carried the same commercial rules through configuration, cart and subscription edits.
Dynamic product configuration and pricing. Purchase, replenishment, bundles, equipment purchase and rental flows; corrected the distinction between units per package and cart package quantities.
Deposit calculation and payment breakdowns. Corrected quantity-dependent deposits and separated upfront charges, deposits and recurring payments in product and cart summaries.
Cart and purchase-flow optimisation. Refined add-to-basket behaviour, checkout routing, continue-shopping navigation, cross-sells, mobile controls, special-offer quantities and first-payment summaries.
Subscription automation
Built for the next order. Protected at every change.
Subscription automation connected customer self-service and staff administration to validated server-side calculations, with safeguards for ownership, renewal state and cart-session integrity.
Subscription lifecycle and account functionality. Customer and administrator quantity edits with server-side repricing, tax and total recalculation, and subscription audit notes.
Ownership checks, capability checks, nonce validation and restrictions when unpaid renewal orders exist protect account changes.
Subscription cart-session integrity. Corrected WooCommerce cart-hash generation for subscription products so valid items survive cart-session validation.
Delivery rules and production correction
Eligibility before payment. Delivery charged correctly.
Postcode-based validation and shipping rules translated the client’s operating model into enforceable checks, including carts that combine consumables, equipment and accessories.
Postcode-based delivery and shipping rules. Implemented service-area validation, local-delivery rules, accessory routing and mixed-cart shipping calculations.
Confirmed production correction. Deployed a targeted fix for an incorrect courier charge affecting eligible mixed equipment and consumable orders, aligning saved-order validation with the applicable delivery policy.
Checkout optimisation
One responsive checkout. Fewer points of friction.
Consolidated duplicate desktop and mobile checkout regions into one responsive surface, coordinating asynchronous payment-wallet elements with validation and current totals.
Responsive checkout and payment-wallet integration. Breakpoint-aware handling for asynchronously rendered Stripe and PayPal wallet components, with keyboard-focus and accessibility improvements.
Checkout validation and transaction safeguards. Postcode checks, duplicate-submission prevention and consistency between cart, order and gateway amounts.
Regression testing and commercial analysis
Engineering that can be checked. Evidence for the next phase.
Automated regression coverage and release checks made complex purchase, rental and recurring-order workflows reviewable. Commercial analysis connected completed-order performance to the next optimisation priorities.
Regression testing and release validation. PHP and JavaScript coverage for pricing, deposits, subscription quantities, delivery fees, shipping routing and responsive checkout behaviour.
PHP linting, package-integrity checks and staging diagnostics supported release-candidate validation.
Commercial performance analysis. Matched pre-launch and post-launch comparisons separated completed purchases from failed, cancelled and refunded orders. The performance section below presents the commercial results.
Under the surface
Technical depth: one decision, carried through the whole system
The hardest engineering sat between configuration, cart state, saved orders and renewals. A rule that works on a product page must also survive refreshes, recalculation and later billing.
Engineering decision
Why it mattered
Central approved-pricing service
Keeps quantity changes aligned with approved subscription rates.
Shared postcode & delivery validation
Applies service-area and product eligibility beyond the visible field.
Expired-token refresh and retry
Recovers from stale cached pages while keeping the check.
Quantity-based recurring delivery rules
Keeps charges aligned with recurring supply, even on discounted products.
Legacy-shipping normalisation
Prevents duplicate delivery charges without touching unrelated services.
Saved-order eligibility checks
Stops cart and order rules disagreeing at payment time.
Ownership, capability and nonce checks
Protects account changes from unauthorised requests.
Regression tests for edge cases
Makes commercial rules reviewable and catches breakage in later changes.
The outcome
Impact: more customers completing their orders
More completed orders after launch. Higher basket value and recurring contribution remain the next opportunities.
Clear outcomes · confidential figures
Completed orders
+41%after vs before launch · matched 76-day periods · rounded
More customers completed their orders after launch.
Directional trend · grouped periods
Completed order value
+10%after vs before launch · matched 76-day periods · rounded
Total completed order value increased after launch.
Directional trend · grouped periods
Average basket value
−22%after vs before launch · matched 76-day periods · rounded
Average basket value declined after launch.
Directional trend · grouped periods
Where completed order value came from
Direct visits accounted for most attributed value.
Latest reporting month · share of completed value · rounded. Other includes email and remaining sources. Last-click attribution; direct may include returning or unattributed purchases.
Reading the trends: the three period charts communicate direction only. Bar heights are schematic, not a numerical scale, and cannot be used to calculate totals or growth. The percentage badges compare matched periods, not the schematic bar heights. The headline growth figures use matched comparison periods. Traffic-source percentages show shares of completed value.
More subscription starts after launch
Equal 78-day comparison periods
44% morelisted subscription starts after launch
Subscription starts across equal comparison periods.
Before launchStarting point
After launch44% more starts
Month-to-month changes
Bar heights match the original report’s monthly trends; they do not represent percentage-change magnitude. Only the labels show percentage differences. Each percentage compares with the previous month: (current − previous) ÷ previous × 100. Positive values mean an increase; negative values mean a decrease. January shows — because it has no earlier comparison in the supplied report. In the subscription chart, New means starts following a month with none; the percentage change is undefined. Blue: pre-launch months. Amber: mixed launch month. Teal: post-launch months. Absolute counts and currency values are withheld.
Monthly completed orders
Original monthly trend · labels show change vs previous month
Hover, tap or focus a month to explore its change.
Completed order value
Original monthly trend · labels show change vs previous month
Hover, tap or focus a month to explore its change.
Average completed order value
Original monthly trend · labels show change vs previous month
Hover, tap or focus a month to explore its change.
Monthly subscription starts
New subscription starts · month by month
New = starts after a month with none. January has no earlier comparison.
Hover, tap or focus a month to explore its change.
Monthly changes are rounded to one decimal. Subscription charts show new starts, rather than the total active subscriber base.
Completed orders only. Charts show percentage changes; order counts and currency totals are not displayed.
What's next. More customers are now completing their orders. Average basket value is the area for further improvement, through relevant bundles, complementary products, contribution-margin analysis and better repeat-purchase measurement.
The complete picture
What the project delivered
A redesigned storefront, postcode eligibility and delivery-charge logic that mirror the client's operating model, and a commercial review that turned launch results into decisions for the next phase.