• Posted by TWS on مارس 17, 2025 at 3:29 ص

    The Moasala Taxi Booking Plugin has a passenger mode that enables billing for the trip based on the number of passengers. In this guide, I will show you how to configure the form to handle passenger mode.

    Form Configuration

    1. Go to the ‘Booking Forms’ menu and create a new booking
      form or edit an existing one by clicking on its name.
    2. 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:

    Passenger Selection

    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.

    Choose a Vehicle

    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.

    Calculation Method

    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∗∗peradult,andforthe∗∗‘Mercedes−BenzS63AMG’∗∗vehicle,Isetthepriceat∗∗5** per adult, and for the **‘Mercedes-Benz S63 AMG’** vehicle, I set the price at **5peradult,andforthe‘MercedesBenzS63AMG’vehicle,Isetthepriceat6 per adult. The distance rate for both vehicles is 2∗∗perkilometer,andthetimerateforbothvehiclesis∗∗2** per kilometer, and the time rate for both vehicles is **2perkilometer,andthetimerateforbothvehiclesis0 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×$2+1 h 1 m×$0)×4=$492.80(61.6 \text{ km} \times \$2 + 1 \text{ h } 1 \text{ m} \times \$0) \times 4 = \$492.80(61.6 km×$2+1 h 1 m×$0)×4=$492.80

    Calculation Example 1

    ‘Passengers’ Method

    I selected the ‘Passengers’ calculation method and a route length of ‘61.6’ km for ‘4’ passengers.

    Calculation for BMW:

    $5×4=20$\$5 \times 4 = 20\$$5×4=20$

    Calculation for Mercedes:

    $6×4=24$\$6 \times 4 = 24\$$6×4=24$

    Calculation Example 2

    ‘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×$2)+(1 h 1 m×$0)+($5×4)=$143.20(61.6 \text{ km} \times \$2) + (1 \text{ h } 1 \text{ m} \times \$0) + (\$5 \times 4) = \$143.20(61.6 km×$2)+(1 h 1 m×$0)+($5×4)=$143.20

    Calculation for Mercedes:

    (61.6 km×$2)+(1 h 1 m×$0)+($6×4)=$147.20(61.6 \text{ km} \times \$2) + (1 \text{ h } 1 \text{ m} \times \$0) + (\$6 \times 4) = \$147.20(61.6 km×$2)+(1 h 1 m×$0)+($6×4)=$147.20

    Calculation Example 3


    TWS replied 1 year, 2 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

Log in to reply.