WP Manifestindependent plugin directory
manifest / ecommerce / hide-todays-booking-date

Hide Today's Booking Date After Cutoff

A mini extension for WooCommerce Bookings that hides today's date from the calendar after a specified hour (e.g. 14:00), based on your site's timezone. Prevents same-day bookings after cutoff time.

★ 0stars
0.0.1latest · 1 year ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/shameemreza/hide-todays-booking-date/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Booking Cutoff for WooCommerce Bookings

This mini plugin disables same-day bookings after a specific cutoff time in WooCommerce Bookings.

What It Does

Once the current time passes the defined cutoff hour (e.g. 14:00), today's date will be blocked from selection on the booking calendar.

How It Works

The plugin uses JavaScript to hide today’s date on the calendar UI if the current time (based on WordPress timezone) is equal to or later than the set cutoff hour.

Setup

  1. Upload the plugin ZIP in Plugins → Add New → Upload Plugin.
  2. Activate the plugin.
  3. By default, the cutoff is set to 14 (2 PM). You can edit this in booking-cutoff.js inside the plugin’s assets folder: const cutoffHour = 14;

Notes

  • This works for Bookable Products using the Date Picker only.
  • Make sure your WordPress timezone is set correctly under Settings → General.
  • Caching may affect script visibility, test in a private/incognito window.

Support

This is a custom solution provided as-is. For advanced changes, I recommend hiring a developer or WooExpert.

Releases

1 release.

Tag
Published
0.0.1 latest
Apr 30, 2025 1 year ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.