{"id":383,"date":"2023-10-18T10:23:43","date_gmt":"2023-10-18T08:23:43","guid":{"rendered":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/?post_type=lsvr_kba&#038;p=383"},"modified":"2024-02-13T14:26:58","modified_gmt":"2024-02-13T13:26:58","slug":"fixed-locations","status":"publish","type":"lsvr_kba","link":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/fixed-locations\/","title":{"rendered":"Fixed Locations"},"content":{"rendered":"<p>In this guide, we will present practical ways to utilize fixed locations and establish pricing dependencies based on them in the Chauffeur Taxi Booking System. If your company provides transportation services on specific routes, if your transportation service always starts from a specific location, or if you have fixed destination points, then this guide is for you.<\/p>\n<p>The plugin, in its default configuration, offers complete freedom for users to choose their pickup and drop-off locations during the booking process, providing access to a Google auto-suggestion field. While this is a convenient solution, it may not always be desirable due to its openness. You can restrict user choices in several ways. One of them is the <mark>&#8216;Driving Zone&#8217;<\/mark> option, which narrows down the available choices for pickup, waypoints, and drop-off locations. Another way is by defining fixed locations.<\/p>\n<h2>Locations Module<\/h2>\n<p>The <mark>&#8216;Locations&#8217;<\/mark> module is accessible from the <mark>&#8216;Chauffeur Booking System&#8217;<\/mark> menu under <mark>&#8216;Locations&#8217;<\/mark>. Upon navigating to this menu item, you will see a list of all the fixed locations defined in the system. To add a new location, click on <mark>&#8216;Add New&#8217;<\/mark>.<\/p>\n<h2>Adding a New Location<\/h2>\n<p>After clicking the <mark>&#8216;Add New&#8217;<\/mark> button, you will be taken to a page for defining a new location. First, add a title for this location. In the <mark>&#8216;General&#8217;<\/mark> tab, specify the exact address of the location in the <mark>&#8216;Address&#8217;<\/mark> field. This field supports Google auto-suggestions, begin typing, and select the suggested address from the list.<\/p>\n<p>In the <mark>&#8216;Routes&#8217;<\/mark> tab, you can create associations between locations &#8211; choose drop-off locations that will not be available for the newly created location. For a given service type (<mark>&#8216;Distance&#8217;<\/mark> or <mark>&#8216;Hourly&#8217;<\/mark>), select excluded drop-off locations from the list. Save the changes by clicking the <mark>&#8216;Publish&#8217;<\/mark> button.<\/p>\n<div class=\"example\">\n<p><strong>Example<\/strong><\/p>\n<p>If there are three locations in the system (e.g., three airports), and you add a new location (e.g., a central station), you can use the <mark>&#8216;Routes&#8217;<\/mark> tab to indicate that trips from this central station to one of the airports are not permitted.<\/p>\n<\/div>\n<h2>Configuring the Form to Work With Fixed Locations<\/h2>\n<p>Navigate to the <mark>&#8216;Chauffeur Booking System&#8217;<\/mark> -> <mark>&#8216;Booking Forms&#8217;<\/mark> menu. Proceed to edit a specific form (or create a new booking form if you haven&#8217;t done so yet). Go to the <mark>&#8216;General&#8217;<\/mark> -> <mark>&#8216;Locations&#8217;<\/mark> tab, then locate the <mark>&#8216;Fixed Locations&#8217;<\/mark> option.<\/p>\n<p>The table displays all locations defined in the system for two service types: <mark>&#8216;Distance&#8217;<\/mark> and <mark>&#8216;Hourly&#8217;<\/mark>. From the <mark>&#8216;Pickup location&#8217;<\/mark> column, select the locations that will be visible in the booking form for the starting point of the ride. From the <mark>&#8216;Drop-off location&#8217;<\/mark> column, choose the locations that will be visible in the booking form for the destination of the ride. Selecting the <mark>&#8216;- None -&#8216;<\/mark> option means that in the booking form, instead of a list, a free-text field with Google auto-suggestions will be displayed.<\/p>\n<div class=\"tip\">\n<p><strong>Good to Know<\/strong><\/p>\n<p>When you are dealing with a list from which you select a given option and you want to select more than one, simply click on the items while holding down the SHIFT or CTRL key on your keyboard.<\/p>\n<\/div>\n<h3>Fixed Locations Label<\/h3>\n<p>By default, when this option is disabled, the first defined location is displayed alphabetically in the location selection list within the booking form. When you enable this option, you can specify your custom label that will be shown in the location selection field instead.<\/p>\n<h3>Fixed Locations Autocomplete<\/h3>\n<p>Enabling this option transforms the location selection list into a field with Google autocomplete support, restricted to existing locations.<\/p>\n<h2>Creating a Pricing Rule for Fixed Locations<\/h2>\n<p>Using the <mark>&#8216;Pricing Rules&#8217;<\/mark> module, create a pricing structure that takes into account your locations. Go to the <mark>&#8216;Chauffeur Booking System&#8217;<\/mark> -> <mark>&#8216;Pricing Rules&#8217;<\/mark> menu and click the <mark>&#8216;Add New&#8217;<\/mark> button to add a new pricing rule.<\/p>\n<p>In the <mark>&#8216;Enter title here&#8217;<\/mark> field, enter the title for the pricing rule, and then go to the <mark>&#8216;Conditions&#8217;<\/mark> -> <mark>&#8216;Locations&#8217;<\/mark> -> <mark>&#8216;Fixed&#8217;<\/mark> tab. You will see two multiple-choice fields: <mark>&#8216;Fixed Pickup Locations&#8217;<\/mark> and <mark>&#8216;Fixed Drop-off Locations&#8217;<\/mark>, which contain all the fixed locations defined in the system.<\/p>\n<h3>Selecting Pickup Location(s) Only<\/h3>\n<p>Choose a pickup location(s) from the <mark>&#8216;Fixed Pickup Locations&#8217;<\/mark> list without specifying anything in the <mark>&#8216;Fixed Drop-off Locations&#8217;<\/mark> list. In this case, the created pricing rule will apply to that specific pickup location(s) and any destination.<\/p>\n<h3>Selecting Pickup and Drop-off Location(s)<\/h3>\n<p>Pick location(s) from the <mark>&#8216;Fixed Pickup Locations&#8217;<\/mark> list and select destination(s) from the <mark>&#8216;Fixed Drop-off Locations&#8217;<\/mark> list. This will result in a pricing rule that applies to the chosen pickup location(s) and all selected drop-off locations.<\/p>\n<h3>Not Choosing Pickup Location, Selecting Drop-off Location(s)<\/h3>\n<p>Skip the pickup location selection and exclusively mark chosen locations in the <mark>&#8216;Fixed Drop-off Locations&#8217;<\/mark> list. In this scenario, the starting location is inconsequential, and the pricing rule will be valid for all chosen destination locations.<\/p>\n<h3>Set Prices<\/h3>\n<p>Go to the <mark>&#8216;Prices&#8217;<\/mark> tab. In the <mark>&#8216;Price Source Type&#8217;<\/mark> option, select <mark>&#8216;Set directly in the &#8220;Prices&#8221; tab&#8217;<\/mark> from the list. Scroll down the page and set new rates for this Pickup &#8211; Drop-off relationship in the <mark>&#8216;Prices&#8217;<\/mark> table.<\/p>\n<p>If you want a fixed fee for this connection (between pickup and drop-off), select <mark>&#8216;Fixed&#8217;<\/mark> in the <mark>&#8216;Booking Sum Type&#8217;<\/mark> option, and then set the total price in the <mark>&#8216;Prices&#8217;<\/mark> table in the <mark>&#8216;Fixed&#8217;<\/mark> row. You can set up prices on all highlighted rows.<\/p>\n<p>If you want a variable fee for this connection (between pickup and drop-off), depending e.g. on the distance, in the <mark>&#8216;Booking Sum Type&#8217;<\/mark> option, select <mark>&#8216;Variable&#8217;<\/mark> and define the prices in the table below, e.g. in the <mark>&#8216;Per kilometer&#8217;<\/mark> row you can set a new rate per kilometer.<\/p>\n<div class=\"tip\">\n<p><strong>Good to Know<\/strong><\/p>\n<p>If you do not want to change a given price item, we recommend that you select <mark>&#8216;- Inherited -&#8216;<\/mark> in the <mark>&#8216;Price alter&#8217;<\/mark> column instead of <mark>&#8216;Set value&#8217;<\/mark>.<\/p>\n<\/div>\n<p>After configuring the rule, save your changes by clicking the <mark>&#8216;Publish&#8217;<\/mark> button.<\/p>\n<h2>Example<\/h2>\n<p>In the example provided, I created 3 locations. Main station, airport and shopping mall. In my scenario, I provide services from the main station towards the airport and shopping mall. It is not possible to order a trip in the opposite direction, i.e. towards the station. The price for the course is fixed and is $30 to the airport and $15 to the shopping mall.<\/p>\n<ul>\n<li>First, I created all the locations &#8211; <a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/guides\/fixed_locations_01.png\">See screenshot<\/a><\/li>\n<li>I then selected them in my booking form &#8211; <a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/guides\/fixed_locations_02.png\">See screenshot<\/a><\/li>\n<li>I created the first pricing rule, setting <mark>&#8216;Conditions&#8217;<\/mark> &#8211; <a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/guides\/fixed_locations_03.png\">See screenshot<\/a><\/li>\n<li>And the rate in the <mark>&#8216;Prices&#8217;<\/mark> tab &#8211; <a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/guides\/fixed_locations_04.png\">See screenshot<\/a><\/li>\n<li>Similarly, I created a second pricing rule, setting <mark>&#8216;Conditions&#8217;<\/mark> &#8211; <a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/guides\/fixed_locations_05.png\">See screenshot<\/a><\/li>\n<li>And the rate in the <mark>&#8216;Prices&#8217;<\/mark> tab &#8211; <a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/guides\/fixed_locations_06.png\">See screenshot<\/a><\/li>\n<li>This is what the rules look like after saving &#8211; <a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/guides\/fixed_locations_07.png\">See screenshot<\/a><\/li>\n<li>This is what the form looks like &#8211; <a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/guides\/fixed_locations_08.png\">See screenshot<\/a><\/li>\n<li>Choosing a route to the airport &#8211; <a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/guides\/fixed_locations_09.png\">See screenshot<\/a><\/li>\n<li>Choosing a route to the shopping mall &#8211; <a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/guides\/fixed_locations_10.png\">See screenshot<\/a><\/li>\n<\/ul>\n<p>We hope that this guide will allow you to recreate your business model in Chauffeur Taxi Booking System.<\/p>\n<div class=\"doc-version\">\n<p><strong>Summary<\/strong><\/p>\n<p>Document version: 1.0<br \/>\n\tLast updated: October 18, 2023<br \/>\n\tPlugin version: 6.8+<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we will present practical ways to utilize fixed locations and establish pricing dependencies based on them in the Chauffeur Taxi Booking System. If your company provides transportation services on specific routes, if your transportation service always starts from a specific location, or if you have fixed destination points, then this guide is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"lsvr_kba_cat":[10],"lsvr_kba_tag":[],"_links":{"self":[{"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba\/383"}],"collection":[{"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/comments?post=383"}],"version-history":[{"count":26,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba\/383\/revisions"}],"predecessor-version":[{"id":584,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba\/383\/revisions\/584"}],"wp:attachment":[{"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/media?parent=383"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba_cat?post=383"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba_tag?post=383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}