Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

This topic contains 10 replies, has 1 voice.

Last updated by Bobby 1 week ago.

Assisted by: Bobby.

Author Posts
April 2, 2025 at 10:03 pm #16889270

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for updating me, you are right -- I was able to reproduce.

Here is a breakdown of what has been done so far:

- Added the following code in the theme's functions.php

add_filter( 'wcml_multicurrency_supported_cache_plugins', function( $plugins ) {
$plugins[] = 'LiteSpeed Cache';
return $plugins;
} );

- Excluded wcml_client_currency from Litespeed -> Cache (it was missing)

- Added directly to the .htaccess file

<IfModule LiteSpeed>
CacheVary on
CacheKeyModify +wcml_client_currency
</IfModule>

- Enabled Litespeed ESI and added

woocommerce-cart
wpml_nonce
wcml_nonce

- Test with minimal environment

The issue has been escalated to our second tier team and we will update you as soon as there is feedback.