Hi,
The Required Minimum select box on the Hotel Booking Availability calendar does not have a "7 nights" option
2 nights
...
6 nights
How can I require a 7 night minimum stay?

Comments

larowlan’s picture

Category: support » feature

Hi
Sorry for the delay in responding, unfortunately the current version of the module doesn't let you change this, if you feel so inclined you can edit line 144 of hotel_calendars.module, change the 6 to a 7.
I'll include this as a feature request for version 2.
Sorry for the delay in replying, I've been sick.
Lee

willvincent’s picture

The reason it doesn't currently have a 7night minimum is because 6nights would be a week long stay. If you arrive Sunday and leave Saturday, you stay Sunday, Monday, Tuesday, Wednesday, Thursday, and Friday nights... 6 nights == 7 days

But, I suppose it would make more sense to have a setting in the admin settings to specify the maximum value for the minimum stay requirement, rather than hardcoding it in. :)

pallard’s picture

When you create a minimum night stay, why is it that one cannot book a room with that restriction?

Boniro’s picture

Sorry, but that's not correct.
One week stay is when you e.g. come on saturday and leave on saturday = 7 nights.
Weekly booking restriction is quite usual for private rooms in Europe in the high season.
And it's just one line of code to change that.
Can't understand why this is still not made.

Same thing with number of nights selection. There also should be up to 21 nights.
In Europe this is not unusual for summer holidays too.

Maybe it would be better to just have an input field instead of a selection list in that form without any restrictions so that everyone can set what he wants.

pvtsales’s picture

I'm also interested with this modification.