1place
8 votes Vote

Reserve multiple rooms at once.

Maybe it's handy to give people the option to reserve multiple rooms at once. (In 1 reservation)
I don't know how necessary it is but it could be a relevant option. =)

Dennisdej7 , 09.04.2012, 13:55
Idea status: under consideration

Comments

Kevin Logan, 12.04.2012, 17:30
I agree. I am going to give it a go, trying to figure out how to make it work that way. If anyone else is interested in trying to figure out this added function, maybe we could start a thread in the WP forum. Cheers,
Kevin
easyreservation, 12.04.2012, 21:09
For me the problem istn technical, its logical.
For rooms its simple - sum the price foreach room. But whats with offers? Till now its if you select an offer its "over" the room and its price is taken instead. Cant really figure it out without changing this system.

Wont be easy for you to make that, it would affect nearly each file and you couldnt update after either.
I think you will come faster and better with an really detailed instuction how it should work in the system.
Kevin Logan, 12.04.2012, 21:38
Hi EasyReservation, Yes, I am realizing it will be very complicated to make people able to reserve more than 1 room. But good goal I think. Consider family traveling with Mother & Father, and children. 2nd room for children would be very common (older children anyway).
But, as I say, I realize how complicated it would be to change. What I am going to try tomorrow is making an error message, that if number of people > than number of people room will hold, message will come up (like you have now) that the number is too big, BUT, that the reservation (first will go through), but they will have to make a SECOND reservation for the additional people. Get what I mean? I think I should be able to do this with my knowledge, and your work you have already done.
Thanks, Kevin
Kevin Logan, 13.04.2012, 06:06
Oh, I forgot. I was able to successfully change one aspect of the reservation form that I didn't like: people were not able to make a reservation on the current day. Also, I found it confusing that the calendar showed all past dates "grey-out" (makes sense to me) except the immediately previous day, eg, if the date is the 13th of April, the calendar would show the 12th. So in form.js I changed minDate: -1, to minDate: -0. Then in front.php I REMed out lines 127-129. The way it is now, with the calendar as it is, people can only make reservations today, OR in the future, so no need for the lines 127-129. Maybe you think this is good option to offer.
By the way, I think your program is really really well done. Funny how complicated reservations can be. It seems so simple when doing it on paper (analogue), but making a program is very complex to mimic how the human brain so easily deals with all the possibilities. Cheers, Kevin Logan
Kevin Logan, 13.04.2012, 19:25
Hi again, I am trying to get the error message for: "if($resource_req['pers-max'] != 0 && $resource_req['pers-max'] < ($val_persons+$val_childs))" to show immediately (assuming there is an error), BEFORE hitting the SEND (SUBMIT) form button. Just like it does when entering arrival/departure dates (departure date has to be in the future). 'easyReservations' seems to be the trigger, but I can't get it to work. Any ideas?
Also, if any error is made, for example bad captcha input, after submit button & page refreshes, why do some fields remain, and some dissappear? For example, phone number dissappears. Even if user has made a mistake, it's easier if they don't need to re-enter fields they have already entered, that actually ARE correct. Annoying, but I'm sure you've filled out online forms before & experienced what I am talking about.
Cheers,
Kevin Logan
easyreservation, 24.04.2012, 10:44
thats in now.
Christophe, 01.05.2012, 11:34
This would be a big plus for me.
Think of a family with 2 adults and 3 children.
This family should be able to demand an offer in one single reservation form, with the kids on the same room, or with a single room for every (grown up) child, for instance.
christophe, 01.05.2012, 13:24
if you want to make it possible to reserve multiple rooms,
you will need to split your contact from your rooms in your
database

wp_reservations = goes on the fysical room
wp_e_contact = goes on the person

I hate to say it, but your datamodel should have been split
from the beginning.

possible workflow could be

a "reservation" is a combination between
a contact who want's to be at a destination (room,or golfyard)

1 create wp_e_destination and wp_e_contact
2 wp_e_contact has a id_e_destination field
2 write sql query to transfer records from wp_reservation to
your new tables
3 split your form on the admin to 1 form for wp_e_contact
and multiple forms for every room
easyreservation, 01.05.2012, 18:11
It wouldnt be needed for it, but it would be good way for it.
Already thought about it and maybe I'll doing something like this for 3.0.
As I started this project it wasn't planed to get this big, i just did it for fun and to learn.
christophe, 01.05.2012, 18:19
I understand,

The moment you make your tables related, that's when the real fun will begin. With an ID in every table, you would be able to grow and expand your product with very little of effort. Easy for me to say, ;-)

But it's a big step to take.
Lucimery, 05.01.2014, 21:26
That is pretty sipmle. Create a database and a form that submits a name and email address to that database then create another form that you fill in with a title and message that will form the email. Then connect to the database, create a loop that grabs a persons name and email then sends an email to them then moves on to the next entry. You can even type variables like $name into the message to give a more personal touch. He has stuff on how to do all of this on his channel.
Aboyarp, 07.01.2014, 06:45
Hi Craig, Well depending on what type of buessnis you want to start the M&O may or may not be the best place to start? Are you starting it in Paris or in North America?Rita

Leave a comment