When you do an availability search for say "Group size 3, Children 1" (using units per type configuration) then click "Search for availability".
and you then chose 1 unit the Persons default to the max (Eg 6) and children to 0.
Similarly, when you do the availability search for the same "Group size 3, Children 1" (using individual units display configuration) the search results display all units with the max persons specified and children set to 0.
is there a way for these to inherit from the availability search ?
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | rooms-prepopulate-group-children-2113209.patch | 7.94 KB | jwilson3 |
Comments
Comment #1
artatac commentedI have this working at www.bookpitches.co.uk but currently it gives errors if you choose more than 1 room. I will post a patch once this is sorted
Comment #2
1an_m commentedUnless I misunderstand the issue, this appears to be related to #2013457: Group size not passed to commerce-line-item:rooms-booking-number-people. The patch posted there works for more than 1 room selected.
Comment #3
artatac commentedTo clarify this is not about passing to commerce line item. This is about the group size/children that yo specify in the availability search being passed to the resulting booking form.
Currently, out of the box, Rooms lets you search for say
1room > group size 5 > children 3
and the room types available are then presented below.
You then choose the room type you want to book by altering the unit to 1 > once you do this you are asked (yet again) for the group total and the number of children. In my opinion this is an unfriendly system, as we have already told it this info in the availability search (or is it me?)
the intention of the patched version at www.bookpitches.co.uk is to add this ability but currently I get errors if the rooms/pitches in the search is set to more than 1.
Also should there not be consistency in how they are referred to eg - in the search you are asked to specify the number of rooms(pitches) you want then in the resulting booking form they are referred to as units?
Comment #4
jwilson3I've updated the issue summary to state that this bug rears its head both when configuration is set to display per-type basis and for individual rooms.
This problem space becomes much harder to solve when there are multiple units (each with different group size and children size) chosen on the availability search form, however solving the problem for the most simple case where there is just one unit, one group size, and one set of children is at least a step forward.
Here is a patch that I think might address this issue; it actually does handle some of the harder problem, but this really needs more thorough testing.
Comment #5
jwilson3Ronald, I've created a remote branch "2113209" in our DrupalRoomsModule repo for this issue containing the patch above. If you think what I have so far is enough to get into master, please merge!
Comment #6
ronald_istos commentedComment #7
g.rocchini commentedHello,
the problem is still here, both with develop and stable version.
The patch posted from jwilson3 on 2013-12-06 give me some error when i run it
Any idea about this problem? Any official solution?
Comment #8
g.rocchini commentedHello,
I apply manually the patch and the problem is solved for the reservation of 1 room
If you set more rooms in one search the problem is still here.
Comment #9
ronald_istos commentedI think we need to better define the issues here.
There seem to be two separate problems:
1. A constraint satisfaction problem. If I am search for a room that can hold at least 3 with 1 being a child I should get anything that can satisfy this constraint. It seems Room does this.
2. A usability issue: Given that I defined this already in the initial search why do I need to do it again. And there are actually reasons that have to do with price updates. Seems this issue is dealing with the usability concerns - is that correct?
Comment #10
jwilson3Agreed. This is an end-user front-end usability issue. I think there is room for lots of small improvements like this to streamline booking and checkout process for the most simple cases. I might start trying to tag some of these issues with '#d7ux'.