Auto-Local Currency Integration

Customer: AI | Published: 05.02.2026
Бюджет: 30 $

My site is a custom PHP/HTML/CSS/JS build and right now every price shows in one fixed currency. I want those figures to switch automatically to the visitor’s local money the moment the page loads, using their geo-location. Core requirements • Detect the visitor’s country on page load (JavaScript or PHP geo-IP is fine). • Pull the relevant exchange rate from a reliable, real-time API—please suggest solid, low-latency options and note any rate-limit quirks. • Re-render every price element site-wide in the detected currency, keeping the original formatting (decimal places, thousand separators). • If detection fails, fall back gracefully to a default currency and allow the user to toggle manually. • All code must sit cleanly in my existing file structure and be documented so future edits are straightforward. Acceptance criteria 1. Landing on the site from three different VPN locations shows three correct local currencies with accurate conversion. 2. Manual toggle appears only when detection fails or on explicit user request. 3. No noticeable impact on page-load speed (sub-200 ms delay acceptable for the API call). All server access and current source files are ready as soon as you confirm the API you’d like to use.