children filter doesn't work properly

Hi
I am testing your plugin on the last release of wordpress before buying the premium version…. If I set price per day and a % of discount for 3,4 bed adults it works properly but not for children…. it seems the form on the front-end doesn’t fix and quote correctly what I have set in the admin-side

In addition after saving a filter in many cases (especially for children) when I open again, the mode filter doesn’t fix the previous settings

here it is the page containing the form: http://www.ideaturismovacanze.com/easy-rooms/hotel-nr-1/

base price set to 0
Children’s discount per billing unit: 0
Price per person

price per adult = 50
3 bed adult = % reduction 10% – price per adult
4 bed adult = % reduction 12,50% – price per adult

3 bed chd = reduction € -50 – price per children

Thank you for any suggestions

Carlo

Percent filters are calculated from the base price. As that’s 0 that would explain your problem.
Regards

Thank you for your reply

I don’t know if I made something wrong but I have I followed the following steps:

base price set to 0
Children’s discount per billing unit: 0
Price per person

I filled in the first week (19-25/07) on 2 adults basis changing the base price to 50
the second week (26/07-01/08) on 2 adults basis changing the base price to 80
the third week (02/08-09/08) on 2 adults basis changing the base price to 100

then I set 3 bed adult with a % reduction for all periods without specify a week (works) – condition = 3 adults
then I set 4 bed adult with a % reduction for all periods without specify a week (works) – condition = 4 adults

There is a way to set % reduction also for children in order to avoid single filter for each week ? Actualy, with this settings seems not working

Thank you for your kind assistance

Carlo

% is just of the base price. Like that it’ll will be free.
You can change that by search for

Select Code
1
round($this->groundprice/100*$percent

in file /lib/classes/reservation.class.php and replace it with

Select Code
1
round($this->price/100*$percent

Regards

Hi

thank you for your reply

I have changed the string but calculation for children are still not correct.

Can I have more suggestions to solve this problem ? Do you plan to release a new version soon ?

Thank you for your kind assistance

Carlo

You must be logged in to reply in this thread.

Not Resolved
5 posts