add control before submitting reservation

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
alexandre
Posts: 23
Joined: Thu Aug 21, 2008 11:20 am

add control before submitting reservation

Post by alexandre »

Hi Marco,

I have created a template form where my customer can make reservation, there are two types of rates for the same appartment one is week and the other is rate per day. The question is that I want to prevent customers to select week rate if they have selected less than 7 days in the drop down date list. Also the same commitment for people selecting 7 days , I want to force them to use only the week rate. Can we slightly modify the code as I couldn t find any feature already coded to perform this goal. If you want to see the form please go to this link: http://www.molene.net/phpresidence1.2/d ... ispo12.php

Hope this makes sense to you ...

Regards,

Alex
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Re: add control before submitting reservation

Post by marco »

Hello Alex,
you can enforce a minimum stay with an extra cost associated to the rate "always in permitted periods" with a minimum of 7 days. The extra cost can be associated also for a maximum number of days (give an error if more than 7 days are selected. You may also use 1 rate and add a discount every 7 days with an extra cost (daily cost not applied for 6 days and yes for 1).

Regards,
Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Post Reply