Passengers
The plugin has a passenger mode that enables billing for the trip taking into account the number of passengers. In this guide, I will show you how to configure the form to handle passenger mode.
Form Configuration
Go to the ‘Booking Forms’ menu and create a new booking form or edit an existing one by clicking on its name. On the newly opened page, find the ‘Passengers’ tab. Here you will configure the form to handle passenger mode.
Passengers
Enable or disable passenger mode for the selected type of service such as ‘Distance’, ‘Hourly’, or ‘Flat rate’. To enable the service, select ‘Enable’ in the ‘Adults’ column. If you also want to differentiate passengers into adults and children, select ‘Enable’ in the ‘Children’ column.
For the purposes of this guide, I have enabled passenger mode without distinguishing between adults and children by selecting ‘Enable’ in the ‘Adults’ column for the ‘Distance’ service.
Default Number of Passengers
You can specify the default number of passengers displayed in the form by entering, for example, ‘4’ in the ‘Adults’ field.
Show Price Per Passenger
Enabling this option will display the price per passenger next to the vehicle in step #2 of the form (‘Choose a Vehicle’) instead of the calculated trip price. If you intend to use this option, make sure that in the ‘Vehicles’ menu, under the ‘Prices’ tab in your vehicle configuration, you have entered the price per passenger in the ‘Per adult’ row.
“Person” Label
You can change the form field label from “Adult” to “Person”. This option can be useful when you do not differentiate between adults and children and simply want to know the total number of people.
Passenger Drop-down List
Choose whether you want to replace the text field with a drop-down list.
Good to Know
Enabling this option will turn the text field into a drop-down list from which you can select the number of passengers. The values in the list are limited by the maximum capacity of your vehicles. The maximum value comes from the ‘Number of passengers’ option, specified in the vehicle settings in the ‘Vehicles’ menu. For example, if your largest vehicle has space for 8 passengers, the passenger selection list will allow choosing between 1 and 8 passengers.
Location of Passenger Drop-down List
Specify the location of the passenger selection field. This option works only when the number of passengers is limited to adults, the “Person” label is selected, and the ‘Passenger drop-down list’ option is activated.
Configuration Example
Review a sample form configuration and the resulting effect. In the configuration below, the default number of 4 passengers is selected and the drop-down list is enabled. The client has selected 4 passengers in the booking form:
Note that in step #2 of the form (‘Choose a Vehicle’), the passenger selection is displayed in the ‘Summary’ sidebar. This is the value used for the calculation. Only vehicles with a capacity equal to or greater than the selected number of passengers are displayed in the vehicle list. In this case, only vehicles that can accommodate 4 or more passengers are displayed.
Note that a ‘Vehicles Filter’ is displayed above the list of vehicles. This filter is only for filtering vehicles in the list and does not change the number of passengers selected in step #1 of the booking form.
Important!
The ‘Vehicles Filter’ is only for filtering vehicles in the list. The selection of values in the ‘Passengers’ or ‘Suitcases’ fields only narrows down the list of vehicles and does not affect the booking conditions. Changing the number of passengers is done exclusively in step #1 of the form. If you want, you can completely remove the vehicle filter from step #2 of the form by configuring the ‘Vehicle Filter’ option in the ‘Booking Forms’ -> ‘General’ -> ‘Vehicles’ menu.
Including the Price Per Passenger in Calculation
Defining the Price Per Passenger
Go to the ‘Vehicles’ menu. Create a new vehicle or edit an existing one by clicking on its name. On the vehicle edit page, go to the ‘Prices’ tab and define the price for an adult and a child. Set: ‘Per adult’ and ‘Per child’ rows.
Selecting the Calculation Method
To include the price per passenger in the calculation, you need to specify the calculation method. Go to the ‘Booking Forms’ menu, tab: ‘General’ -> ‘Prices’, and choose the ‘Calculation Method’ option.
The available calculation methods that include passengers are:
- (Distance + Duration) x Number of passengers – a calculation method that sums the price for distance and the price for time, and multiplies the calculated price by the number of passengers. This method considers the number of passengers but does not take the price per passenger into account.
- Passengers – a calculation method that considers the price per passenger. In this method, distance and time are not included in the calculation.
- Distance + Duration + Passengers – a calculation method that sums the price for distance, the price for time, and the price for passengers.
Calculation Examples
For the purpose of this guide, I set the prices per passenger for two of my vehicles. For the ‘BMW 5 Series Long’ vehicle, I set the price at $5 per adult, and for the ‘Mercedes-Benz S63 AMG’ vehicle, I set the price at $6 per adult. The distance rate for both vehicles is $2 per kilometer, and the time rate for both vehicles is $0 per hour (and is omitted in the calculations).
‘(Distance + Duration) x Number of Passengers’ Method
I selected the ‘(Distance + Duration) x Number of passengers’ calculation method and a route length of ‘61.6’ km for ‘4’ passengers.
Calculation for both vehicles: (61.6 km x $2 + 1 h 1 m x $0) x 4 = $492.80
‘Passengers’ Method
I selected the ‘Passengers’ calculation method and a route length of ‘61.6’ km for ‘4’ passengers.
Calculation for BMW: $5 x 4 = $20
Calculation for Mercedes: $6 x 4 = $24
‘Distance + Duration + Passengers’ Method
I selected the ‘Distance + Duration + Passengers’ calculation method and a route length of ‘61.6’ km for ‘4’ passengers.
Calculation for BMW: (61.6 km x $2) + (1 h 1 m x $0) + ($5 x 4) = $143.2
Calculation for Mercedes: (61.6 km x $2) + (1 h 1 m x $0) + ($6 x 4) = $147.2
Summary
Document version: 1.0
Last updated: May 20, 2024
Plugin version: 7.3+