Add Booking End Date By Duration Unit in WooCommerce Bookings

$75.00
Tested & Works

This code adds the end date to some of the places where it’s not added by default when using the WooCommerce Bookings plugin by Automattic. By default, the end date for duration units is not included on the :

  • Cart & checkout pages
  • Order emails for admin & customer
  • Order confirmation/received page

This code adds the end duration unit to the :

  • Order emails for admin & customer
  • Order confirmation/received page

To add the end duration unit to other places : Use this solution to add the end duration unit to the cart & checkout pages and this solution to add the end duration unit to the block picker duration unit blocks.

You can easily modify the Booking Date and Time Period text.

Demo Video

  • Shows the product after checkout on the order received page with the date, start date ( time duration unit ) and end date ( time duration unit ).
  • Also shows the same meta data added to the admin and customer order emails as seen in the above gallery images.

Installation

There’s 2 steps:

  1. Copy and paste the PHP code from functions.php to the end of your child themes functions file or custom PHP code snippets plugin.
  2. Upload the folder named woocommerce-bookings to your child theme folder.

These solutions may also help :