Questo utente non ha argomenti preferiti.
Argomenti preferiti del forum
Argomenti del forum creati
Stato |
Argomento
|
Sostenitore | Voci | Messaggi | Freschezza |
---|---|---|---|---|---|
The automatic currency switching by country doesn’t work on Nginx Reverse Proxy
Iniziato da: saudA-6
in: English Support
Problem: Switching the currency based on the client's location doesn't work on Nginx Reverse Proxy Solution: WooCommerce Multilingual & Multicurrency plugin uses the built-in API in WooCommerce for geolocation: https://woocommerce.github.io/code-reference/files/woocommerce-includes-class-wc-geolocation.html#source-view.80. So what is happening on your website is the server's IP is being served instead of the actual user IP. That means the website will see every user visiting the website is located in the US. We came across a helpful document at https://ypereirareis.github.io/blog/2017/02/15/nginx-real-ip-behind-nginx-reverse-proxy/ that provides instructions on obtaining the actual user IP. Kindly review the document and let us know how it goes. |
2 | 9 | 1 anno, 8 mese fa | ||
Currency switcher in the main menu
Iniziato da: saudA-6 in: English Support |
2 | 3 |
1 anno, 8 mese fa
saudA-6 |
||
WPML chat support ticket by saudA-6 – 1683188272
Iniziato da: saudA-6 in: Chat Support |
1 | 2 |
1 anno, 8 mese fa
|