Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Currency switcher not updating prices: how to find and fix it

PRF-356High impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A currency switcher lets a visitor pick the currency they want to see prices in, such as USD, EUR or GBP. The issue is that they pick one and the prices stay in the old currency, change on one page but not another, or change on the product page but revert in the cart.

The choice is normally stored in a cookie or in the browser's local storage, or in the URL (for example ?currency=EUR or /eu/). Every page has to read that stored value and show prices to match. If any part of that chain breaks, the switcher looks dead.

Why it costs you leads or sales

Visitors who ask for their own currency are showing buying intent. If the price does not change, they can't tell what they will pay, and many will leave rather than guess exchange rates. If the price changes on the product page but the checkout charges another currency, you add surprise at the worst moment, which causes abandoned carts and support tickets.

Where the currency choice gets lost
  1. Visitor picks EURClicks the currency switcher
  2. Choice savedCookie, storage or URL
  3. Page shows pricesCached page or script ignores the choice
  4. Cart and checkoutVisitor unsure what they will pay
  5. OrderVisitor leaves

The visitor picks a currency, but the page keeps serving the old one, so later steps lose the sale.

Checkout starts by currency behaviourExample numbers
Checkout starts by currency behaviour (example)Switcher works: 4 %; Switcher broken: 1.5 %02341.5Switcher worksSwitcher broken%

Example: illustrative numbers showing how a broken switcher could cut the share of international visitors who start checkout.

How to check if your site has it

Test in a clean state, because your own browser may hold a cookie that hides the problem. Use a private window, or clear cookies for your site first.

Test the currency switcher
  1. Open a private window

    Load your home page, a category page and a product page. Note the currency shown.

  2. Change the currency

    Pick a different currency and watch whether prices change without a reload, or after one.

  3. Reload and navigate

    Reload the page, then open other pages. The choice should stick on every page.

  4. Add to cart and open checkout

    Check that the cart, the shipping step and the final total all use the chosen currency.

  5. Check the console and cookies

    In browser developer tools, open Console for red errors and Application (Storage) to see if a currency cookie or storage value is set after you switch.

  6. Repeat on mobile

    Test on a phone, since some themes load a different switcher for small screens.

What you see and the likely cause
SymptomLikely cause
Nothing changes at allJavaScript error or switcher plugin not loading
Changes, then reverts on reloadCookie not saved, or cached page served to everyone
Works on some pages onlyPrices rendered by a different widget, or excluded pages
Product page right, cart wrongSwitcher changes display only, not store currency
Works for you, not for visitorsFull page cache or CDN ignores the currency cookie

How to fix it

Work from the cause you found. The most common one on stores is caching: the server saves one copy of a page and hands it to every visitor, so the currency cookie is never read.

Fix by platform
  1. Exclude the currency cookie from caching

    In your caching plugin or host cache, add the cookie your currency plugin sets (check the plugin docs or Application > Cookies for its name) to the cache exclusion or 'vary by cookie' list.

  2. Purge caches

    Clear plugin, server and CDN caches after changing the rule.

  3. Rule out conflicts

    Temporarily switch to a default theme and disable other plugins to find a script conflict. Fix the console error you find.

  4. Confirm WooCommerce picks it up

    Make sure your multi-currency plugin applies to the cart and checkout, not only to product pages and widgets.

Save and re-apply the chosen currencyjavascript
// Save the choice
document.querySelector('#currency-select').addEventListener('change', function (e) {
  document.cookie = 'currency=' + encodeURIComponent(e.target.value) + '; path=/; max-age=31536000; SameSite=Lax';
  window.location.reload();
});

// Read it back on page load
function getCurrency() {
  var m = document.cookie.match(/(?:^|; )currency=([^;]*)/);
  return m ? decodeURIComponent(m[1]) : 'USD';
}
console.log('Current currency:', getCurrency());
A script error stops the switcher

The visitor clicks the switcher, a script error stops the update and the old prices stay on screen.

Cached pages ignore the currency choiceInteractive
Page cache ignores currency cookie

Cache ignores cookie

Leads or data lost

Visitor picks EUR but is served the cached USD page. Prices do not change.

Toggle the cause to see how caching alone can make a working switcher look broken.

How to confirm it's fixed

Fix verification
  • In a private window, switching currency changes prices on the home, category and product pages
  • The choice is still applied after a reload and on new pages
  • Cart, shipping and final total use the chosen currency
  • No red errors in the browser console when switching
  • Works on desktop and mobile, and in at least two browsers
  • Works when logged out and from a different country or VPN location

How to prevent it happening again

Prevention habits
  • Re-test the switcher after every theme, plugin or app update
  • Re-test after any change to caching, CDN or security rules
  • Keep only one currency tool active
  • Write the test steps down and run them before big campaigns
  • Use one currency source for display and checkout wherever your platform allows it

How FunnelGuard handles this

FunnelGuard does not check this yet. A currency switcher check is a possible future addition, but today there is no test that picks a currency and compares the prices.

What FunnelGuard does run is your real customer journeys on a schedule, such as a lead form, checkout or booking button, from the EU or the US. It checks each step and the tracking hits sent to ad and analytics platforms. If a broken script or error stops a journey step from completing, that failure is re-checked from a second region before one alert is sent. That can surface a script problem, but it does not tell you whether the price currency is right.

To watch for this yourself, put the test steps above in a calendar reminder and run them monthly and after every site change. You can also ask a colleague in another country to try the switcher, and review support messages for questions like 'why is the price different?'. A free read-only FunnelGuard website audit is available if you want a broader look at your site.

Currency switcher before and after the fix

Broken

  • Prices stay in the old currency after the click
  • Choice lost on reload or on the next page
  • Checkout total in a different currency

Fixed

  • Prices update on every page
  • Choice is saved and read by the cache and server
  • Cart and checkout match what was shown

Questions people ask

Why is my currency switcher not updating prices?

The most common causes are page caching that serves the same page to everyone, a JavaScript error that stops the switcher script, a cookie that is not saved or read, and a plugin conflict. Test in a private window and check the browser console to see which one it is.

Why does the currency switch back when I reload the page?

The choice is probably not being stored, or the page is not reading it. Check that a currency cookie or storage value is set after you switch, and that your cache is set to vary by that cookie.

Why does the product page show the new currency but the checkout doesn't?

Many switchers only change the displayed text. The cart and payment still use the store's base currency. Use a setup that applies the currency to the cart and checkout, such as Shopify Markets or a multi-currency plugin that supports checkout.

How do I fix a WooCommerce currency switcher that is not working?

Exclude the plugin's currency cookie from your page cache, clear all caches, and test with other plugins disabled to find conflicts. Also check that the plugin is set to apply to the cart and checkout.

How do I test a currency switcher properly?

Use a private window, switch currency, then reload and visit several pages, add a product to the cart and check the checkout total. Also test on mobile and from another country or with a VPN.

Does a broken currency switcher hurt sales?

Yes, it can. Visitors who cannot see prices in their currency are less sure what they will pay, and mismatches at checkout cause abandoned carts. The size of the effect depends on how much of your traffic is international.

Can FunnelGuard detect a currency switcher that doesn't update prices?

Not yet. This is a possible future check. FunnelGuard does run your customer journeys on a schedule and alerts you when a step fails, but it does not compare prices across currencies today.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.