Product Icon

WooCommerce Bookings

WooCommerce Bookings is the official WooCommerce extension that lets store owners sell appointments, reservations, rentals, or classes with bookable time or date slots. It supports fixed time slots or flexible ranges, group and individual pricing, and resources — staff, rooms, or equipment — each with its own availability to prevent double-booking. It syncs with Google Calendar and works with any WooCommerce payment gateway. It's a paid annual extension with a 30-day money-back guarantee.

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

Anonymous

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.