Pablo Borysenco(@pavlo_borysenco)
29,381 Posts
Quote from Pablo Borysenco on March 26, 2020, 21:20
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
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
Pablo Borysenco(@pavlo_borysenco)
29,381 Posts
Quote from Pablo Borysenco on March 27, 2020, 12:15
Hello
Welcome;)
Hello
Welcome;)
Pablo Borysenco(@pavlo_borysenco)
29,381 Posts
Quote from Pablo Borysenco on April 13, 2020, 11:33
Hello
Please describe the problem in more detail. I can not determine the bug from the screenshot
Hello
Please describe the problem in more detail. I can not determine the bug from the screenshot
Pablo Borysenco(@pavlo_borysenco)
29,381 Posts
Quote from Pablo Borysenco on April 14, 2020, 11:39
Hello
Ok! I will check it
Hello
Ok! I will check it
Pablo Borysenco(@pavlo_borysenco)
29,381 Posts
Quote from Pablo Borysenco on April 16, 2020, 16:47
Hello
Please do test
Hello
Please do test
Pablo Borysenco(@pavlo_borysenco)
29,381 Posts
Quote from Pablo Borysenco on April 17, 2020, 11:35
Hello
Welcome;)
Hello
Welcome;)