WP Travel plugin provides a feature regarding different email templates whereas WP Travel Pro also provides different email templates like Invoice Email Template, Partial Payment Email Template, and Remaining Partial Payment Reminders. You can modify the default email template according to your choice as WP Travel plugin provides the modifying feature.

The Booking Email is one of the emails that is sent to the client and the admin when the client books a trip. So, if you are willing to add the total price of the trip to the booking email then WP Travel plugin provides the feature regarding adding the total price of the trip to the booking email.

To add the total price of the trip to the booking email, please add the following given code in the functions.php file of your child them

add_filter( 'wp_travel_admin_booking_email_tags', 'wp_travel_added_total_price_booking_mail', 10, 2 );
function wp_travel_added_total_price_booking_mail( $email_tags, $booking_id ) {
  $payment_details = wptravel_booking_data( $booking_id );
  $total_price = isset( $payment_details['total'] ) ? $payment_details['total'] : 0;
  $email_tags['{trip_price}'] = wptravel_get_currency_symbol() . $total_price;
  return $email_tags;

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

And, then add the email tag {trip_price} to the booking email template.

The visual form of added email tag

After adding the code and the email tag the total price of the trip will be displayed in the respective booking email.

To explore more about the email feature, please once refer to our official documentation.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Further, if you have any queries/confusions then please submit them to our Contact page.

create your travel site within minutes by wptravel.io ,buy wptravel pro