Cart currency not updated when customer logs in
-
Hello,
This is a WooCommerce based shop using Storefront theme, it uses WPML for multilanguage and multicurrency.
The base currency for the shop is CAD $, and based on geolocation the currency are automatically select to USD $ for the United States or EUR € for Euro countries, no currency switcher is available to the customers, they will see the currency based on his geolocation or in the billing country when they log in.Quite all are running as expected except for the ‘cart’ on the right side of the header. Based on geolocation the currency here is ok, but when a customer with billing address in a country that uses a different currency logs on, the currency of cart is not updated but the shop currency yes.
Let’s explain with an example:
A Canadian customer that is traveling in the US see when not logged in, the currency in the shop and in the Cart as USD $, then this customer logs in and the currency on the shop automatically changes to CAD $ but the currency showed in the Cart is still USD $ instead of CAD $.
If later the customer selects something from the shop and adds it to the Cart, then the Cart shows the amount using the right currency (in this case CAD $).This is confusing behavior, can you please help me to show the right currency of the customer on the Cart when he logs in?
May be can I use some hook or filter when user logs on?
I have reported this issue first to WPML, and they say that this is a Storefront problem.
I’ve reported too to Storefront, but they say that is a WooCommerce problem
Now I will ask you, who can really is responsible for that and can give a solution or workaround adding some code if necessary when a customer logs on using any hook or filter?
Many thanks in advance for your help,
Robert
The page I need help with: [log in to see the link]
- The topic ‘Cart currency not updated when customer logs in’ is closed to new replies.