Skip to content
← All projects
  • Coded websites
  • Shopify stores

Built in

Selling marble online without building a heavy platform

Paid on delivery, delivery cost by city, and customer data hashed before Meta.

The problem

A single-brand store needed a cash-on-delivery checkout and ad tracking Meta can trust, without a heavy platform.

What I built

A Next.js store with variants, delivery cost by city and Moroccan phone normalisation. The Conversions API sends hashed customer data from the server, one event per order with its own ID, and scripts set up the same shop on Shopify.

Technical details

  1. Phone, name and city hashed (SHA-256), fbp/fbc read from cookies
  2. Shopify bootstrap: products, collections, pages, theme settings
  3. IP rate limiting on the order endpoint
  4. A test that fails on generic design tells (Inter font, emoji)

Stack

  • Next.js 14
  • TypeScript strict
  • Tailwind
  • Meta Pixel + CAPI
  • Shopify Admin API
  • Playwright

The result

15 tests check the math, not just that the page loads: picking a variant must move the total from 4,990 to 6,490.

A similar project in mind?

Tell me about your business and when you need it. You get a proposal by email.

I want this system

More projects

SaaS platforms · WakhaFlowAn unconfirmed order is a parcel that comes backView the project
1 / 27 : An unconfirmed order is a parcel that comes back