Content of the page

WooCommerce Bookings (by WooCommerce)


Content of the article

Plugin URL: https://woocommerce.com/products/woocommerce-bookings/

//In file \plugins\woocommerce-bookings\includes\admin\class-wc-bookings-ajax.php  add next code
if (class_exists('WOOCS')) {
    global $WOOCS;
    if ($WOOCS->is_multiple_allowed) {
        $display_price = $WOOCS->woocs_exchange_value(floatval($display_price));
    }
}

//In file  \plugins\woocommerce-bookings\includes\data-objects\class-wc-product-booking.php add next code
if (class_exists('WOOCS')) {
    global $WOOCS;
    if ($WOOCS->is_multiple_allowed) {
        $display_price = $WOOCS->woocs_exchange_value(floatval($display_price));
    }
}

//and change code as on the screen #3

 

Faster WordPress HostingWPBE - WordPress Posts Bulk Editor Professional