Parameter wcmlc={currency_code} disappearing from URL
-
Hello,
I’m using WPML with the WooCommerce Multilingual & Multicurrency plugin. I’ve added the following code to my theme to ensure the currency parameter is appended to the URL when switching currencies:
add_filter( 'wcml_is_cache_enabled_for_switching_currency', '__return_true' );However, the problem is that the currency parameter only appears in the URL once when the currency is initially selected. After navigating to another page the
wcmlc={currency_code}parameter disappears from the URL. I need to keep the currency parameter on all subpages and product page URLs to ensure proper site caching.
Thank you in advance!
The topic ‘Parameter wcmlc={currency_code} disappearing from URL’ is closed to new replies.