docs(preview): configure Cloudflare Pages link and confirmed Arabic support
davoodmehraban89 committed
Oct 14, 2026 at 23:48 UTC
8f2d89846ea2c9baaf1a5f4cea9db5c20e9bead2
1 file changed
+15
-2
commerce/README.md
+15
-2
@@ -12,7 +12,7 @@ This folder is the planned application workspace for the **single-merchant, five
12
| Iraq | IQ | IQD | Iran-origin products |
13
| Qatar | QA | QAR | Iran-origin products |
14
15
-Persian (`fa-IR`, RTL) and English (`en`, LTR) are confirmed. Arabic remains a proposed enhancement, not an approved release requirement.
15
+Persian (`fa-IR`, RTL), Arabic (`ar`, RTL), and English (`en`, LTR) are confirmed requirements. Country/market selection is independent of the selected language.
16
17
## Architectural boundaries
18
@@ -66,6 +66,19 @@ cp .env.example .env
66
npm run dev
67
```
68
69
-Open http://localhost:5173. The storefront displays the five configured countries, market currencies and Persian/English RTL/LTR switching. It **does not yet fetch live products or process orders**. The Medusa publishable key must be configured once a backend instance is running. Avoid committing `.env` or live secrets.
69
+Open http://localhost:5173. The storefront displays the five configured countries, market currencies and Persian/Arabic/English RTL/LTR switching. It **does not yet fetch live products or process orders**. The Medusa publishable key must be configured once a backend instance is running. Avoid committing `.env` or live secrets.
70
71
For the upstream monorepo, continue to use its pinned Yarn version. The standalone storefront uses npm until a workspace integration strategy is validated.
72
+
73
+## Public UI preview — Cloudflare Pages
74
+
75
+The **static development UI preview** is configured in Cloudflare Pages on the `project/medusa-foundation-audit` branch, independent of `main`:
76
+
77
+- Preview project: `medusa-commerce-preview-dm`
78
+- Public URL (available only once a Cloudflare build completes): `https://medusa-commerce-preview-dm.pages.dev/`
79
+- Build root: `commerce`; build: `npm install --no-audit --no-fund && npm run build`; published directory: `dist`.
80
+- Three languages: Persian (RTL), Arabic (RTL), and English (LTR).
81
+- Country selection: Iran, UAE, Oman, Iraq, Qatar. Prices shown only as currency labels, not real sale prices.
82
+- **No live API key, payment gateway, customer data, checkout, or production inventory is configured.** The catalog displays an unconfigured state until a real Medusa backend and publishable key are provisioned.
83
+
84
+The preview must not be represented as an operating store. A public static UI deployment does not establish any commerce or security production acceptance.