
Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 27, 2020, 11:15
Hello Manhua
Unfortunately this plugin is not popular.
I will pass this to the developers, they will check the appropriateness of adapting this third party plugin
Hello Manhua
Unfortunately this plugin is not popular.
I will pass this to the developers, they will check the appropriateness of adapting this third party plugin

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on December 3, 2020, 17:54
Hello
Try in file - "\wp-content\plugins\woocommerce-currency-switcher\classes\woocs_after_33.php" - add code - https://c2n.me/49Zh45L.png
if(function_exists('mwb_upsell_change_product_price')){
$product = mwb_upsell_change_product_price( $product);
}
And in file - "\wp-content\plugins\woocommerce-one-click-upsell-funnel-pro\includes\class-woocommerce_one_click_upsell_funnel_pro-global_functions.php" - add code - https://c2n.me/49ZheW7.png
if (class_exists('WOOCS'))
{
global $WOOCS;
$currency=$WOOCS->current_currency;
if($currency!=$WOOCS->default_currency){
$currencies=$WOOCS->get_currencies();
$payable_price=$WOOCS->back_convert($payable_price,$currencies[$currency]['rate']);
$sale_price=$WOOCS->back_convert($sale_price,$currencies[$currency]['rate']);
$regular_price=$WOOCS->back_convert($regular_price,$currencies[$currency]['rate']);
}
}
and do a test
Hello
Try in file -"\wp-content\plugins\woocommerce-currency-switcher\classes\woocs_after_33.php" - add code - https://c2n.me/49Zh45L.png
if(function_exists('mwb_upsell_change_product_price')){
$product = mwb_upsell_change_product_price( $product);
}
And in file -"\wp-content\plugins\woocommerce-one-click-upsell-funnel-pro\includes\class-woocommerce_one_click_upsell_funnel_pro-global_functions.php" - add code - https://c2n.me/49ZheW7.png
if (class_exists('WOOCS'))
{
global $WOOCS;
$currency=$WOOCS->current_currency;
if($currency!=$WOOCS->default_currency){
$currencies=$WOOCS->get_currencies();
$payable_price=$WOOCS->back_convert($payable_price,$currencies[$currency]['rate']);
$sale_price=$WOOCS->back_convert($sale_price,$currencies[$currency]['rate']);
$regular_price=$WOOCS->back_convert($regular_price,$currencies[$currency]['rate']);
}
}
and do a test

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on December 16, 2020, 12:37
Hello Manhua
Ok! Welcome;)
Hello Manhua
Ok! Welcome;)