arrow_back_iosQuestions
help

We have a rental price of one scooter $1000 per hour, but the price of each subsequent scooter is $800 per hour. How can we get this?

check_circle
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:
Didn't find the answer to your question?
Feel free to ask it at
mail_outline support@bukza.com