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

UNI CPO (free version) Can’t switch currency

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see blue-green button on the right side) and press Save button.
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 use the Uni CPO plugin
https://tw.wordpress.org/plugins/uni-woo-custom-product-options/

switching currencies before can work normally,
But now the switching currency prices are the same
https://100percenau.com/product/%E8%A8%97%E9%81%8B%E8%A1%8C%E6%9D%8E/

And the checkout price in Taiwan dollar will only display NT204 regardless of the weight.
https://prnt.sc/1qryibq

Thanks.

Hello

Please  read  this - https://currency-switcher.com/woocs-labs/

If you don't find a solution. You can create an adaptation request.

add  wp-admin+FTP access  to your test  site - https://share.stackovergo.com/image/i20210618130558.png -> https://share.stackovergo.com/image/i20210618130637.png

I will add this plugin to the adaptation queue

Hello,

Wp-admin+FTP added

Thanks for the help!!

Ok! I added this plugin to the adaptation queue

I will write to you as soon as we get the result

 

Hello!

What is the current progress?

Thanks.

Hello

This Friday we will do it

Hello

Please  disable  this  plugin - https://c2n.me/4drLTQk.png

I added    code  to  functions.php

add_filter('uni_cpo_in_cart_calculated_price', function($price_calculated, $product, $filtered_form_data ){
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$currrent = $WOOCS->current_currency;
if ($currrent != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$rate = $currencies[$currrent]['rate'];
$price_calculated = $price_calculated / $rate;
}
}
}

return $price_calculated;
},99,3);

add_filter('uni_cpo_nov_variable_value', function($price,$product_data,$variables,$nov){
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$price = $WOOCS->woocs_exchange_value(floatval($price));
}
}
return $price;
},99, 4);

 

Please  do a  test - https://c2n.me/4drLWUw.png  And  https://c2n.me/4drLY2O.png

Hello, thank you for your help!

but the plugin Advanced Dynamic Pricing for WooCommerce  is a must and cannot be disabled......

Hello

Ok!  You can  create  the  new  adaptation request

Hello,

Does it mean that you can help me solve this problem?

Thanks.

Hello

Yes, we will try.  I'll add this to the adaptation queue. Our developer will check it