0

I have activated the currency switcher in my Magento 2.3.4 The rates from fixer.io have been imported properly.

I have flushed the cache, restarted php7.3-fpm (to clean OPCache cache), restarted Varnish.

The currency switcher displays properly and the links are well formed:

<a href="#" data-post="{&quot;action&quot;:&quot;https:\/\/example.com\/directory\/currency\/switch\/&quot;,&quot;data&quot;:{&quot;currency&quot;:&quot;DKK&quot;,&quot;uenc&quot;:&quot;aHxxxxxxxxxxxxxxxxxxxxx,&quot;}}">DKK - Danish Krone</a>

When I click and look at the call in my Chrome inspector I can see that a 302 is returned and the Form Data is passed properly:

currency=DKK&uenc=aHxxxxxxxxxxxxxxxxx%2C&form_key=xxxxxxx

However the resulting page still display EUR as base currency and the switcher is still on EUR instead of DKK.

Any idea?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.