awethemes / awebooking

AweBooking: A free online hotel booking for WordPress
https://wordpress.org/plugins/awebooking/
GNU General Public License v2.0
43 stars 22 forks source link

Allow room-type calculate room price by different ways #58

Closed anhskohbo closed 6 years ago

anhskohbo commented 6 years ago

For now, awebooking only calculate room price by: night * base-price

As the explain at here, they say have three common type of calculate cost and call that is "Pricing Models".

TadeasKula commented 6 years ago

The issue is, we have a night * person based pricing.

We have a starting price for one apartment. That is 1470 CZK

And now we have three tariffs - adult, senior and child Adult for 490 CZK, senior for 390 CZK and child for 390 CZK

What we need is the calculator to work like this: If I have for example 2 adults, show 1470 CZK, because it is less then the starting price for the apartment. But if I have for example 2 adults and 2 children, show 1760, because the sum is higher than the starting price.

Thats the whole thing.