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

Customer changing billing 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 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.

Hello,

I have an issue. When a customer changes billing country on the checkout page the currency is not changed.

So for example.

I have an customer in Sweden who pays 500 SEK for a product, and when he changed his billing country to Germany. It takes the EURO Price but does not change the currency, so it's in SEK

Billing Country: Sweden (Correct Price)
https://prnt.sc/f58oJYOO4xoy

Billing Country: Germany (Using prince in euro but SEK Currency)
https://prnt.sc/dxCe1GAm2Aft

When i refresh the site, after changing billing country the price is changed to the correct currency.

What is the issue here? i tried disabling all other plugins to see if there was an plugin incomptiable with FOX but nothing works.

I have tried this aswell:
https://currency-switcher.com/possible-delivery-country-change-currency

Solved it by changing it to : $_currency = $WOOCS->get_currency_by_country($data['billing_country']);

My question is now, how do i make it so it's both Billing_Country and Shipping_Country?

Because if the customer tries to ship to a different address, the same issue happens.

Hello

In this case you need code customization

for example, check that these variables have the same data

if ($data['billing_country']  ===  $data['shipping_country'] )

and if they are not the same, use a variable that is more suitable for your business logic