PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

How can I change currency in checkout?

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 please
If 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.

Hi,

if a user surf from Switzerland (CH) read correctly the CHF currency. But if a User decide to buy items when it is in another country (ex. London) I want to change currency based on its shipping address.

How can I change currency based on shipping address in checkout?

I use fixed prices.

Hello

Please  read  this -  https://currency-switcher.com/possible-delivery-country-change-currency/

This change show correct currency when I enter in page but it doesn't change currency on country update (I have also installed w3 total cache end enabled the option in your plugin)

See this:

https://a.uguu.se/Td4ClOqecmg3.mov

Hello

Your  link - https://c2n.me/46IQvTm.png

Sorry.

See video in checkout here 

Hello

It looks like the product area is not redrawing. Drop  me  exact  link  yo the  issue

https://collinimilano.com

Use this country (have all fixed price, without exchange rate).

I have installed:
W3 Total Cache
but also disabled the problem is the same.

If you need other info ask me.

Hello

Ok!  Unfortunately, I can’t determine the cause.

You need to use another custom code. We do not have a ready-made solution.

Ok,

can you suggest me something to invoke your events?

Hello

Try  to  use  this  code

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);
$_GET['currency']=$_currency;
}
}, 9999);

Seems to be working well.

Awesome!

Hello

Welcome;)