WOOCS - WooCommerce Para Birimi Değiştirici


Seyahatinizi Ayırın – Online Rezervasyon WordPress Teması

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

Dosyalamak wp-content\themes\BookYourTravel\include\post_types\class-car-rental-helper.php sonraki kodu ekle:

if (class_exists('WOOCS')) { global $WOOCS; if ($WOOCS->is_multiple_allowed) { $carrrent = $WOOCS->current_currency; if ($carrrent != $WOOCS->default_currency) { $currencies = $WOOCS->get_currencies(); $oran = $para birimleri[$carrrent]['oran']; $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 / $oran; $booking_object->total_price = $booking_object->toplam_fiyat / $oran; $booking_object->cart_price = $booking_object->cart_price / $oran; } } }