Price in Local Currency π§ͺ
Display an estimated price in the user's local currency
ALPHA, not ovailable to the public.
How it Works
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
Currency Detection
Determine the country and use a lookup.
Cloudflare reverse proxy
IPInfo lib
? Work with SA5 Detect lib?
Usage Notes
Identify your source currency somewhere, e.g. config settings
Identify your destination currency on an element
Use SA5 formatting? To handle price display
Technical Notes
https://exchangeratesapi.io/#pricing_plan
https://github.com/fawazahmed0/exchange-api
https://latest.currency-api.pages.dev/v1/currencies/eur.json
Last updated