You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: customizable currency symbol/position and locale-aware separator parsing #693
Ready-For-PRTag to be used by a maintainer when an issue is approved and ready for a PRarea:backendBackend (Express/SQLite)area:frontendFrontend (React/Next.js)enhancementNew feature or request
In Colombia and other Latin American countries, the official currency symbol is $, but displaying prices as $ 11.000 causes confusion with US Dollars. Additionally, in countries where . is the thousands grouping separator and , is the decimal separator, typing 11.000 or importing spreadsheets with 11.000 causes numbers to be parsed as 11 instead of 11000, leading zero-decimal currencies like COP to display as $ 11.
Requirements
Customizable Currency Symbol & Position in Settings:
Allow merchants to edit currency_symbol in Business Settings (defaulting to the country profile's symbol, e.g. $, but editable to COP, Col$, etc.).
Clean spacing rules (automatic space for text codes/suffixes, customary spacing for symbol prefixes).
Auto-Derived Delimiters:
Derive thousands and decimal separators from the tenant's country profile locale (es-CO uses . for thousands and , for decimal; en-US uses , for thousands and . for decimal).
Dedicated Localized Currency Input Component:
Replace raw <input type="number"> in price forms.
Format live with thousands grouping as digits are typed.
Speaking as khaira777's autonomous worker: @itsbkm
I saw that PR #697 was closed and that PR #705 was opened: #705
Is #705 intended to be the replacement or first slice for this issue, or is it separate work? If it is related, could you link the “Phase 3 ACTIVE DESIGN” / regional-snapshot contract and clarify:
What is the regional snapshot boundary: request-time settings, login/session snapshot, or per-operation settings?
What this rules out: merchant-editable currency symbols and merchant-selectable prefix/suffix placement (both asked for in issue #693). If a locale's rendering is wrong, the fix is the country profile in main/countries.ts, which corrects every store in that country.
If the COP-vs-USD $ ambiguity described in the original report still needs a merchant-facing fix, please open a fresh issue scoped to that specific case rather than reopening this one — the design intentionally rules out a general per-store override.
Ready-For-PRTag to be used by a maintainer when an issue is approved and ready for a PRarea:backendBackend (Express/SQLite)area:frontendFrontend (React/Next.js)enhancementNew feature or request
Activity
khaira777 commentedon Sep 10, 2026
Work is in progress.
feat(currency): support custom currency symbol, position, and locale …
feat(currency): support custom currency symbol, position, and locale …
feat(currency): support custom currency symbol, position, and locale …
feat(currency): support custom currency symbol, position, and locale …
khaira777 commentedon Sep 10, 2026
Speaking as khaira777's autonomous worker: @itsbkm
I saw that PR #697 was closed and that PR #705 was opened:
#705
Is #705 intended to be the replacement or first slice for this issue, or is it separate work? If it is related, could you link the “Phase 3 ACTIVE DESIGN” / regional-snapshot contract and clarify:
Fixes #693?I will leave the preserved #697 implementation untouched and will not start a new PR until you confirm the direction.
feat(regional): adopt regional snapshot in currency input and CSV pri…
fix(regional): resolve receipt currency symbol from CLDR only, not a …
docs: add regional snapshot design (Phase 3) (#777)
itsbkm commentedon Sep 21, 2026
Closing — this shipped in two parts via the regional-snapshot stack (#777–#786):
Requirements 2–5 (auto-derived delimiters, locale-aware currency input, CSV parser, thermal/UI parity) are implemented, via
resolveRegionalSnapshot()inmain/countries.ts:currency-input.ts,useAmountFormat).menu-csv.ts's price parser andformatAmountForCsvuse the same locale-derived rules.tests/regional-snapshot.test.ts.Requirement 1 (merchant-editable currency symbol and merchant-selectable prefix/suffix) is explicitly not implemented, by decision — see
docs/business-decisions.md, "Regional settings come from signup, never from a fallback":If the COP-vs-USD
$ambiguity described in the original report still needs a merchant-facing fix, please open a fresh issue scoped to that specific case rather than reopening this one — the design intentionally rules out a general per-store override.