Hello,
You can add this code to your functions.php file :
add_filter('easy_booking_fragments', 'easy_booking_custom_price_fragment', 10, 1);
function easy_booking_custom_price_fragment( $fragments ) {
$product_id = isset( $_POST['product_id'] ) ? absint( $_POST['product_id'] ) : '';
$variation_id = isset( $_POST['variation_id'] ) ? absint( $_POST['variation_id'] ) : '';
$id = empty( $variation_id ) ? $product_id : $variation_id;
$booking_session = WC()->session->get( 'booking' );
$new_price = $booking_session[$id]['new_price']; // New booking price
$args = apply_filters( 'easy_booking_new_price_args', array() );
$duration = $booking_session[$id]['duration'];
$fragments['span.price'] = '<span class="price">This is an approximate price for ' . $duration . ' days: ' . wc_price( $new_price, $args ) . '</span>';
return $fragments;
}
Just change the text as you want.