Quote from Quadica on October 17, 2021, 18:54
I am having problems with currency changes not always being applied to previously viewed pages. Additionally, sometimes the new currency values will be displayed, but the currency selector in the header will display the old setting. Also, sometimes the new currency setting will not be used on newly viewed pages.
- I have v.2.3.6 installed.
- WP 5.8.1, WooCommerce 5.8.0 with PHP 8.0.10
- Sites hosted on Kinsta using WP Rocket caching plugin
- Using Elementor with Hello Elementor Child theme
- I am using the following shortcode in the header: [woocs show_flags=1 txt_type="desc"]
I have created a short video demonstrating the problem. In the video, you can see where I change the currency from USD to JAP, which works on the current page, but when I go to previously viewed pages, the USD currency is displayed, even after refreshing the page. Before recording this video I disabled all plugins except for WOOCS, Elementor, Elementor PRO & WooCommerce. The browser cache was cleared.
https://screencast-o-matic.com/watch/cr6bDgVXEz8
I have tried:
- Disabling ALL plugins except WooCommerce, Elementor, Elementor Pro and WOOCS
- Tried Transient and PHP Session Storage
- Disabled all Geolocation functions
- Enabling and disabling the WP Rocket plugin
- Enabling & Disabling the "I am using cache plugin on my site" function
- Ensured all tests were completed after browser cache has been cleared
So far I have had no success in solving this problem.
I have cloned a test site that you are welcome to access and make any changes you want. I will provide credentials separately.
I am having problems with currency changes not always being applied to previously viewed pages. Additionally, sometimes the new currency values will be displayed, but the currency selector in the header will display the old setting. Also, sometimes the new currency setting will not be used on newly viewed pages.
- I have v.2.3.6 installed.
- WP 5.8.1, WooCommerce 5.8.0 with PHP 8.0.10
- Sites hosted on Kinsta using WP Rocket caching plugin
- Using Elementor with Hello Elementor Child theme
- I am using the following shortcode in the header: [woocs show_flags=1 txt_type="desc"]
I have created a short video demonstrating the problem. In the video, you can see where I change the currency from USD to JAP, which works on the current page, but when I go to previously viewed pages, the USD currency is displayed, even after refreshing the page. Before recording this video I disabled all plugins except for WOOCS, Elementor, Elementor PRO & WooCommerce. The browser cache was cleared.
https://screencast-o-matic.com/watch/cr6bDgVXEz8
I have tried:
- Disabling ALL plugins except WooCommerce, Elementor, Elementor Pro and WOOCS
- Tried Transient and PHP Session Storage
- Disabled all Geolocation functions
- Enabling and disabling the WP Rocket plugin
- Enabling & Disabling the"I am using cache plugin on my site" function
- Ensured all tests were completed after browser cache has been cleared
So far I have had no success in solving this problem.
I have cloned a test site that you are welcome to access and make any changes you want. I will provide credentials separately.