Using AJAX Geo location with currency switcher and caching
-
Hi,
I’ve been struggling to balance the benefits of Dynamic caching with the functionality of Woocommerce Multicurrency.
We have the Multicurrency plugin setup and working nicely. On the site, the geolocation will automatically apply the user’s currency if available and if not default to our base currency. Exchange rates are from an API call and they are applied to all pricing and shipping across the site. However this all goes to wrong when the dynamic caching is activated.
I came upon your plugin which interesting AJAX loads the prices, thus allowing the page to be cached and the prices to still refresh and load.
However, it seems that the plugin only activates against the billing or shipping country.. which in our case is in the checkout process, so it does not seem as though the prices will change beforehand.
Wondering if you have any advice on how I could implement the AJAX loading in conjunction with the multicurrency based on Geolocation.
The page I need help with: [log in to see the link]
- The topic ‘Using AJAX Geo location with currency switcher and caching’ is closed to new replies.