Hi,
Cloudflare could help you to reduce the Geolocation time because when Cloudflare is active, the WooCommerce geolocation function does not need to read the MaxMind database.
I hope this helps you.
Thread Starter
nvr21
(@nvr21)
Hey there.
First thanks for your suggestion.
Second
I have sent you an email regarding wpml.
I would like to know if you can provide me some hooks.
I’m trying to achieve some auto language switcher with your plugin and wpml.
https://wpml.org/forums/topic/price-based-on-country-switcher-plugin-wpml-2/
Can you help me with some hooks to achieve those?
Really appreciate thanks.
Thread Starter
nvr21
(@nvr21)
Hey there, please tell me if you can help me with the above concern. Thanks
Hi,
you can get the customer country with the function wcpbc_get_woocommerce_country(). You have to get the customer country after WooCommerce has been initiated, use the hook woocommerce_init.
I hope this helps you.