Currency not switching
-
Hi, I am not sure what is wrong, but after some updates of WooCommerce plugins etc. switcher stopped working for me. It reloads the page, add the ?currency=EUR to URL, but currency stays default.
I am using the redis, so I set it up also in settings.
I am also using this for translatepress:
add_filter('wp_head', function() { $lang = get_locale(); global $WOOCS; switch ($lang) { case 'en_GB': $WOOCS->set_currency('EUR'); break; default: $WOOCS->set_currency('CZK'); break; } });
I thought it is caused by WP Rocket, but after disabling it, problem stays. What should I do?
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Currency not switching’ is closed to new replies.