Let's say you already have a resource for renting a scooter hourly.
The cost of an hour is $1000.
To offer several scooters cheaper, create a discount for renting more than 1 scooter.
Click + to create the pricing component.
1. Enter a name of the component.
2. Enter the name of the formula parameter for the number of scooters. For example, BIKE.
3. Enter the formula. The discount of $200 is multiplied by the number of scooters over 1.
And all this is multiplied by the [INTERVALS] parameter — the number of reserved hours.
-200 * Max(0,[BIKE]-1) * [INTERVALS]
In this formula, we use the Max function.
It returns the maximum value of two numbers.
Thus, we will not let the expression [BIKE] - 1 to be less than zero.
4. Save the pricing component.
Let's check. We will reserve 4 scooters for 3 hours.
The formula calculation: -200 * (4-1) * 3 = $1800.
See the example in action: