WooCommerce Bookings Dropdown

Description

Swaps the WooCommerce Bookings datepicker calendar for a dropdown list of available dates, with support for resources included.

Note: at present the plugin only supports Date Range ranges of availability (duration_type) I would love to spend more time developing it including adding more range types etc, but my life as a freelance developer is a busy one. If you need this plugin or any of my plugins to do something they don’t right now, including the above, then please reach out to me through my website Webby Scots.com and I will give you a discounted rate on the proviso the change can be released in the public version.

FAQ

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/woo-bookings-dropdown directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Now your single product pages will show available dates in a dropdown not a datepicker

Reviews

Nice.

Opens up a whole lot of WooCommerce Bookings use cases easily. I like it.

Read all 2 reviews

Contributors & Developers

“WooCommerce Bookings Dropdown” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release

1.0.1

  • Changes code to match new structure of availability_rules from WooCommerce Bookings
  • Bugfix: causing dropdown to be incorrectly empty

1.0.2

  • Bump version number due to svn rebase error

1.0.3

  • Bugfix inadvertent output bug

1.0.4

  • Makes previous fix from 1.0.1-1.0.3 backwards compatible

1.0.5

  • Bugfix: dropdown now shows all days in each range
  • Bugfix: fully booked days no longer show in dropdown

1.0.6

  • As dropdown only works with date range based availability, make default calendar show on products with other range types
  • Changes date format for user view to more readable format (avoiding regional ponderings)
  • Adds string internationalization including dates

1.0.7

  • Bugfix: Dates in the past no longer included in the dropdown

1.0.8

  • Improvement – prevents global availability ranges from forcing calendar to show if product has available dates itself
  • Bugfix – like version 1.0.5 made multiple days show, this one will make multiple years and months in ranges show also

1.0.9

  • Fix remove bool(false) bool(false) from output with apologies

1.1.0

  • Line 109 of 1.0.9 (wow eerie 🙂 ) triggers syntax error in older PHP verions that can’t handle function returns_array()[array_key] syntax