{"id":1238,"date":"2025-08-14T11:06:37","date_gmt":"2025-08-14T09:06:37","guid":{"rendered":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/?post_type=lsvr_kba&#038;p=1238"},"modified":"2025-08-14T11:06:37","modified_gmt":"2025-08-14T09:06:37","slug":"working-with-geofence-zones","status":"publish","type":"lsvr_kba","link":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/working-with-geofence-zones\/","title":{"rendered":"Working with Geofence Zones"},"content":{"rendered":"<p>The <strong>Geofence<\/strong> feature in the Chauffeur Taxi Booking System lets you define custom geographic areas (zones) on a map and use them in both availability and pricing rules. You can find Geofence management in <mark>&#8216;Chauffeur Booking System&#8217;<\/mark> -&gt; <mark>&#8216;Geofence&#8217;<\/mark> menu.<\/p>\n<div class=\"tip\">\n<p><strong>Good to Know<\/strong><\/p>\n<p>Geofences work with addresses entered via the booking form (Google autosuggestion). When a customer\u2019s pickup or drop-off address falls inside a defined area, matching rules are applied automatically.<\/p>\n<\/div>\n<h2>Typical Use Cases<\/h2>\n<ul>\n<li>Operate in multiple cities and apply different price rates for each city.<\/li>\n<li>Add a fixed airport fee (e.g., +$10) when the trip involves the airport area.<\/li>\n<li>Split a large city into zones (e.g., rings around your depot) and raise prices for distant ones.<\/li>\n<li>Restrict availability so that only a specific vehicle is offered for pickups from a specific zone.<\/li>\n<\/ul>\n<h2>Create a Geofence Area<\/h2>\n<ol>\n<li>Go to <mark>&#8216;Chauffeur Booking System&#8217;<\/mark> -&gt; <mark>&#8216;Geofence&#8217;<\/mark> and click <mark>&#8216;Add New Geofence&#8217;<\/mark>.<\/li>\n<li>Use the search field with autosuggestion to find the desired address \u2014 the map centers on the location.<\/li>\n<li>Choose the polygon tool and mark the area by placing points. Make sure to close the shape by connecting the first and last point.<\/li>\n<li>Adjust the area by dragging points or adding new ones.<\/li>\n<li>If you want to start over, use <mark>&#8216;Remove selected shape&#8217;<\/mark> below the map.<\/li>\n<li>Enter a name in <mark>&#8216;Add Title&#8217;<\/mark> and click <mark>&#8216;Publish&#8217;<\/mark>.<\/li>\n<\/ol>\n<div class=\"tip\">\n<p><strong>Good to Know<\/strong><\/p>\n<p>You can create an unlimited number of geofences. Use clear, unique names (e.g., \u201cRome \u2013 Airport Zone\u201d, \u201cDepot Ring 2\u201d) to make rule configuration easier.<\/p>\n<\/div>\n<h2>Use Geofence in Availability Rules<\/h2>\n<p>Availability rules let you tailor what is available within selected areas. Go to <mark>&#8216;Chauffeur Booking System&#8217;<\/mark> -&gt; <mark>&#8216;Availability Rules&#8217;<\/mark> menu and click <mark>&#8216;Add New Availability Rule&#8217;<\/mark>.<\/p>\n<p><strong>Path to the condition:<\/strong> <mark>&#8216;Conditions&#8217;<\/mark> -&gt; <mark>&#8216;Locations&#8217;<\/mark> -&gt; <mark>&#8216;Geofence&#8217;<\/mark><\/p>\n<ul>\n<li><mark>&#8216;Pickup Geofence&#8217;<\/mark> \u2013 applies the rule when the pickup address is inside the chosen area.<\/li>\n<li><mark>&#8216;Drop-off Geofence&#8217;<\/mark> \u2013 applies the rule when the drop-off address is inside the chosen area.<\/li>\n<li>Setting both (Pickup &amp; Drop-off) applies the rule only when <strong>both<\/strong> locations are inside the specified area(s).<\/li>\n<li>You can select multiple areas for each field (e.g., Pickup = Rome; Drop-off = Rome or Naples).<\/li>\n<\/ul>\n<p><strong>What you can configure in an Availability Rule:<\/strong><\/p>\n<ul>\n<li>Exclude specific vehicles from the area (tab: <mark>&#8216;Vehicles&#8217;<\/mark>).<\/li>\n<li>Exclude specific booking extras from the area (tab: <mark>&#8216;Booking Extras&#8217;<\/mark>).<\/li>\n<li>Exclude payment methods in the area (tab: <mark>&#8216;Payments&#8217;<\/mark>).<\/li>\n<li>Override booking period settings in the area (tab: <mark>&#8216;Other&#8217;<\/mark>).<\/li>\n<li>Enforce a minimum order value for the area (tab: <mark>&#8216;Other&#8217;<\/mark>).<\/li>\n<\/ul>\n<p>When done, click <mark>&#8216;Publish&#8217;<\/mark>. If the booking form uses address autosuggestion, the rule will trigger automatically when the entered address matches the configured geofence.<\/p>\n<div class=\"tip\">\n<p><strong>Good to Know<\/strong><\/p>\n<p>Use Availability Rules for non-pricing behavior: restricting vehicles\/extras, disabling payment types, or overriding form constraints in selected zones.<\/p>\n<\/div>\n<h2>Use Geofence in Pricing Rules<\/h2>\n<p>Pricing rules let you apply custom rates for specific areas. Go to <mark>&#8216;Chauffeur Booking System&#8217;<\/mark> -&gt; <mark>&#8216;Pricing Rules&#8217;<\/mark> menu and click <mark>&#8216;Add New Pricing Rule&#8217;<\/mark>.<\/p>\n<p><strong>Path to the condition:<\/strong> <mark>&#8216;Conditions&#8217;<\/mark> -&gt; <mark>&#8216;Locations&#8217;<\/mark> -&gt; <mark>&#8216;Geofence&#8217;<\/mark><\/p>\n<ul>\n<li><mark>&#8216;Pickup Geofence&#8217;<\/mark> and\/or <mark>&#8216;Drop-off Geofence&#8217;<\/mark> \u2013 define where the rule should apply.<\/li>\n<li>If you don\u2019t need extra conditions (date, time, distance, passengers), go straight to the <mark>&#8216;Prices&#8217;<\/mark> tab and enter the rates.<\/li>\n<\/ul>\n<p><strong>Optional behavior tweak:<\/strong><\/p>\n<ul>\n<li>In the <mark>&#8216;Options&#8217;<\/mark> tab, use <mark>&#8216;Custom Vehicle Selection&#8217;<\/mark> to change how the <strong>Select<\/strong> button behaves in Step\u00a0#2 for the chosen geofence \u2014 for example, redirect it to a custom URL and change the button label. This allows you to send customers to a contact form, an external pricing page, or display a message such as \u201cService not available in this area\u201d instead of selecting a vehicle.<\/li>\n<\/ul>\n<p>When finished, click <mark>&#8216;Publish&#8217;<\/mark>. If the booking form uses address autosuggestion, the matching pricing rule will apply automatically when the entered address falls within the geofence area.<\/p>\n<div class=\"tip\">\n<p><strong>Good to Know<\/strong><\/p>\n<p>Use Pricing Rules for monetary effects: different price tables per city\/zone, airport surcharges, or distance-based markups tied to rings around your depot.<\/p>\n<\/div>\n<h2>Practical Examples<\/h2>\n<ul>\n<li><strong>Different cities, different rates:<\/strong> Create geofences for each city (e.g., \u201cRome\u201d, \u201cNaples\u201d) and separate pricing rules per city.<\/li>\n<li><strong>Airport surcharge:<\/strong> Create an \u201cAirport\u201d geofence and add a pricing rule with an <mark>&#8216;Initial Fee&#8217;<\/mark> (e.g., +$10) to apply a fixed charge when the pickup or drop-off is inside the airport area.<\/li>\n<li><strong>Distance rings:<\/strong> Create several concentric geofences around your base and apply incremental rate increases for outer rings.<\/li>\n<li><strong>Vehicle restriction for a hotel zone:<\/strong> Create a geofence around the hotel and use an availability rule to exclude all vehicles except the one you want to offer.<\/li>\n<\/ul>\n<p>Geofence areas give you precise control over availability and pricing based on location. By defining custom zones and applying them in rules, you can tailor your services, fees, and restrictions for specific regions \u2014 from city-based rates to special conditions like airport surcharges or vehicle limitations.<\/p>\n<div class=\"doc-version\"><strong>Summary<\/strong><br \/>\nDocument version: 1.0<br \/>\nLast updated: August 14, 2025<br \/>\nPlugin version: 6.8+<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Geofence feature in the Chauffeur Taxi Booking System lets you define custom geographic areas (zones) on a map and use them in both availability and pricing rules. You can find Geofence management in &#8216;Chauffeur Booking System&#8217; -&gt; &#8216;Geofence&#8217; menu. Good to Know Geofences work with addresses entered via the booking form (Google autosuggestion). When [&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\/1238"}],"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=1238"}],"version-history":[{"count":3,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba\/1238\/revisions"}],"predecessor-version":[{"id":1241,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba\/1238\/revisions\/1241"}],"wp:attachment":[{"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/media?parent=1238"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba_cat?post=1238"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba_tag?post=1238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}