Skip to content

[Amp story shopping] Currency i18n #37246

@processprocess

Description

@processprocess

Description

Use Intl.NumberFormat to enable language-sensitive number formatting.

Locale will need to be retrieved from the localization service.
This may need to be a new method in the service.

A product-price-currency entry will need to be specified in the config to display the correct currency symbol:

product-price: 100,
product-price-currency: ‘USD’

Since the currency symbol's position is dynamic it will need to be the same size as the number.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions