1. Documentation /
  2. Introduction to WooCommerce Bookings /
  3. WooCommerce Bookings Pages and Emails Customization

WooCommerce Bookings Pages and Emails Customization

WooCommerce Bookings template files contain the markup and template structure for Bookings related pages and HTML emails in your store.

Template files can be found within the /woocommerce-bookings/templates/ directory of the Bookings extension, and can be overridden just like WooCommerce core template files.

Note: This is a Developer level doc. If you are unfamiliar with code/templates and resolving potential conflicts, select a WooExpert or Developer for assistance. We are unable to provide support for customizations under our Support Policy.

Template List

↑ Back to top

The listing below contains the location and a description of each template Bookings uses. The location is relative to the /woocommerce-bookings/templates/ directory.

LocationDescription
/booking-form/date-picker.phpThe template for displaying the booking form and calendar without time to customers.
/booking-form/datetime-picker.phpThe template for displaying the booking form and calendar with time blocks to customers.
/booking-form/hidden.phpThe template used for hidden fields in the booking form.
/booking-form/month-picker.phpThe template used for the month picker on the booking form.
/booking-form/number.phpThe template used for number fields in the booking form, such as persons or durations.
/booking-form/select.phpThe template used for select fields in the booking form, such as resources.
/emails/admin-booking-cancelled.phpAdmin booking cancelled email.
/emails/admin-new-booking.phpAdmin new booking email.
/emails/customer-booking-cancelled.phpCustomer booking cancelled email.
/emails/customer-booking-confirmed.phpCustomer booking confirmed email.
/emails/customer-booking-notification.phpCustomer booking notification email, plain text.
/emails/customer-booking-reminder.phpCustomer booking reminder email.
/emails/plain/admin-booking-cancelled.phpAdmin booking cancelled email, plain text.
/emails/plain/admin-new-booking.phpAdmin new booking email, plain text.
/emails/plain/customer-booking-cancelled.phpCustomer booking cancelled email, plain text.
/emails/plain/customer-booking-confirmed.phpCustomer booking confirmed email, plain text.
/emails/plain/customer-booking-notification.phpCustomer booking notification email, plain text.
/emails/plain/customer-booking-reminder.phpCustomer booking reminder email, plain text.
/myaccount/bookings.phpShows customer bookings on the My Account > Bookings page.
/order/admin/booking-display.phpThe template for displaying a booking summary when reviewing a customer order.
/order/booking-display.phpThe template for displaying a booking summary to customers. Displays in three places: after checkout, in the order confirmation email, and when customer reviews order in My Account > Orders.
/order/booking-summary-list.phpThe template for displaying the list of bookings in the summary for customers. It is used in two other templates /order/booking-display.php and /order/admin/booking-display.php, and it will display where they do.
/single-product/booking.phpBooking product add to cart form.

You can edit these files in an upgrade-safe way using overrides. Copy it into a directory within your theme named /woocommerce-bookings, keeping the same file structure but removing the /templates/ subdirectory.

Example: To override the bookings summary list,
copy: wp-content/plugins/woocommerce-bookings/templates/order/bookings-summary-list.php
to wp-content/themes/yourtheme/woocommerce-bookings/order/booking-summary-list.php

The copied file will now override the WooCommerce Bookings default template file.

Do not edit these files within the Bookings extension as they are overwritten during the upgrade process and any customizations will be lost. For more detailed information, see Fixing Outdated WooCommerce Templates.