Display an estimated price in the user's local currency
ALPHA, not ovailable to the public.
There are two parts to this feature-
Determining the local currency
Using GeoIP mechanics to identify their country
And possibly a currency switcher UX
Converting your prices from their actual currency to the local currency
Determine the country and use a lookup.
Cloudflare reverse proxy
IPInfo lib
? Work with SA5 Detect lib?
Identify your source currency somewhere, e.g. config settings
Identify your destination currency on an element
Use SA5 formatting? To handle price display
https://exchangeratesapi.io/#pricing_planarrow-up-right
https://github.com/fawazahmed0/exchange-apiarrow-up-right
https://latest.currency-api.pages.dev/v1/currencies/eur.jsonarrow-up-right
Last updated 1 year ago