#engineering January 15, 2026 8 min

Building a Multi-Country E-Commerce Platform

Lessons learned from scaling across 6 markets in the Middle East.

Building an e-commerce platform that serves multiple countries is fundamentally different from building for a single market. At Sharaf DG, we scaled from a single UAE storefront to 6 markets across the Middle East — UAE, Saudi Arabia, Bahrain, Egypt, Oman, and Kuwait.

The Challenge

Each market comes with its own set of requirements:

  • Currency and pricing — Different currencies, tax rules, and pricing strategies per country
  • Language and RTL — Arabic is the primary language in most markets, requiring full RTL support
  • Payment methods — Each country has preferred local payment providers
  • Shipping and logistics — Different carriers, customs regulations, and delivery expectations
  • Legal compliance — VAT rules, consumer protection laws, and data residency requirements

Architecture Decisions

We chose a multi-tenant architecture where each country shares the same codebase but has isolated configuration, pricing, and content. This gave us the best balance between code reuse and market-specific customization.

Internationalization

Rather than bolting i18n onto an existing English-only codebase, we built it in from the start. Every string, every layout, every component was designed to work in both LTR and RTL modes.

Country-Specific Configuration

Each market has its own configuration that controls:

  • Available payment gateways
  • Shipping providers and rates
  • Tax calculation rules
  • Content and promotions
  • Currency formatting

Key Takeaways

  1. Start multi-country from day one — Retrofitting is exponentially harder
  2. Invest in a strong configuration system — Avoid hardcoding country-specific logic
  3. Test with real users in each market — Assumptions about user behavior vary widely
  4. Plan for regulatory differences — Each country has unique compliance requirements

The platform now serves 2.7M+ monthly visitors and processes $82M in annual revenue across all markets.