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

Currency switcher is not working with shipping

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,

My client site's shipping is not working properly when I switch currency.

We have New Zealand shipping set for NZD 5 and Australian for AUD10

When you switch it doesn't get updated. this is in both cart and checkout.

The checkout page has a bug after adding the below code, you need to pick both billing and shipping countries the same.

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);

 

Please help. I have purchased this plugin. I can share the details.
Also, I have a staging site for this, I can share the login credentials.

How do I safely share?

Thanks in advance

Shiran

Hello Shiran

Please paste your license key here - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130614.png and  wp-admin access - https://share.pluginus.net/image/i20210618130637.png

We have New Zealand shipping set for NZD 5 and Australian for AUD10 - Do you  use  a fixed prices?

The checkout page has a bug after adding the below code, you need to pick both billing and shipping countries the same. - Yes! This is just a sample code. If you want to expand the functionality, you should hire a developer