Open
Reported for: WooCommerce Multilingual & Multicurrency 5.3.6
Overview of the issue
For websites hosted on Kinsta, there may be instances where WooCommerce Multilingual currency switching functionality encounters difficulties. This can result in users viewing incorrect currency displays or being unable to switch currencies as expected.
Workaround
To mitigate this issue, a combination of code adjustments and Kinsta support intervention is recommended.
Step 1
Please, make sure of having a full site backup of your site before proceeding.
- Add the following code snippet to your theme’s functions.php file:
/** * Enable cookie strategy for Kinsta caching. * * @link wpmlsupp-11434 */ add_filter( 'wcml_user_store_strategy', function () { return 'cookie'; });
Step 2
After implementing the code snippet, reach out to Kinsta support to request enabling cookie-based caching for your site. Specifically, ask to use the wcml_client_currency
cookie for cache bucket keys.
You can find more information about how to get help support from Kinsta team on this link.