Skip to content
FunnelGuard

Fix guide by FunnelsGuard

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

CNV-341Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A currency switcher lets a visitor choose, for example, USD, EUR or GBP. When it works, every price on the page updates: product cards, product pages, cart, and checkout. This issue is when the visitor picks a currency and nothing changes, or only some prices change.

It comes in three forms: no change at all (the menu moves but prices stay the same), partial change (the product grid updates but the cart or checkout does not), and reverts (the currency flips back on the next page or after a refresh).

Why it costs you leads or sales

Visitors who ask for their own currency want to know what they will pay. If the price doesn't move, they can't tell, and many will leave rather than guess. A partial change is worse: a visitor sees one price, then a different currency in the cart, which looks like a pricing error and breaks trust at the moment of payment.

Where a visitor drops off
  1. Product pageVisitor sees prices in the store's default currency
  2. Picks a currencyPrices stay the same
  3. CartVisitor doesn't trust the price and leaves
  4. CheckoutNever reached

The switch fails at step 2, so the later steps never happen in the visitor's currency.

Checkout starts by visitors who switched currencyExample numbers
Checkout starts by visitors who switched currency (example)Switcher works: 12 %; Switcher broken: 4 %059124Switcher worksSwitcher broken%

Example: illustrative numbers only. Visitors who see prices in their chosen currency are more likely to continue than those whose switch silently failed.

How to check if your site has it

Test the switcher like a visitor
  1. Open a private window

    Use an incognito or private window so old cookies and cached choices don't hide the problem.

  2. Pick a different currency

    Use the switcher on a product listing page, then note the price of one product before and after.

  3. Walk through every page type

    Check the home page, collection page, product page, cart and checkout. Look for any price still in the old currency.

  4. Reload and navigate

    Refresh the page and click to another page. The currency should stay selected.

  5. Open the browser console

    Press F12, open the Console tab and switch currency again. Red errors point to a broken script.

  6. Test on mobile

    Repeat on a phone. Mobile menus often use a separate copy of the switcher that may not be wired up.

How to fix it

Match what you saw in the test to the most likely cause.

Symptoms and likely causes
What you seeLikely causeFirst fix to try
Nothing changes at allJavaScript error or plugin conflictCheck the console, then disable other plugins or apps one by one
Changes, then reverts on the next pageCookie or session not savedCheck the currency cookie is set and not blocked
Works only after a hard refreshPage cache serves one currency to everyoneExclude the currency cookie or parameter from the cache
Some prices change, others don'tTheme prints prices outside the currency toolUse the platform's price function or the plugin's price hook
Cart or checkout stays in the default currencyCheckout currency not enabledEnable the currency in payment and checkout settings
Fix by platform
  1. Clear every cache

    Purge your caching plugin, server cache and CDN. Then exclude the currency cookie your switcher plugin sets (check the plugin's docs for the name) from page caching, or turn on its AJAX or cache-compatible mode if it has one.

  2. Test for a conflict

    Temporarily switch to a default theme and disable other plugins except WooCommerce and your currency plugin. If it works, re-enable one at a time to find the culprit.

  3. Check custom price output

    If your theme prints prices with custom code, make sure it uses WooCommerce's wc_price() and the standard price filters so the currency plugin can convert them.

Save and re-read the chosen currencyjavascript
function setCurrency(code) {
  document.cookie = 'currency=' + code + '; path=/; max-age=31536000; SameSite=Lax';
  window.location.reload();
}

function getCurrency() {
  const m = document.cookie.match(/(?:^|; )currency=([^;]+)/);
  return m ? m[1] : 'USD';
}

How to confirm it's fixed

Confirmation checklist
  • In a private window, switching currency changes prices on listing, product and cart pages
  • The choice persists after a refresh and across pages
  • Checkout shows the same currency and total as the cart
  • No red errors in the browser console when switching
  • Works on mobile and in at least two browsers
  • Works after purging all caches, as a first-time visitor
Switcher before and after the fix

Broken

  • Visitor picks EUR, prices stay in USD
  • Choice is lost on the next page
  • Cart shows a different currency from the product page

Fixed

  • Prices update right after the switch
  • Currency is remembered across pages
  • Cart and checkout match the chosen currency

How to prevent it happening again

Most regressions come from changes: a new plugin, a theme update, a cache rule or a new price block. Add a currency test to your release routine.

Prevention routine
  • Test the switcher after every theme, plugin or app update
  • Re-test after changing cache or CDN settings
  • Use one price function in templates so new blocks get converted
  • Keep a short written test script (pages and currencies to check)
  • Run it monthly in a private window on desktop and mobile

How FunnelGuard handles this

FunnelGuard does not check this yet. A currency switcher test is a possible future check, but it is not built today, so FunnelGuard will not tell you when a switcher stops changing prices.

What FunnelGuard does cover nearby: it runs your real customer journeys, such as a checkout or lead form, on a schedule from the EU or the US. It checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads arrive. If a broken script stops a button or a step in that journey from working, a failed step can be caught that way. That is not the same as checking that prices change currency.

Until then, use the manual test above on a schedule, and consider a free FunnelGuard site audit (read-only) or the Free plan (1 site, 2 journeys, daily checks, no card) to watch your main checkout journey for outright breakage.

Questions people ask

Why is my currency switcher not changing prices?

The most common causes are a cached page that serves one currency to everyone, a cookie that isn't saved, a JavaScript error or plugin conflict, or a theme that prints prices outside the currency tool. Test in a private window and check the browser console to narrow it down.

Why does my currency go back to the default after I change page?

The choice is not being stored, or it is stored but not read. Check that a currency cookie or session value is set, that it isn't blocked or cleared, and that every page render reads it.

Why do prices only change after a hard refresh?

A page cache or CDN is probably serving the same HTML to all visitors. Exclude the currency cookie from caching, make the cache vary by it, or render prices in the browser after load.

Why does the cart show a different currency than the product page?

Checkout may not have the currency enabled, or the cart uses a separate price path from the product page. Enable the currency in payment settings and make sure all pages use the same price function.

How do I test a currency switcher on my website?

Open a private window, switch currency, and check the listing, product, cart and checkout pages. Refresh, move between pages, check the console for errors, and repeat on mobile.

Does Shopify show local currency automatically?

Shopify shows local currency for markets you set up in Settings > Markets, and the currency must be supported by your payment setup. If a country isn't in a market with local currency on, visitors see the store currency.

Can FunnelGuard tell me if my currency switcher breaks?

No. FunnelGuard does not check currency switchers yet; it is a possible future check. It does run your real journeys such as checkouts and forms on a schedule, so it can catch some outright breakage in those journeys.

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.