Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Set starting month for availability calendar
- This topic has 4 replies, 2 voices, and was last updated 1 month, 3 weeks ago by J. Davis.
- March 27, 2023 at 10:14 pm #1434462Nicole PatonParticipant
Is there a way to set the starting date for the availability calendar which shows on the single accommodation pages and also when using the shortcode [mphb_availability_calendar] for a given accommodation type.
I can see that we can choose how many months to show, however I need to set a minimum starting month and I can’t find a way to do this.
The use case is that we open bookings now for a lodge which does not open until June. So when I show 2 or 3 months in the availability calendar not availability can be seen at all. Everything is just grey because no bookings can be placed in the next 3 months.
I just want to show the availability calendar starting from June.
How can I do that?
Honestly I thought it would be the default to only show from the first date a booking can be accepted based on the seasonal rate rules however it seems to default to today no matter what.
Thanks very much,
NicoleMarch 27, 2023 at 11:35 pm #1434488Nicole PatonParticipant
After reading the relevant code in mphb.js
I have come up with a hacky workaround by setting the minimum advance booking for all accommodation types to 70 days. The issue with this is that I will have to manually change that down every day as we approach the opening date.
There really should be another way. A better way…
Please let me know if I have missed the better way to achieve this.
ThanksApril 2, 2023 at 3:37 am #1436922J. DavisKeymaster
Currently, there is no option to set a default/start month for the availability calendar or availability form in the Hotel Booking plugin. I’ve added such a request to our list of features. We will notify you if we have any news.
Meanwhile, you may add some kind of notice explaining that check-in starts in June.
John DavisApril 8, 2023 at 10:10 pm #1439758Nicole PatonParticipant
Thanks for the response.
I really think the best functionality would be that the availability calendar only shows from the first month during which there could possibly be availability. Eg. The first month which has a season with prices added in the admin system.
There is no point showing months which cannot be booked by anyone, even by the administrator. Please note, I’m not suggesting to start after months which are genuinely booked out. Just after those which cannot be booked at all.
NicoleApril 13, 2023 at 4:14 am #1441455J. DavisKeymaster
Thanks for your feedback I clearly understand it. We will notify you when we have any news.
- You must be logged in to reply to this topic.