WooCommerce Bookings Pages and Emails Customization

WooCommerce Bookings template files contain the markup and template structure for Bookings-related pages and HTML emails for 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 working with code and resolving potential conflicts, we recommend you work with a Woo Agency Partner for larger projects, or find a WooCommerce developer on Codeable for smaller customizations. We are unable to provide support for customizations under our Support Policy.

Template List

↑ Back to top

The table 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.

Do not edit these files within the Bookings extension, as they will be overwritten when the extension is updated and your customizations will be lost. For more detailed information, see Fixing Outdated WooCommerce Templates.

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

To edit these files so they are upgrade safe, place them in the directory: /wp-content/themes/your_theme_folder/woocommerce-bookings/

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

To override the bookings.php file in the myaccount directory, you would place your updated template file in:  /wp-content/themes/your_theme_folder/woocommerce-bookings/myaccount/bookings.php

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

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.