Product Icon

WooCommerce Bookings

Allow customers to book appointments, make reservations, or rent equipment without leaving your site.

How to set date auto fill today in Product WooCommerce Booking

Hi all,
i want setup date field auto-filling or auto-selecting the date for the Booking in product woocommerce bookings for today. so without input manual in produk. i want There is built-in way to “default” the date, whether for “today” or some other date.

i hope u understand.

Thank You

Author

Current Status

Completed

Last updated: May 19, 2026

1 comment

Log in to comment on this feature request.

  1. Jason Kytros says:
    Product developer May 19, 2026 1:05 pm

    Hi there,

    Thanks for the suggestion — this is already possible via a filter in WooCommerce Bookings: woocommerce_bookings_override_form_default_date. Returning a Unix timestamp from this filter overrides the default date displayed in the booking form.

    Sample snippet to default to today:

    add_filter( ‘woocommerce_bookings_override_form_default_date’, function( $default_date, $picker ) {
    return current_time( ‘timestamp’ );
    }, 10, 2 );

    Marking this one as completed. Thanks again!

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.