Page 1 of 1

add control before submitting reservation

Posted: Sat Nov 21, 2009 6:53 pm
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

Re: add control before submitting reservation

Posted: Sun Dec 20, 2009 5:56 pm
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