-
Vehicles
The primary location for configuring prices in the plugin is the ‘Vehicles’ module. In this module, you create a fleet of vehicles and define price levels for each vehicle. The price configuration can be found under the ‘Prices’ tab within the vehicle editing page, accessed by navigating to ‘Moasala Booking System’ → ‘Vehicles’ in the menu.
The prices table is divided into rows and contains several types of prices that you can configure for each vehicle. You don’t have to configure the entire table row by row right away. Initially, it’s enough to set the price for distance, possibly also the price per hour. You can always return to this configuration and complete the price list depending on the later configuration of the booking form and the method of calculating prices.
Above the table, you’ll notice the ‘Booking Sum Type’ option and two settings. The ‘Variable’ setting is recommended. In this mode, the plugin will calculate the final price considering variables such as distance, time, number of passengers, etc. On the other hand, choosing the ‘Fixed’ option will make the plugin accept a fixed amount (defined in the table below in the ‘Fixed’ row) for a given vehicle. This amount will not depend on any variables calculated in the plugin and will always remain constant.
Routes
If you utilize pre-defined routes in your configuration, you’re likely familiar with the ‘Routes’ module. Here, you can create predefined routes that will be selectable in the booking form under the ‘Flat Rate’ service. To access the price configuration for routes, navigate to ‘Moasala Booking System’ → ‘Routes’ in the menu. Once there, you can view and configure the price table under the ‘Prices’ tab on the route editing page.
The prices table is divided into several columns. In the leftmost column, you can see all the vehicles defined in your configuration. In the column next to it, labeled ‘Price source’, there is a dropdown list next to each vehicle indicating the price source setting. The default setting – ‘Vehicle’, specifies that the plugin will retrieve prices from the price settings of the specific vehicle (from the ‘Vehicles’ module). Setting the option to ‘Route’ will make the plugin retrieve prices from the adjacent table. This setting overrides the prices defined in the ‘Vehicles’ module for the selected vehicle.
Pricing Rules
The ‘Pricing Rules’ module allows for the creation of advanced pricing rules. Rules take precedence within the system. This means that when the conditions of a specific rule are met, they will take precedence over price lists defined elsewhere in the system, such as in the ‘Vehicles’ or ‘Routes’ module. You can configure pricing rules in the ‘Moasala Booking System’ → ‘Pricing Rules’ menu. Once there, you can view and configure the price table under the ‘Prices’ tab on the pricing rule editing page.
Good to Know
Prices defined in ‘Pricing Rules’ take precedence over prices defined in the ‘Routes’ module, which (only when the ‘Price source’ option is set to ‘Routes’) take precedence over prices defined in the ‘Vehicles’ module.
Price Calculation Flowchart
The following flowchart illustrates the algorithm used to determine prices in the plugin.
Sorry, there were no replies found.
Log in to reply.