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

[WOOCS LABS] Is multiple allowed / Three kinds of error

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.
12

Hello

In  file - \plugins\woo-tour\inc\functions.php - add  code - https://c2n.me/46E70AK.png

if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$price = $WOOCS->woocs_exchange_value(floatval($price));
}

}

 

in file  - plugins\woo-tour\inc\class-woo-booking.php - add  code - https://c2n.me/46E7aND.png

}else if(class_exists('WOOCS')){

global $WOOCS;
$currency = $WOOCS->current_currency;
if ($WOOCS->is_multiple_allowed) {
$currencies = $WOOCS->get_currencies();
$def_curr= $WOOCS->default_currency;
if($cart_object->cart_contents[$key]['_crc_when_book']!=$def_curr ){
$conversion_rate = $currencies[$cart_object->cart_contents[$key]['_crc_when_book']]['rate'];
$pr_b = $pr_b / $conversion_rate;
$cart_object->cart_contents[$key]['_crc_when_book'] = $def_curr;
}
}

};

 

And - https://c2n.me/46E7e10.png

}else if(class_exists('WOOCS')){
global $WOOCS;
$currency = $WOOCS->current_currency;
$cart_object->cart_contents[$key]['_crc_when_book'] = $currency;
}

 

Please  do  test

Good morning, Pablo! Thank you for your update :D

When I tested it, everything works fine without problems.

Also, I solved the problem with the error code. It was a decimal setting problem of the currency... haha

Thank you again for all your support. Have a nice weekend!!

Hello

Welcome;)

Hello,

I hope you are doing well. I got the same problem as below. Please advise me on how to fix it.

https://www.koreaetour.com/wp-content/uploads/2018/03/Currency-Switcher-1.png

Hello

Please describe the problem in more detail. I can not determine the bug from the screenshot

Hi, Thanks for your reply. The price for ticket is

₩18,807(It is already changed currency from USD to KRW). But when the tax is included, the price changes again(USD to KRW).

₩23,357,755 (18,807 * 1,241)

 

I hope this information makes you understand.

 

Looking forward to hearing from you

Hello

Ok!  I will  check it

Hello

Please  do test

Hi. Pablo

Thanks. It works now  :)

Hello

Welcome;)

12