Skip to content
All projects
E-commerce2024Sample

Souq Storefront

A bilingual storefront with an RTL product catalog, a cart that survives refreshes and a fast mobile checkout.

Role
Front-end developer
Year
2024
Category
E-commerce

Overview

A clothing catalog of 60 products across 6 categories, with size and colour variants, a persistent cart and a three-step checkout. Every screen had to work in Arabic and English on a mid-range phone.

The problem

The store ran on a template that broke in Arabic: prices wrapped, the cart badge sat on the wrong side and the checkout form lost its data on a refresh.

Main features

  • Variant picker with per-variant stock
  • Cart persisted locally, restored on return
  • Three-step checkout with progress
  • Full RTL layout, not a mirrored afterthought

Technologies

  • React
  • TypeScript
  • Tailwind CSS
  • Context API

Design and development approach

Designed the components in Arabic first, then mirrored to English, so RTL was the native case. Cart and checkout state were modelled before any screen was built, which removed the duplicated logic the template carried.

Challenges and solutions

  • 01

    Checkout lost data on refresh

    Moved the form to a single reducer with a storage sync, so a reload restores the step and every field exactly.

  • 02

    Images slowed the catalog grid

    Generated responsive sizes, reserved space for every tile and loaded only what was on screen.