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
Completed
Last updated: May 19, 2026
Log in to comment on this feature request.
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!