{"id":568,"date":"2023-10-05T13:05:06","date_gmt":"2023-10-05T11:05:06","guid":{"rendered":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/?post_type=lsvr_kba&#038;p=568"},"modified":"2024-03-01T11:37:15","modified_gmt":"2024-03-01T10:37:15","slug":"variable-rate-per-distance-for-different-distance-intervals","status":"publish","type":"lsvr_kba","link":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/variable-rate-per-distance-for-different-distance-intervals\/","title":{"rendered":"Variable Rate per Distance for Different Distance Intervals"},"content":{"rendered":"<p>In this guide, we will present a pricing rule that varies the rate per kilometer depending on the distance. Whether it&#8217;s 10 km or 100 km, the price adapts to the journey&#8217;s length.<\/p>\n<div class=\"example\">\n<p><strong>Example<\/strong><\/p>\n<p>Distance in Km \u2013 Price Per Km<br \/>\n\t0-10 km &#8211; $3.50<br \/>\n\t10-20 km &#8211; $3.20<br \/>\n\t20-30 km &#8211; $3.00<br \/>\n\t30-50 km &#8211; $2.80<br \/>\n\t> 50 km &#8211; $2.50<br \/>\n\tand so on\u2026<\/p>\n<\/div>\n<div class=\"important\">\n<p><strong>Important!<\/strong><\/p>\n<p>If you have already created any price rules, deactivate them (move to the trash) because they may overwrite the final effect.<\/p>\n<\/div>\n<p><strong>Case:<\/strong> A customer requests a ride that covers a distance of 17 kilometers. With the variable rate per distance rule, you apply the rate of $3.20 per kilometer. So, the calculation is $3.20 x 17 = $54.40.<\/p>\n<p>We need only 1 rule to achieve the intended result.<\/p>\n<p>I will apply the rule to the <strong>BMW<\/strong> vehicle, as shown in the screenshots below.<\/p>\n<h2>Adding &#8216;Rule #1&#8217;<\/h2>\n<p><strong>Step 1.<\/strong> Go to the <mark>&#8216;Pricing Rules&#8217;<\/mark> menu and add a new pricing rule (Add New), I call it &#8216;Rule #1&#8217;.<\/p>\n<p><strong>Step 2.<\/strong> Go to the <mark>&#8216;Conditions&#8217;<\/mark> -> <mark>&#8216;Vehicles&#8217;<\/mark> tab and select the vehicle from the list (in my case &#8220;BMW 5 Series Long&#8221;).<\/p>\n<p><a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/pricing_rules_faq\/chauffeur_pricing_rule_03_01.png\">See screenshot<\/a><\/p>\n<p><strong>Step 3.<\/strong> Go to the <mark>&#8216;Conditions&#8217;<\/mark> -> <mark>&#8216;Distance&#8217;<\/mark> tab and set the parameters as shown in the screenshot below:<\/p>\n<p><a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/pricing_rules_faq\/chauffeur_pricing_rule_03_02.png\">See screenshot<\/a><\/p>\n<p><strong>Step 4.<\/strong> Go to the <mark>&#8216;Prices&#8217;<\/mark> tab and set the <mark>&#8216;Price Source Type&#8217;<\/mark> option to <mark>&#8216;Calculation based on distance (exact range)&#8217;<\/mark>. In addition, you should set all price types to <mark>&#8216;- Inherited -&#8216;<\/mark>, so that this rule has no impact (does not reset) the prices in your configuration. See the screenshot below:<\/p>\n<p><a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/pricing_rules_faq\/chauffeur_pricing_rule_03_03.png\">See screenshot<\/a><\/p>\n<p><strong>Step 5.<\/strong> Save the rule by clicking <mark>&#8216;Publish&#8217;<\/mark>. The rule should look like this:<\/p>\n<p><a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/pricing_rules_faq\/chauffeur_pricing_rule_03_04.png\">See screenshot<\/a><\/p>\n<h2>Final Result<\/h2>\n<p>Here&#8217;s the pricing effect for renting BMW 5 Series Long vehicle for different distances:<\/p>\n<p><a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/pricing_rules_faq\/chauffeur_pricing_rule_03_05.png\">See screenshot<\/a><\/p>\n<p><a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/pricing_rules_faq\/chauffeur_pricing_rule_03_06.png\">See screenshot<\/a><\/p>\n<p><a href=\"https:\/\/quanticalabs.com\/Envato\/Items\/Chauffeur_Booking_System_WordPress\/pricing_rules_faq\/chauffeur_pricing_rule_03_07.png\">See screenshot<\/a><\/p>\n<p>We trust this guide has empowered you to implement cumulative distance pricing, providing straightforward and predictable fares in your chauffeur booking system. Thank you for reading!<\/p>\n<div class=\"doc-version\">\n<p><strong>Summary<\/strong><\/p>\n<p>Document version: 1.1<br \/>\n\tLast updated: October 5, 2023<br \/>\n\tPlugin version: 6.8+<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we will present a pricing rule that varies the rate per kilometer depending on the distance. Whether it&#8217;s 10 km or 100 km, the price adapts to the journey&#8217;s length. Example Distance in Km \u2013 Price Per Km 0-10 km &#8211; $3.50 10-20 km &#8211; $3.20 20-30 km &#8211; $3.00 30-50 km [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"lsvr_kba_cat":[7],"lsvr_kba_tag":[],"class_list":["post-568","lsvr_kba","type-lsvr_kba","status-publish","format-standard","hentry","lsvr_kba_cat-pricing-rules"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Variable Rate per Distance for Different Distance Intervals | Chauffeur Taxi Booking System for WordPress<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/variable-rate-per-distance-for-different-distance-intervals\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Variable Rate per Distance for Different Distance Intervals | Chauffeur Taxi Booking System for WordPress\" \/>\n<meta property=\"og:description\" content=\"In this guide, we will present a pricing rule that varies the rate per kilometer depending on the distance. Whether it&#8217;s 10 km or 100 km, the price adapts to the journey&#8217;s length. Example Distance in Km \u2013 Price Per Km 0-10 km &#8211; $3.50 10-20 km &#8211; $3.20 20-30 km &#8211; $3.00 30-50 km [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/variable-rate-per-distance-for-different-distance-intervals\/\" \/>\n<meta property=\"og:site_name\" content=\"Chauffeur Taxi Booking System for WordPress\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-01T10:37:15+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/knowledge-base\\\/variable-rate-per-distance-for-different-distance-intervals\\\/\",\"url\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/knowledge-base\\\/variable-rate-per-distance-for-different-distance-intervals\\\/\",\"name\":\"Variable Rate per Distance for Different Distance Intervals | Chauffeur Taxi Booking System for WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/#website\"},\"datePublished\":\"2023-10-05T11:05:06+00:00\",\"dateModified\":\"2024-03-01T10:37:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/knowledge-base\\\/variable-rate-per-distance-for-different-distance-intervals\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/knowledge-base\\\/variable-rate-per-distance-for-different-distance-intervals\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/knowledge-base\\\/variable-rate-per-distance-for-different-distance-intervals\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Variable Rate per Distance for Different Distance Intervals\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/#website\",\"url\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/\",\"name\":\"Chauffeur Taxi Booking System for WordPress\",\"description\":\"Documentation\",\"publisher\":{\"@id\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/#organization\",\"name\":\"QuanticaLabs\",\"url\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/06\\\/quanticalabs-512x512-1.png\",\"contentUrl\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/06\\\/quanticalabs-512x512-1.png\",\"width\":512,\"height\":512,\"caption\":\"QuanticaLabs\"},\"image\":{\"@id\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Variable Rate per Distance for Different Distance Intervals | Chauffeur Taxi Booking System for WordPress","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/variable-rate-per-distance-for-different-distance-intervals\/","og_locale":"en_US","og_type":"article","og_title":"Variable Rate per Distance for Different Distance Intervals | Chauffeur Taxi Booking System for WordPress","og_description":"In this guide, we will present a pricing rule that varies the rate per kilometer depending on the distance. Whether it&#8217;s 10 km or 100 km, the price adapts to the journey&#8217;s length. Example Distance in Km \u2013 Price Per Km 0-10 km &#8211; $3.50 10-20 km &#8211; $3.20 20-30 km &#8211; $3.00 30-50 km [&hellip;]","og_url":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/variable-rate-per-distance-for-different-distance-intervals\/","og_site_name":"Chauffeur Taxi Booking System for WordPress","article_modified_time":"2024-03-01T10:37:15+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/variable-rate-per-distance-for-different-distance-intervals\/","url":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/variable-rate-per-distance-for-different-distance-intervals\/","name":"Variable Rate per Distance for Different Distance Intervals | Chauffeur Taxi Booking System for WordPress","isPartOf":{"@id":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/#website"},"datePublished":"2023-10-05T11:05:06+00:00","dateModified":"2024-03-01T10:37:15+00:00","breadcrumb":{"@id":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/variable-rate-per-distance-for-different-distance-intervals\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/variable-rate-per-distance-for-different-distance-intervals\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/variable-rate-per-distance-for-different-distance-intervals\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/"},{"@type":"ListItem","position":3,"name":"Variable Rate per Distance for Different Distance Intervals"}]},{"@type":"WebSite","@id":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/#website","url":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/","name":"Chauffeur Taxi Booking System for WordPress","description":"Documentation","publisher":{"@id":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/#organization","name":"QuanticaLabs","url":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/#\/schema\/logo\/image\/","url":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-content\/uploads\/sites\/2\/2026\/06\/quanticalabs-512x512-1.png","contentUrl":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-content\/uploads\/sites\/2\/2026\/06\/quanticalabs-512x512-1.png","width":512,"height":512,"caption":"QuanticaLabs"},"image":{"@id":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba\/568","targetHints":{"allow":["GET"]}}],"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=568"}],"version-history":[{"count":6,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba\/568\/revisions"}],"predecessor-version":[{"id":601,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba\/568\/revisions\/601"}],"wp:attachment":[{"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/media?parent=568"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba_cat?post=568"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba_tag?post=568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}