In this page we’ll see how to set the cost of the booking and the way it can vary dynamically.
First of all, open the “Booking” product that you want to edit and click on the “Booking Costs” tab.
You can specify two different types of costs:
- base price: the booking base price. It is a one-time fee.
- extra cost per unit: this cost is multiplied by the number of booking units, that is the duration of the booking.
Let’m make an example: we want to set a base price of $100 and charge $10 every month (the booking unit we are using in this example).
To do that, we have to set the booking unit to 1 month and set the costs mentioned above for both base price and extra cost per unit.
Suppose a user wants to book a 2 months’ stay; the total cost will be $120.
The costs of the booking, as described above, can be varied according to specific conditions that you can define in the product edit page (and, if need be, globally for all products).
In particular, prices can be either increased or decreased:
- if the date belongs to a time frame that you have previously defined;
- based on the selected months;
- if a different price has been set based on the days of the week;
- if the booking falls within a specific range of weeks that you have previously defined;
- based on the number of people selected, if you have previously enabled Booking People management;
- based on the duration of the booking;
- if the booking falls within a specific range of times that you have previously defined;
- based on the people type.
People feature gives you the possibility to add ranges based on the people types configured in the booking. This option allows creating several and even complex rules to manage costs depending on your needs.
In the sample below, we have configured a booking for a hotel room where we have added a cost for the second and third Adult and a free booking for maximum two Children. After disabling the option Multiply all costs by number of people, we have applied the following settings:
1st Adult: $100/day
2nd Adult: +$50/day
3rd Adult: +$50/day
1st child: Free
2nd child: Free
3rd child: +$20/day
If more conditions apply to the same booking, they are automatically processed from top to bottom.
You can sort rules by dragging and dropping them.
The plugin allows you to apply price variations on all products globally, by applying the changes only on preset time frames.
To do that, go to YITH Plugins > Booking > Costs and define a new range to apply variations on the booking costs.
If both global and specific product rules apply to the booking, rules defined in the “Booking” product will be processed last.
This means that the price rule defined as first in the product applies to the price that has already been edited by global rules, and not to the original price. Like a domino, all following rules in the product are applied on the product price.
If you have enabled Booking People management, the booking prices (e.g. “Base Price” and “Extra cost per unit”) can be edited based on the number and type of people added.
To edit the costs based on the total number of people, enable the option “Multiply all costs by number of people” that you can find the “Booking people” tab in the product.
In case you choose to create more types of booking people, all costs can be edited based on the selected type.
Costs per booking people will be edited before any possible “global or product rules” apply.
Extra costs for services (whether optional or not) can be applied to the booking.
Go to the service edit page to configure its price.
Go to this page of the handbook to learn more about how to create and configure a new service.