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 topThe table below contains the location and a description of common templates Bookings uses. The location is relative to the /woocommerce-bookings/templates/ directory.
| Location | Description |
|---|---|
| /booking-form/date-picker.php | The template for displaying the booking form and calendar without time to customers. |
| /booking-form/datetime-picker.php | The template for displaying the booking form and calendar with time blocks to customers. |
| /booking-form/hidden.php | The template used for hidden fields in the booking form. |
| /booking-form/month-picker.php | The template used for the month picker on the booking form. |
| /booking-form/number.php | The template used for number fields in the booking form, such as persons or durations. |
| /booking-form/select.php | The template used for select fields in the booking form, such as resources. |
| /emails/admin-booking-cancelled.php | Admin booking cancelled email. |
| /emails/admin-new-booking.php | Admin new booking email. |
| /emails/customer-booking-cancelled.php | Customer booking cancelled email. |
| /emails/customer-booking-confirmed.php | Customer booking confirmed email. |
| /emails/customer-booking-notification.php | Customer booking notification email, HTML. |
| /emails/customer-booking-reminder.php | Customer booking reminder email. |
| /emails/customer-booking-pending-confirmation.php | Customer booking pending confirmation email, HTML. |
| /emails/plain/admin-booking-cancelled.php | Admin booking cancelled email, plain text. |
| /emails/plain/admin-new-booking.php | Admin new booking email, plain text. |
| /emails/plain/customer-booking-cancelled.php | Customer booking cancelled email, plain text. |
| /emails/plain/customer-booking-confirmed.php | Customer booking confirmed email, plain text. |
| /emails/plain/customer-booking-notification.php | Customer booking notification email, plain text. |
| /emails/plain/customer-booking-reminder.php | Customer booking reminder email, plain text. |
| /emails/plain/customer-booking-pending-confirmation.php | Customer booking pending confirmation email, plain text. |
| /myaccount/bookings.php | Shows customer bookings on the My Account > Bookings page. |
| /order/admin/booking-display.php | The template for displaying a booking summary when reviewing a customer order. |
| /order/booking-display.php | The 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.php | The 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/add-to-cart/booking.php | Booking 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.
Copy the template you want to change from wp-content/plugins/woocommerce-bookings/templates/ to your active child theme’s woocommerce-bookings directory. Keep the same path after templates/.
For example, to override the booking summary list, copy wp-content/plugins/woocommerce-bookings/templates/order/booking-summary-list.php to wp-content/themes/your-child-theme/woocommerce-bookings/order/booking-summary-list.php.
To override the My Account bookings template, copy wp-content/plugins/woocommerce-bookings/templates/myaccount/bookings.php to wp-content/themes/your-child-theme/woocommerce-bookings/myaccount/bookings.php.
After adding an override, test the affected booking page or email to confirm the change appears. If it doesn’t, check that the file is in your active child theme and that its path matches the plugin template path after templates/.
Questions and support
↑ Back to topSomething missing from this documentation? Still have questions and need assistance?
- If you have a question about a specific extension or theme you’d like to purchase, contact us to get answers.
- If you already purchased this product and need some assistance, get in touch with a Happiness Engineer via our support page and select this product’s name from the Product dropdown.