Sultan Mauritius
LiveAn online shop for Sultan mineral water in English and French, with separate prices for homes and businesses, and a back office the Sultan team runs themselves.
The brief
Sultan has been on Mauritian tables since March 2021: eleven flavours of sparkling mineral water in 200 ml glass bottles, and still spring water in PET. It sells to households and to restaurants, shops and wholesalers, at different prices.
They needed one shop that served both, in English and French, looked as good as the bottles, and that their own team could run without calling a developer.
What I did
- Built the storefront in Next.js with English at the root and French at /fr. French product names and flavours come from their own lookup, so the French site reads like it was written in French.
- Built pricing so a trade account sees trade prices and everyone else sees retail.
- Built the wholesale application, with company name, BRN, VAT number and expected volume, so the Sultan team can set a business up properly.
- Built the back office: a dashboard with real figures, products they can add and edit, stock with a history per product, orders, a searchable customer list, and invoices they can edit, email and download as PDF.
- Added the Grignoti Store, a second shop with its own orange branding for snacks and drinks. It shares stock, the cart and checkout with the water, so it isn't a second system to maintain.
The site
Design decisions
- No online card payments. Customers pay by bank transfer or cash on delivery, which is how Sultan's buyers already pay, and it keeps card data off the site entirely.
- Plain CSS modules on the shop, no UI kit, so it looks like Sultan and not like a template. The back office uses its own layout and styles, so they never leak into the storefront.
- Invoices are rendered to PDF on the server, without a headless browser to keep alive.
- Product sizes come from the labels, not the notes. Our first notes said 330 ml; the bottles say 200.
Built with
- Next.js 14
- TypeScript
- next-intl
- Prisma
- Postgres
- Resend
- React PDF
