You already have a resource with a work rule.
For example, a 24-hour rental cost $100 per hour per place. Only 10 seats.

To change the price of the third and last hours, you can use one of three solutions.

You can add a discount for reservations of three hours or more.
To do this, create a price component.
Click on **+** to the right of the pricing components.

Fill in the following parameters:

1. Enter the name of the component.

2. Add the parameter name for the number of places.
For example, PLACES.

3. Enter the formula.
The discount is $20 multiplied by the number of hours over two.
And we multiply all this by the number of occupied places.

4. Click the constraints tab.

Add a limit of the number of periods - 3.
Then, when booking one or two periods, the discount will not work.
Save it.

Now let's check the result.
We book two seats for 5 hours.

You can go on the way back.
Add a surcharge of $20 per hour for bookings shorter than three hours.
To do this, first set the price of the hour - $80.
Then create a pricing component.

Fill in the following parameters:

1. Enter the name of the component.

2.Add a parameter name for the number of seats.
For example, PLACES.

3. Enter the formula.
The $20 mark-up is multiplied by the number of hours.
And all this is multiplied by the number of seats occupied.

4.Open the constraints tab.

Add a period limit of less than or equal to 2.
Then the discount will be valid only for bookings of one or two periods.
Save.

Check the results.
We'll book three seats for 2 hours.

If you do not want to break the cost, consider it a component of the price.
To do this, set the price of the hour - $0.
Then create the pricing component.

Fill in the following parameters:

1. Enter the name of the component.

2. Add a parameter name for the number of seats.
For example, PLACES.

3. Enter the formula.
The cost of $100 multiplied by the number of hours.
Subtract the discount of $20 multiplied by the number of hours in excess of two.
And all this is multiplied by the number of seats occupied.

In this formula, we used the Max function.
It will return from the two numbers in parentheses.
Thus, we do not give the expression **[INTERVALS] -2** to become less than zero.

4. Save the component.

Let us check the result.
Reserve for 4 hours two seats.

Look at this example in action:

Didn't find the answer to your question?

Ask it to us on

Ask it to us on