Active
Project:
Hotel Booking System for Ubercart
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2010 at 17:06 UTC
Updated:
13 May 2012 at 14:46 UTC
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
Comment #1
larowlanHi
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
Comment #2
willvincent commentedThe 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. :)
Comment #3
pallard commentedWhen you create a minimum night stay, why is it that one cannot book a room with that restriction?
Comment #4
Boniro commentedSorry, 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.
Comment #5
pvtsales commentedI'm also interested with this modification.