• Resolved donmelle

    (@jakemelson)


    I have a Woocommerce site, with multiple languages and currencies.

    When I use user switching it always redirects to a specific language/currency version (sv). This is particular problematic when trying to help a customer in a different language as Woocommerce will empty the basket, when a new language/currency is detected. Hence when I login as that user, the basket will be empty.

    Why does it not redirect to the same language/currency you are switching from? Is there a method to redirect to a specific url or some other work around?

    Thanks in advance.

    • This topic was modified 3 years, 7 months ago by donmelle.
Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    How are you managing languages and currencies in WooCommerce? User Switching redirects you to the home page of the site (if the target user doesn’t have access to the wp-admin area) so presumably you’re seeing the default language and currency after switching. If you manually log in as one of your users does the same thing happen?

    If you need to change the redirect location take a look at the FAQ where it mentions which filters are used for the redirect locations. If the redirect location isn’t the home page then it could be that another plugin on your site is already adjusting the redirect location when a user logs in.

Viewing 1 replies (of 1 total)

The topic ‘Switching to a wrong language version’ is closed to new replies.