Issue with Gtranslate and checkout currency
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 Momentos on April 29, 2023, 02:06Hello there, I just installed Gtranslate to my website and I want to set currencies as default per language.
For example:
Spanish - MXN
English - USD
I had read many comments here in the forum, I implemented some stuff but the performance of the implementations that I got is not consistent, some times it works and many other not. What should I do?
My website is: https://momentosnewborn.com/
The second topic that I request help is to understand how the multicurrency works
How could I test if the GeoIP is working correctly? It happens to me that I´m in seeing products in USD but when I arrive to the cart it shows to me in MXN or viceversa. I want to be 100% it is working good to be able to launch internationally.
I´ll be waiting your prompt response, thanks in advanced,
Hello there, I just installed Gtranslate to my website and I want to set currencies as default per language.
For example:
Spanish - MXN
English - USD
I had read many comments here in the forum, I implemented some stuff but the performance of the implementations that I got is not consistent, some times it works and many other not. What should I do?
My website is: https://momentosnewborn.com/
The second topic that I request help is to understand how the multicurrency works
How could I test if the GeoIP is working correctly? It happens to me that I´m in seeing products in USD but when I arrive to the cart it shows to me in MXN or viceversa. I want to be 100% it is working good to be able to launch internationally.
I´ll be waiting your prompt response, thanks in advanced,
Quote from Pablo Borysenco on May 1, 2023, 09:59hello
The plugin does not have the functionality to switch currencies depending on the language. What custom code are you using?
I test if the GeoIP is working correctly? - I don't know what custom code you are using but I don't think it will work because currency switching based on language will override currency switching based on location
read this please - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me
hello
The plugin does not have the functionality to switch currencies depending on the language. What custom code are you using?
I test if the GeoIP is working correctly? - I don't know what custom code you are using but I don't think it will work because currency switching based on language will override currency switching based on location
read this please - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me
Quote from Momentos on May 16, 2023, 21:50Hello Pablo, hope you can see the Issue that I have.
https://www.loom.com/share/9a7e654f3c0e40fd8e4ebf5d22e0f052
Regards.
Hello Pablo, hope you can see the Issue that I have.
https://www.loom.com/share/9a7e654f3c0e40fd8e4ebf5d22e0f052
Regards.
Quote from Pablo Borysenco on May 17, 2023, 09:41Hello
My plugin doesn't switch currency based on language or delivery country. Did you use custom code?
Please drop me screenshots of the plugin settings
Hello
My plugin doesn't switch currency based on language or delivery country. Did you use custom code?
Please drop me screenshots of the plugin settings
Quote from Momentos on May 17, 2023, 18:09This is the code, we used:
add_filter('wp_head', function() {
$lang = isset($_SERVER['HTTP_X_GT_LANG']) ? $_SERVER['HTTP_X_GT_LANG'] : '';
global $WOOCS;
switch ($lang)
{
case 'en':
$WOOCS->set_currency('USD');
break;
case 'en_US':
$WOOCS->set_currency('USD');
break;
case 'es_MX':
$WOOCS->set_currency('MXN');
break;
case 'es':
$WOOCS->set_currency('MXN');
break;
default:
$WOOCS->set_currency('MXN');
break;
}
});About the screenshot, I film another video showing all of them:
https://www.loom.com/share/1934102cfcf94881af4fa1633aa6d1fd
This is the code, we used:
add_filter('wp_head', function() {
$lang = isset($_SERVER['HTTP_X_GT_LANG']) ? $_SERVER['HTTP_X_GT_LANG'] : '';
global $WOOCS;
switch ($lang)
{
case 'en':
$WOOCS->set_currency('USD');
break;
case 'en_US':
$WOOCS->set_currency('USD');
break;
case 'es_MX':
$WOOCS->set_currency('MXN');
break;
case 'es':
$WOOCS->set_currency('MXN');
break;
default:
$WOOCS->set_currency('MXN');
break;
}
});
About the screenshot, I film another video showing all of them:
Quote from Pablo Borysenco on May 18, 2023, 10:22Hello
Ok! This custom code renders these settings useless - https://c2n.me/4ixUHbx.png and https://share.pluginus.net/image/i20230518112039.png
To remove this conflict you should delete this custom code
Hello
Ok! This custom code renders these settings useless - https://c2n.me/4ixUHbx.png and https://share.pluginus.net/image/i20230518112039.png
To remove this conflict you should delete this custom code