Incompatible currency and attributes,please help
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from Pablo Borysenco on February 7, 2025, 13:51Hello
Please check your FTP access
Hello
Please check your FTP access
Quote from lvlp1314 on February 7, 2025, 14:05FTP account saved as private data, Pls check, I have forgot the admin password, if you need , please tell me
FTP account saved as private data, Pls check, I have forgot the admin password, if you need , please tell me
Quote from Pablo Borysenco on February 10, 2025, 11:26Hello
Yes I need ftp and wp-admin access
Hello
Yes I need ftp and wp-admin access
Quote from lvlp1314 on February 11, 2025, 08:23Thanks for your reply
I have save FTP and admin account as private data, Pls check it
Thanks for your reply
I have save FTP and admin account as private data, Pls check it
Quote from Pablo Borysenco on February 11, 2025, 11:04Ok! I will check it
Ok! I will check it
Quote from Pablo Borysenco on February 14, 2025, 13:41Hello
Ok! I check it.
It looks like the plugin author has introduced a new key for percentages.
That's why I reworked my old code:
in file - \advanced-product-fields-for-woocommerce-extended\includes\classes\integrations\class-woocs.php - https://share.pluginus.net/image/i20250214134016.png
if('percent' == $type || 'p' ==$type ) return $amount;
Regarding the second part, the situation is the same as I described earlier - https://share.pluginus.net/image/i20250214134141.png
Hello
Ok! I check it.
It looks like the plugin author has introduced a new key for percentages.
That's why I reworked my old code:
in file - \advanced-product-fields-for-woocommerce-extended\includes\classes\integrations\class-woocs.php - https://share.pluginus.net/image/i20250214134016.png
if('percent' == $type || 'p' ==$type ) return $amount;
Regarding the second part, the situation is the same as I described earlier - https://share.pluginus.net/image/i20250214134141.png
Quote from lvlp1314 on February 14, 2025, 15:31Good, many thanks
Good, many thanks
Quote from lvlp1314 on February 20, 2025, 11:51I have a style that I would like to ask you about. My website is https://www.elitelatex.co.uk/.
I put the widget “FOX Currency Switcher: Currency Switcher” at the bottom of the website,
but the style does not match the website. The Font in the currency widget is white, so it cannot be seen. and the currency widget is too large. How can I change the style of this widget?
many thanks
I have a style that I would like to ask you about. My website is https://www.elitelatex.co.uk/.
I put the widget “FOX Currency Switcher: Currency Switcher” at the bottom of the website,
but the style does not match the website. The Font in the currency widget is white, so it cannot be seen. and the currency widget is too large. How can I change the style of this widget?
many thanks
Quote from Pablo Borysenco on February 20, 2025, 12:51Hello
You can choose another type of switch.
OR you can create your own design - https://currency-switcher.com/video#video_zBJcJl6UuuQ
OR use CSS to customize the look of the switcher
Hello
You can choose another type of switch.
OR you can create your own design - https://currency-switcher.com/video#video_zBJcJl6UuuQ
OR use CSS to customize the look of the switcher
Quote from lvlp1314 on February 24, 2025, 08:53I can see through the records platform that many customers' currencies are jumping randomly. My server has memcached object cache installed. The administrator login account of the website has been created for you, as well as the account of the records platform. Please help me find out why there are so many currency jumping problems.
For account information, please see private data
Please watch the recordings below
https://capturly.com/recordings/668a8a55deede7d65a38588e/51305698
https://capturly.com/recordings/668a8a55deede7d65a38588e/51305664
https://capturly.com/recordings/668a8a55deede7d65a38588e/51307332
https://capturly.com/recordings/668a8a55deede7d65a38588e/51307251
https://capturly.com/recordings/668a8a55deede7d65a38588e/51307151
https://capturly.com/recordings/668a8a55deede7d65a38588e/51307076
https://capturly.com/recordings/668a8a55deede7d65a38588e/51307026
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306722
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306716
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306627
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306618
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306553
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306529
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306471
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306426
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306227
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306201
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306192
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306103
https://capturly.com/recordings/668a8a55deede7d65a38588e/51305863
https://capturly.com/recordings/668a8a55deede7d65a38588e/51305855
I can see through the records platform that many customers' currencies are jumping randomly. My server has memcached object cache installed. The administrator login account of the website has been created for you, as well as the account of the records platform. Please help me find out why there are so many currency jumping problems.
For account information, please see private data
Please watch the recordings below
https://capturly.com/recordings/668a8a55deede7d65a38588e/51305698
https://capturly.com/recordings/668a8a55deede7d65a38588e/51305664
https://capturly.com/recordings/668a8a55deede7d65a38588e/51307332
https://capturly.com/recordings/668a8a55deede7d65a38588e/51307251
https://capturly.com/recordings/668a8a55deede7d65a38588e/51307151
https://capturly.com/recordings/668a8a55deede7d65a38588e/51307076
https://capturly.com/recordings/668a8a55deede7d65a38588e/51307026
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306722
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306716
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306627
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306618
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306553
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306529
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306471
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306426
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306227
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306201
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306192
https://capturly.com/recordings/668a8a55deede7d65a38588e/51306103
https://capturly.com/recordings/668a8a55deede7d65a38588e/51305863
https://capturly.com/recordings/668a8a55deede7d65a38588e/51305855
Quote from Pablo Borysenco on February 24, 2025, 11:31Hello
Please check these options - https://share.pluginus.net/image/i20250224113102.png and https://share.pluginus.net/image/i20250224113141.png
Hello
Please check these options - https://share.pluginus.net/image/i20250224113102.png and https://share.pluginus.net/image/i20250224113141.png
Quote from lvlp1314 on February 24, 2025, 12:52Thanks for your fast reply
I did not install cache plugin, Just install memcached and opcache, Do I still need to enable this "I am using cache plugin on my
site"
Thanks for your fast reply
I did not install cache plugin, Just install memcached and opcache, Do I still need to enable this"I am using cache plugin on my
site"
Quote from Pablo Borysenco on February 25, 2025, 10:12Hello
Yes, Please enable this option
Hello
Yes, Please enable this option
Quote from lvlp1314 on March 13, 2025, 10:33Hi,I like your plugin very much. I use your plugin on 3 websites. Please help me.I have saved the administrator account and FTP of the website as private data. Please checkI have set it up in the Fox plugin according to your requirements, but the currency is still wrongMy website's default language is English. It is parsed to Cloudflare. I have installed the multi-currency plugin (FOX - Currency Switcher Professional for WooCommerce) and GTranslate plugin. but my multi-currency plugin and GTranslate plugin are always not perfectly compatible. On the default English page, it can be compatible, but when switching to other languages, the multi-currency will randomly appear in the currency. I guess it is because the multi-currency cannot correctly obtain the customer's IP.site is: https://www.elitelatex.co.uk (I used another website to ask you before, but that website had a lot of traffic and affected customers, so I changed to elitelatex.co.uk to continue testing the currency.)I have put the shortcode [woocs_geo_hello] what used to detect the visitor's country at the top of the page, so that the visitor's country information can be displayed.Please open my website and look at the upper left corner of the screen to see the visitor's country name.I added some code to the bottom of the file wp-content/themes/flatsome/footer.php to output the visitor's IP, but the IP output is incorrect. Sometimes I can see the IP, sometimes I can't, and sometimes the IP is wrong.It seems that there is caching, but I don't have any cache plugins installed, except opcache and memcached. Please test by switching the language switcher in the upper right corner and changing the IP.Through watch the customer's records, About 20% of visitors's currency automatically changes between US dollars and euros and GBPSo you may need to switch IP and clear cache multiple times when testing.My server has opcache and memcached installedThis website has wp-rocket installed, but I haven't activated itSummary: When about 1/5 of the customers visit my website, the currency will change randomly, which greatly affects the customers' orders.I have spent several months dealing with this problem, but I still can't find a solution. It seems that the website cannot correctly obtain the client's IP and country, causing this problemI asked gtranslate's technology, and they replied to me as belowYou can use this kind of logic to get the correct IP address:if (!empty($_SERVER['HTTP_X_GT_LANG'])) {
$ip = $_SERVER['HTTP_X_GT_VIEWER_IP'];
echo $ip;
}
For HTTP_CF_IPCOUNTRY you can consider using this kind of logic:
if (!empty($_SERVER['HTTP_X_GT_LANG'])) {
$ip = $_SERVER['HTTP_X_GT_VIEWER_IP']; echo $ip;
}
function get_country_from_freeipapi() { $ip = $_SERVER['HTTP_X_GT_VIEWER_IP'] ?? explode(',', $_SERVER['HTTP_X_FORWARDED_FOR'] ?? '')[0] ?? $_SERVER['REMOTE_ADDR'];
$response = wp_remote_get("https://freeipapi.com/api/json/$ip");
if (is_wp_error($response)) { return 'Unknown'; }
$data = json_decode(wp_remote_retrieve_body($response), true); return $data['countryCode'] ?? 'Unknown'; }
$country = get_country_from_freeipapi(); $_SERVER['HTTP_CF_IPCOUNTRY'] = $country;
}
Frankly speaking, I do not know how FOX - Currency works, but you can get correct IP address of the real user from $_SERVER['HTTP_X_GT_VIEWER_IP'];
Thanks
Arshak
GTranslate
if (!empty($_SERVER['HTTP_X_GT_LANG'])) {
$ip = $_SERVER['HTTP_X_GT_VIEWER_IP'];
echo $ip;
}
For HTTP_CF_IPCOUNTRY you can consider using this kind of logic:
if (!empty($_SERVER['HTTP_X_GT_LANG'])) {
$ip = $_SERVER['HTTP_X_GT_VIEWER_IP']; echo $ip;
}
function get_country_from_freeipapi() { $ip = $_SERVER['HTTP_X_GT_VIEWER_IP'] ?? explode(',', $_SERVER['HTTP_X_FORWARDED_FOR'] ?? '')[0] ?? $_SERVER['REMOTE_ADDR'];
$response = wp_remote_get("https://freeipapi.com/api/json/$ip");
if (is_wp_error($response)) { return 'Unknown'; }
$data = json_decode(wp_remote_retrieve_body($response), true); return $data['countryCode'] ?? 'Unknown'; }
$country = get_country_from_freeipapi(); $_SERVER['HTTP_CF_IPCOUNTRY'] = $country;
}
Frankly speaking, I do not know how FOX - Currency works, but you can get correct IP address of the real user from $_SERVER['HTTP_X_GT_VIEWER_IP'];
Thanks
Arshak
GTranslate
Quote from Pablo Borysenco on March 13, 2025, 11:43Hello Arshak
Please check this option - https://share.pluginus.net/image/i20250313113410.png - With this setting, the IP does not affect any parameters of my plugin.
But my plugin uses woocommerce functionality to detect user location. And this woocommerce functionality depends on IP. In fact, this is an incompatibility of your server settings with woocommerce. so you need to fix the wocommrce code to correctly detect the IP
Hello Arshak
Please check this option - https://share.pluginus.net/image/i20250313113410.png - With this setting, the IP does not affect any parameters of my plugin.
But my plugin uses woocommerce functionality to detect user location. And this woocommerce functionality depends on IP. In fact, this is an incompatibility of your server settings with woocommerce. so you need to fix the wocommrce code to correctly detect the IP