Hotel Booking for WooCommerce

Changelog

1.1.18

  • Fix: Availability notices now use clearer wording when requested rooms are limited or unavailable for the selected dates.
  • Fix: Multi-date availability messages in the rate list are now shown as cleaner separate lines for better readability.
  • Enhancement: Refined the front-end room information layout for improved spacing and wrapping.

1.1.17

  • Fix: Availability results now keep the correct cart item synced when the page is refreshed or revisited.
  • Fix: Related accommodation queries now return product IDs (not product objects), preventing object-to-int/float PHP warnings in WooCommerce block queries.
  • Fix: Accommodation quantity displays in the cart and cart block now use a clearer room/rooms label while keeping the fixed-quantity booking flow.
  • Enhancement: Added a mini-cart extension hook for booking meta output.
  • Enhancement: Refined the admin availability starter layout.

1.1.16

  • Feature: Added optional “Rooms” field to availability search and filter forms, controlled by a single WooCommerce > Hotel Booking setting.
  • Fix: Availability search – rooms count was not preserved in the filter form after a search (rooms always reset to 1).
  • Fix: Rate card capacity checks now correctly multiply per-room max adults/children limits by the number of requested rooms, so a group of 6 guests finds rooms that sleep 2 when 3 rooms are requested.
  • Fix: Admin Availability & Price – corrected date range results.
  • Security: Escaped output in booking add-on metabox column values (addon type and addon price).
  • Security: Replaced unescaped radio field output with wp_kses_post() in plugin settings.
  • Security: Sanitised $_GET date parameters in admin availability screen using absint() before passing to wp_date().
  • Security: Sanitised $_POST[‘product-type’] through sanitize_text_field() in product panel save.
  • Enhancement: All AJAX date inputs now cast through absint() to prevent type-juggling issues.
  • Enhancement: Added is_array() guard on $_GET[‘children_age’] before array_map to prevent type errors.
  • Enhancement: Add-on price in cart calculation is now re-fetched from post meta instead of trusting the session value, preventing price manipulation.
  • Enhancement: Added rel=”noopener noreferrer” to external links; fixed target=”blank” typo to target=”_blank”.
  • Enhancement: General code quality and hardening improvements.

1.1.15

  • Fix: Minor bug in admin js
  • Minor code improvements and optimizations

1.1.10

  • Enhancement: Improved item meta display in the cart and checkout for compatibility with the latest WooCommerce version.
  • New: Added an admin hook to allow registering additional submenus under existing HBFWC menu items.

1.1.0

  • New: Added Gutenberg blocks for Availability and Search Form as an alternative to shortcodes.
  • New: Added dedicated block category for Hotel Booking for WooCommerce in the block inserter.
  • Enhancement: Added server-side rendered block previews in the editor with shortcode-equivalent behavior.
  • Enhancement: Added block support for wrapper alignment controls.
  • Enhancement: Added editor-side styling support so block previews use plugin front-end styles.
  • Fix: Prevented interactive form actions inside editor previews while keeping block selection and sidebar settings accessible.
  • Compatibility: Kept existing shortcodes fully supported for backward compatibility.

1.0.45

  • Refactor: Improved availability date-range processing performance and input safety.
  • Fix: Corrected availability helper method naming with backward-compatible wrapper for Pro integrations.

1.0.44

  • Fix: price formating error.

1.0.43

  • Tested up to WooCommerce 10.5.3
  • Improve: Accessibility of the mini cart on mobile (availability shortcode)
  • Fix: Several JavaScript issues
  • Fix: Warning related to the product amenities tab
  • Fixed a typo in the constant name (PERCENT_BASE0 -> PERCENT_BASE)

1.0.42

  • Tested up to WordPress 6.9.1
  • Improved availability checks based on the current user cart
  • Improved rate plan availability on both search and single product pages
  • Moved accommodation information into its own product tab to keep the main content output clean

1.0.41

  • Fix bug where method names were being replaced unintentionally

1.0.40

  • Tested up to WooCommerce 10.4.3
  • Added an option to show or hide unavailable rooms in availability search results.
  • Improved calculation accuracy by using BCMath.
  • Fixed several JavaScript issues.
  • Improved custom add-on display in WooCommerce email templates.
  • Improved the notice shown when rooms are unavailable for multiple dates.

1.0.32

  • Bugfix: Fatal error on creating a new accommodation product. Thanks to @shameemreza | topic
  • Bugfix: Missing initial “Minimum stay” field when add new rate to the product.

1.0.31

  • Bugfix: Fix conditional check not working properly.

1.0.30

  • Tested up to WooCommerce 10.4.2
  • Enhancement: Moved “Minimum stay” option into the rate plan to support minimum stay per rate in the PRO version.
  • Enhancement: Ensure tab navigation works correctly when popup appears.
  • Enhancement: Product panel for rate plans.
  • Deprecated: get_minimum_stays method.

1.0.20

  • Tested up to WordPress 6.9
  • Tested up to WooCommerce 10.3.6
  • Bugfix: Removed the the_content filter from the rates description.
  • Bugfix: Fixed an issue where the mini cart displayed an incorrect subtotal for certain currency configurations.
  • Enhancement: When a product is set as Accommodation, ensure all stock options are configured correctly.

1.0.16

  • Bugfix: Fatal error on single room page.

1.0.15

  • Bugfix: Room data is wiped out after running Quick Edit.
  • Enhancement: Use wc_format_decimal for better consistency.

1.0.14

  • Bugfix: Price saving issue.
  • Bugfix: Booking addon issue in WC order creation (double brackets displayed in some installations).
  • Bugfix: Bulk availability update failure.
  • Bugfix: Booking mini cart now displays only accommodation products.
  • Enhancement: Set the default availability search to 1 night.

1.0.13

  • Bugfix: Corrected rate price saving on the availability page for values greater than a thousand
  • Enhancement: Remove unecesarry notices for PRO users.

1.0.12

  • Bugfix: Room can now be added to cart on availability page even when no addon is selected.

1.0.11

  • Dev: Added more action and filter hooks
  • Bugfix: Corrected rate price saving for values greater than a thousand

1.0.10

  • Tested up to WordPress 6.8.2.
  • Tested up to WooCommerce 10.1.0.
  • Bumped minimum PHP version to 8.0 for better performance and security.
  • Relocated settings to WooCommerce → Settings → Hotel Booking.
  • Enhancement: Refactored codebase for better maintainability.
  • Bugfix: Inconsistent booking data when customers booked from different time zones.
  • Bugfix: Ajax requests failed under heavy caching.

1.0.07

  • Bugfix: Add-on prices were not correctly formatted.

1.0.06

  • Tested up to WooCommerce 9.9.5
  • Enhancement – Improved calendar styling for unavailable dates
  • New – Booking add-on feature

1.0.03

  • Tested with WordPress 6.8.1
  • Tested with WooCommerce 9.9.4
  • Enhancement: Merged CSS files to reduce confusion.
  • Bugfix: Prevented double booking when using the WooCommerce checkout block.
  • Bugfix: Fixed room filtering issue when the selected number of children exceeds the room’s allowed limit.
  • Bugfix: Incorrect parameter used in related products filter.

1.0.02

  • Tested with WordPress 6.8
  • Tested with WooCommerce 9.8.1
  • Enhancement: Setting Max Children = 0 disables child selection on the single product page
  • Feature: Added configuration option to allow same-day bookings
  • Bugfix: Unavailable dates are now correctly greyed out and non-selectable in the date picker
  • Bugfix: Resolved issues with calendar localization/translation

1.0.01

  • Tested with WordPress 6.7.2
  • Tested with WooCommerce 9.7.1
  • Fix: The date string is now translatable.

1.0.0

  • Initial release.

Plugin Website
Visit website

Author
Uptonines
Version:
1.1.18
Last Updated
April 16, 2026
Active Installs
100
Requires
WordPress 6.0
Tested Up To
WordPress 6.9.4
Requires PHP
8.0

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.