If you would like to display only the β€œBooking with Payment” option on the checkout page then WP Travel plugin includes the feature that allows you to display the Booking with payment option on the checkout page using a filter code.

before display booking with payment option only

To display the Booking with payment option on the checkout page, you have to add the following given filter code in the functions.php file of your child theme.

function wp_travel_customize_booking_option($fields){
$fields['payment_fields']['booking_option']['options'] = array('booking_with_payment' => 'Booking with payment'	);	
	return $fields;
}
add_filter( 'wp_travel_checkout_fields', 'wp_travel_customize_booking_option' );

For detail information regarding how to create a child theme, please refer to our Knowledgebase.

Frontend:

after display booking with payment option only

With the release of WP Travel 4.3.0 and WP Travel Pro (3.1.1) version, we have added the option to choose from β€œBooking Only”, β€œBooking With Payment” Or choose both.

Learn more at: Setting of Booking option in the checkout page.

Conclusion

Check WP Travel documentation to learn more about configurations, modules, payments, and shortcodes.

Your feedback helps us improve. Feel free to share your thoughts!

Need assistance? Contact our support team, join our Facebook community, and subscribe to our YouTube Channel for video tutorials.

You can also find us on Facebook, Instagram, LinkedIn, TikTok, and X. Thank you for choosing WP Travel.

If you are a WP Travel Free user thinking about upgrading to Pro, simply click on the banner below.

Get WP Travel Pro