← All case studies
HomepageCustom storefrontEXP-012024

Global FMCG group · FMCG · direct-to-consumerThe quantity selector a bigger agency refused to build

A prospective enterprise client set a challenge before signing: build the homepage test another agency had declined as infeasible. We shipped it, and they became a client.

ClientGlobal FMCG group
PlatformCustom storefront
PageHomepage
Measured onUnits per order, AOV, Add-to-cart rate
Observation
  • The homepage featured five hero products, each with a single Add to Cart button that added exactly one unit.
  • Shoppers buying in bulk had to add the same item repeatedly, or leave the homepage to find a quantity control on the product page.
  • A large, well-known agency had already told the client the change could not be delivered through an A/B testing platform.
Hypothesis

Letting shoppers pick 5 or 10 units directly on the homepage will remove the repeat-add friction, raising units per order and average order value.

What I built
  • Inspected the site's network traffic and cart API to learn how each of the five products was added, and found each mapped to a unique product ID.
  • Built a quantity-selector UI, injected through the experimentation platform, that passed the selected quantity and the correct product ID to the cart endpoint.
  • Handled the cart's response so the mini-cart and totals updated exactly as they would after a native add.
  • QA-validated across Chrome, Safari, Firefox, Edge and iOS before launch.
The hard parts

Working without the codebase

Everything had to be reverse-engineered from DevTools: request shape, headers, and how the site expected quantity to be expressed.

Five products, five IDs

A single generic handler would have added the wrong item. The variant kept a product-to-ID map and validated it against the live DOM on every click.

Outcome

Delivered the test the competing agency had declined. On the strength of that delivery, the group signed on as a client of the agency.

More experiments

View all →