Fixed Rate for a Specific Distance Range
Let’s assume you want to set specific fixed (or flat) prices for specific distance ranges, for example:
Example
Distance in Km – Total Order Price
0-10 km – $29
10-30 km – $39
30-50 km – $49
50-100 km – $79
Important!
If you have already created any price rules, deactivate them (move to the trash) because they may overwrite the final effect.
You need to create as many rules as you have distance ranges. In this case there will be 4 rules.
I will apply the rules to the BMW vehicle, as shown in the screenshots below.
Adding ‘Rule #1’
Step 1. Go to the ‘Pricing Rules’ menu and add a new pricing rule (Add New), I call it ‘Rule #1’.
Step 2. Go to the ‘Conditions’ -> ‘Vehicles’ tab and select the vehicle from the list (in my case “BMW 5 Series Long”).
Step 3. Go to the ‘Conditions’ -> ‘Distance’ tab and set the parameters as shown in the screenshot below:
Step 4. Go to the ‘Prices’ tab and set the ‘Price Source Type’ option to ‘Set directly in the “Prices” tab’, set ‘Booking Sum Type’ option to ‘Fixed’, and in the ‘Prices’ table below, set the ‘Fixed’ price that corresponds to this distance range, as shown in the screenshot below:
Step 5. Save the rule by clicking ‘Publish’. The rule should look like this:
You have now configured your first distance range. Regardless of whether the distance is 1 km or 10 km, the price for the ride is fixed and amounts to $29.
Adding ‘Rule #2’, ‘#3’, and ‘#4’
Now add the next rules, ‘Rule #2′ for the distance range from ’10’ to ’30’ km, ‘Rule #3′ for the distance range from ’30’ to ’50’ km, and ‘Rule #4′ for the distance range from ’50’ to ‘100’ km in the same way as shown above by performing steps 1 to 5.
Pay attention to step 3, where you define the distance range, and step 4, where you define the price for the given distance range.
After creating all 4 rules, the rules should look like this:
Final Result
Here’s the pricing effect for renting BMW 5 Series Long vehicle for different distances:
We hope you found this tutorial helpful. Thank you for reading, and happy pricing!
Summary
Document version: 1.0
Last updated: May 17, 2024
Plugin version: 6.8+