Currency change based on delivery country
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 Kathir on October 12, 2023, 09:17Hi,
I recenty bought your plugin. I would like to display the currency based on the delivery country selected. For eg if I select India as shipping country then inr should be shown, if I select USA then USD should be shown. I followed the instructions mentioned in the below link but it's not working. Can you help me out please
https://currency-switcher.com/possible-delivery-country-change-currency
Hi,
I recenty bought your plugin. I would like to display the currency based on the delivery country selected. For eg if I select India as shipping country then inr should be shown, if I select USA then USD should be shown. I followed the instructions mentioned in the below link but it's not working. Can you help me out please
https://currency-switcher.com/possible-delivery-country-change-currency
Quote from Pablo Borysenco on October 12, 2023, 10:02Hello
Please give me the code you are using?
Hello
Please give me the code you are using?
Quote from Kathir on October 12, 2023, 11:02add_action('woocommerce_checkout_update_order_review', function($data) { global $WOOCS; if (is_string($data)) { parse_str($data, $data); } //*** $_currency = $WOOCS->get_currency_by_country($data['shipping_country']); if (!empty($_currency)) { $WOOCS->set_currency($_currency); } }, 9999);
add_action('woocommerce_checkout_update_order_review', function($data) { global $WOOCS; if (is_string($data)) { parse_str($data, $data); } //*** $_currency = $WOOCS->get_currency_by_country($data['shipping_country']); if (!empty($_currency)) { $WOOCS->set_currency($_currency); } }, 9999);
Quote from Pablo Borysenco on October 12, 2023, 12:29Ok! Please use billing_country instead of shipping_country
Ok! Please use billing_country instead of shipping_country
Quote from Kathir on October 12, 2023, 16:14thanks a lot, Now its working perfectly. But to select payment gateway based on currency sir ?
thanks a lot, Now its working perfectly. But to select payment gateway based on currency sir ?
Quote from Kathir on October 13, 2023, 03:00Hi,
I have set base / welcome currency as INR, but for some reason it's showing USD for all my users. Can you please help me change it ?
Hi,
I have set base / welcome currency as INR, but for some reason it's showing USD for all my users. Can you please help me change it ?
Quote from Pablo Borysenco on October 13, 2023, 10:34Hello
But to select payment gateway based on currency sir ? - Please check option - https://share.pluginus.net/image/i20231013113209.png
but for some reason it's showing USD for all my users. - Check option - https://share.pluginus.net/image/i20231013113322.png
use different devices for testing
Hello
But to select payment gateway based on currency sir ? - Please check option - https://share.pluginus.net/image/i20231013113209.png
but for some reason it's showing USD for all my users. - Check option - https://share.pluginus.net/image/i20231013113322.png
use different devices for testing
Quote from Kathir on October 13, 2023, 11:10Thanks, payment gateway is working perfectly.
But still I have issues with base / welcome currency. Can you please login and check if there is any issue ?
Thanks, payment gateway is working perfectly.
But still I have issues with base / welcome currency. Can you please login and check if there is any issue ?
Quote from Pablo Borysenco on October 13, 2023, 13:46Hello
I checked everything works correctly ( I used countries that you don't have in GeoIP )- https://share.pluginus.net/video/v20231013144602.mp4
Hello
I checked everything works correctly ( I used countries that you don't have in GeoIP )- https://share.pluginus.net/video/v20231013144602.mp4
Quote from Kathir on October 13, 2023, 16:44When i try, irrespective of the location its showing USD for everyone and there were many complaints. So currently I have changed to Side switcher so that users can select the currency that they want.
I think the issue is because of caching or cloudflare, when your free can you please check again ? s
When i try, irrespective of the location its showing USD for everyone and there were many complaints. So currently I have changed to Side switcher so that users can select the currency that they want.
I think the issue is because of caching or cloudflare, when your free can you please check again ? s
Quote from Kathir on October 13, 2023, 16:56Is it possible to display the price in INR and only during the time of checkout based on the shipping country it should change the currency?
add_action('woocommerce_checkout_update_order_review', function($data) {
global $WOOCS;if (is_string($data)) {
parse_str($data, $data);
}
//***
$_currency = $WOOCS->get_currency_by_country($data['billing_country']);
if (!empty($_currency)) {
$WOOCS->set_currency($_currency);
}
}, 9999);
I tried this code but still many are complaining that the pricing is in USD
Is it possible to display the price in INR and only during the time of checkout based on the shipping country it should change the currency?
add_action('woocommerce_checkout_update_order_review', function($data) {
global $WOOCS;
if (is_string($data)) {
parse_str($data, $data);
}
//***
$_currency = $WOOCS->get_currency_by_country($data['billing_country']);
if (!empty($_currency)) {
$WOOCS->set_currency($_currency);
}
}, 9999);
I tried this code but still many are complaining that the pricing is in USD
Quote from Kathir on October 13, 2023, 17:00https://ibb.co/Fw3yMKf
https://ibb.co/FJQBHTR
https://ibb.co/6nMF9M5
As you can see, even though my default currency is inr its showing as Singapore dollars
As you can see, even though my default currency is inr its showing as Singapore dollars
Quote from Pablo Borysenco on October 16, 2023, 11:18Hello
Please check options - https://share.pluginus.net/image/i20231016121053.png and https://share.pluginus.net/image/i20231016121137.png
Read this - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me
Hello
Please check options - https://share.pluginus.net/image/i20231016121053.png and https://share.pluginus.net/image/i20231016121137.png
Read this - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me