Booked Dates Show as Available #349
Labels
priority: low
The issue/PR is low priority—not many people are affected or there’s a workaround, etc.
type: bug
The issue is a confirmed bug.
The Accommodation product is booked out, but the availability calendar shows it available.
Affected ticket(s)
#6318187-zd
What I expected
Availability would only show dates that are truly available. Not booked dates.
What happened instead
Booked dates show as available.
Steps to reproduce the issue
Set up a site with only the following active:
WooCommerce, WooCommerce Bookings, WooCommerce Accommodation Bookings and WooCommerce Bookings Availability active + Twenty Three theme.
Create a Bookable product
Set an availability calendar on a post or page.
Note that even when a product is booked, the availability page shows it as available. Clicking "Select Options" takes you to the booking page, which shows the dates as not available.
Booked Product:
Availability page to Booking page screencast from my test site:
Screen.Recording.2023-06-17.at.12.41.32.PM.mov
One thought is that this is caused by the Bookings slots controller not being able to account for the night duration_unit and partially booked days which Accommodation Bookings adds to the plugin.
The text was updated successfully, but these errors were encountered: