Unavailable dates show as bookable on Calendar
Tried using the Monday, Tuesday rules and when all slots are booked, the date on calendar is still clickable.
When clicked a user sees this:
https://bizzthemes.com/forums/topic/calendar-shows-days-available-even-if-they-are-booked-out/
Comments (11)
-
-
Checked the customer that has reported this and he has the General settings for product wrong:
Duration: 2 hours Interval: 10 hours Padding: 10 hours
It won't work as availability is only from 09:00 to 11:00.
-
reporter I've tried this on the demo site that was mentioned in the post https://demo.bizzthemes.com/woocommerce-appointments/product/detox/?date=2017-06-28&time=16%3A00 and I got the same result.
In that post there is no info about the person who reported it. Are you talking about someone else? I've also been able to reproduce it multiple times. Let me find an example.
UPDATE:
I can't reproduce it anymore for global or product availability.
For staff availability (composed of 2 rules for Tuesday) the day is clickable but it says 'No slots available'. You can test it here for Tuesday: http://fable.valentina-rakar.com/product/unavailable-dates-show-as-bookable-on-calendar/
-
Your example for Tuesday shows slots for selected staff.
-
reporter You can also try it here: https://bizzthemes.com/forums/topic/time-slot-still-available-after-appointment-is-booked/
-
reporter And when you book all the available slots, you'll end up with a clicable day even thought it will say there are no slots available.
-
Ok, see your point now.
-
- changed status to resolved
Fixed with 3.2
-
reporter I've tested this with different types of rules and it it's almost perfect.
One exception where it doesn't work:
But if you set Time range (all week) 08:00 - 18:00 available
and then Time range (date range) 2017-07-16 08:00 - 2017-07-06 18:00 unavailable it can still be clicked.
But if instead of that I set the Date range, it works ok. And if instead of this I set the unavailability until 17:00, and then after booking that last one at 17:00, it is unclickable again - works ok.
So I'm guessing if one knows he is unavailable for the whole day, he should not use Time range (date range).
Second exception where it doesn't work:
Range of weeks 29 - 30 not appointable shows Sunday 30.07.2017 as clickable but empty.
No special rules for that day - only time range (all week)
-
Time range rules don't block off the whole days in calendar, this is on purpose, so it's ok. To block off whole days, customers should use rules for days/dates.
-
reporter That makes sense. But the second thing is kind of weird.
- Log in to comment
How to reproduce this? Tried and works as intended.