WOOCS - WooCommerce Currency Switcher

Book Your Travel – Online Booking WordPress Theme

Theme URL: https://themeforest.net/item/book-your-travel-online-booking-wordpress-theme/5632266

To file wp-content\themes\BookYourTravel\includes\post_types\class-car-rental-helper.php add next code:

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'];
            $booking_object->total_car_rental_price = $booking_object->total_car_rental_price / $rate;
            $booking_object->total_extra_items_price = $booking_object->total_extra_items_price / $rate;
            $booking_object->total_price = $booking_object->total_price / $rate;
            $booking_object->cart_price = $booking_object->cart_price / $rate;
        }
    }
}