{"id":741,"date":"2024-04-17T11:52:18","date_gmt":"2024-04-17T09:52:18","guid":{"rendered":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/?post_type=lsvr_kba&#038;p=741"},"modified":"2026-11-20T13:55:27","modified_gmt":"2026-11-20T12:55:27","slug":"order-of-rules-execution","status":"publish","type":"lsvr_kba","link":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/order-of-rules-execution\/","title":{"rendered":"Order of Rules Execution"},"content":{"rendered":"<p>When several <mark>&#8216;Pricing Rules&#8217;<\/mark> match the same booking, Chauffeur Taxi Booking System applies them in a defined sequence. The execution order is controlled by three settings: <mark>&#8216;Rule Level&#8217;<\/mark>, <mark>&#8216;Order&#8217;<\/mark>, and <mark>&#8216;Next Rule Processing&#8217;<\/mark>. Understanding how these settings work together helps prevent unexpected price changes.<\/p>\n<h2>Execution Settings<\/h2>\n<table style=\"border-collapse:collapse;width:100%;border:1px solid #EAEDF3;\">\n<thead>\n<tr style=\"background:#F7F9FC;\">\n<th style=\"padding:13px 16px;text-align:left;border:1px solid #EAEDF3;\">Setting<\/th>\n<th style=\"padding:13px 16px;text-align:left;border:1px solid #EAEDF3;\">How It Works<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\"><strong>Rule Level<\/strong><\/td>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">Determines which group of rules is checked first. Higher levels are processed before lower levels. Set it in the rule&#8217;s <mark>&#8216;Options&#8217;<\/mark> tab. The setting is optional; an empty value uses the highest default level (<strong>9999<\/strong>).<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\"><strong>Order<\/strong><\/td>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">Determines the sequence <strong>within the same Rule Level<\/strong>. The matching rule with the highest Order runs first. Set it in the WordPress editor sidebar under <mark>&#8216;Post Attributes&#8217;<\/mark> -&gt; <mark>&#8216;Order&#8217;<\/mark>.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\"><strong>Next Rule Processing<\/strong><\/td>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">Controls whether to check more matching rules <strong>at the current level<\/strong>. <mark>&#8216;Enable&#8217;<\/mark> continues to the next matching rule; <mark>&#8216;Disable&#8217;<\/mark> ends processing at that level. If lower levels exist, they are still processed. Find this option in the rule&#8217;s <mark>&#8216;Options&#8217;<\/mark> tab.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"tip\">\n<p><strong>Good to Know<\/strong><\/p>\n<p>Assign different <mark>&#8216;Order&#8217;<\/mark> values to rules that might match the same booking. If matching rules have the same Order (for example, both use <strong>0<\/strong>), their relative execution order is not guaranteed.<\/p>\n<\/div>\n<h2>How Rules Are Executed<\/h2>\n<ol>\n<li>The plugin starts at the highest configured <mark>&#8216;Rule Level&#8217;<\/mark>. If no custom levels are specified, all rules use the default highest level.<\/li>\n<li>At that level, it checks matching rules in descending <mark>&#8216;Order&#8217;<\/mark>, starting with the highest value.<\/li>\n<li>When a rule matches, it applies the configured price changes. Components set to <mark>&#8216;- Inherited -&#8216;<\/mark> retain their current values.<\/li>\n<li>If <mark>&#8216;Next Rule Processing&#8217;<\/mark> is set to <mark>&#8216;Enable&#8217;<\/mark>, the plugin can execute the next matching rule at the same level. If set to <mark>&#8216;Disable&#8217;<\/mark>, it skips the remaining rules at that level.<\/li>\n<li>Once processing at the current level ends, the plugin moves to the next lower configured level, if one exists, and repeats the process. Execution finishes after all applicable levels have been checked.<\/li>\n<\/ol>\n<h2>Example: Multiple Matching Rules<\/h2>\n<p>Suppose three rules match a booking:<\/p>\n<table style=\"border-collapse:collapse;width:100%;border:1px solid #EAEDF3;\">\n<thead>\n<tr style=\"background:#F7F9FC;\">\n<th style=\"padding:13px 16px;text-align:left;border:1px solid #EAEDF3;\">Rule<\/th>\n<th style=\"padding:13px 16px;text-align:left;border:1px solid #EAEDF3;\">Rule Level<\/th>\n<th style=\"padding:13px 16px;text-align:left;border:1px solid #EAEDF3;\">Order<\/th>\n<th style=\"padding:13px 16px;text-align:left;border:1px solid #EAEDF3;\">Next Rule Processing<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">Rule A<\/td>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">9999<\/td>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">20<\/td>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">Disable<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">Rule B<\/td>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">9999<\/td>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">10<\/td>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">Enable<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">Rule C<\/td>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">9998<\/td>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">5<\/td>\n<td style=\"padding:13px 16px;border:1px solid #EAEDF3;\">Disable<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Rule A<\/strong> executes first because it has the highest Order at level 9999. Its <mark>&#8216;Next Rule Processing&#8217;<\/mark> setting is <mark>&#8216;Disable&#8217;<\/mark>, so <strong>Rule B<\/strong> is skipped. The plugin then checks level 9998, where <strong>Rule C<\/strong> can still execute. Disabling next-rule processing does <strong>not<\/strong> prevent rules at lower levels from running.<\/p>\n<h2>How Multiple Rules Affect Prices<\/h2>\n<p>Each matching rule can modify individual price components. A later executed rule can change a value set by an earlier rule, while a component marked <mark>&#8216;- Inherited -&#8216;<\/mark> keeps its previously determined value. Rules do not automatically add their complete price tables together.<\/p>\n<p>If your configuration does not require several execution levels, you can leave <mark>&#8216;Rule Level&#8217;<\/mark> at its default and control rule priority with <mark>&#8216;Order&#8217;<\/mark> and <mark>&#8216;Next Rule Processing&#8217;<\/mark>. For a broader explanation of the available pricing conditions and settings, see <a href=\"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/pricing-rules-overview\/\">Pricing Rules Overview<\/a>.<\/p>\n<div class=\"doc-version\">\n<p><strong>Summary<\/strong><\/p>\n<p>Document version: 1.1<br \/>Last updated: November 20, 2026<br \/>Plugin version: 9.8+<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>When several &#8216;Pricing Rules&#8217; match the same booking, Chauffeur Taxi Booking System applies them in a defined sequence. The execution order is controlled by three settings: &#8216;Rule Level&#8217;, &#8216;Order&#8217;, and &#8216;Next Rule Processing&#8217;. Understanding how these settings work together helps prevent unexpected price changes. Execution Settings Setting How It Works Rule Level Determines which group [&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-741","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>Order of Rules Execution | 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\/order-of-rules-execution\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Order of Rules Execution | Chauffeur Taxi Booking System for WordPress\" \/>\n<meta property=\"og:description\" content=\"When several &#8216;Pricing Rules&#8217; match the same booking, Chauffeur Taxi Booking System applies them in a defined sequence. The execution order is controlled by three settings: &#8216;Rule Level&#8217;, &#8216;Order&#8217;, and &#8216;Next Rule Processing&#8217;. Understanding how these settings work together helps prevent unexpected price changes. Execution Settings Setting How It Works Rule Level Determines which group [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/order-of-rules-execution\/\" \/>\n<meta property=\"og:site_name\" content=\"Chauffeur Taxi Booking System for WordPress\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-20T12:55:27+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=\"3 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\\\/order-of-rules-execution\\\/\",\"url\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/knowledge-base\\\/order-of-rules-execution\\\/\",\"name\":\"Order of Rules Execution | Chauffeur Taxi Booking System for WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/#website\"},\"datePublished\":\"2024-04-17T09:52:18+00:00\",\"dateModified\":\"2026-11-20T12:55:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/knowledge-base\\\/order-of-rules-execution\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/knowledge-base\\\/order-of-rules-execution\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/quanticalabs.com\\\/docs\\\/chauffeur-booking-system\\\/knowledge-base\\\/order-of-rules-execution\\\/#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\":\"Order of Rules Execution\"}]},{\"@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":"Order of Rules Execution | 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\/order-of-rules-execution\/","og_locale":"en_US","og_type":"article","og_title":"Order of Rules Execution | Chauffeur Taxi Booking System for WordPress","og_description":"When several &#8216;Pricing Rules&#8217; match the same booking, Chauffeur Taxi Booking System applies them in a defined sequence. The execution order is controlled by three settings: &#8216;Rule Level&#8217;, &#8216;Order&#8217;, and &#8216;Next Rule Processing&#8217;. Understanding how these settings work together helps prevent unexpected price changes. Execution Settings Setting How It Works Rule Level Determines which group [&hellip;]","og_url":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/order-of-rules-execution\/","og_site_name":"Chauffeur Taxi Booking System for WordPress","article_modified_time":"2026-11-20T12:55:27+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/order-of-rules-execution\/","url":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/order-of-rules-execution\/","name":"Order of Rules Execution | Chauffeur Taxi Booking System for WordPress","isPartOf":{"@id":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/#website"},"datePublished":"2024-04-17T09:52:18+00:00","dateModified":"2026-11-20T12:55:27+00:00","breadcrumb":{"@id":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/order-of-rules-execution\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/order-of-rules-execution\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/order-of-rules-execution\/#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":"Order of Rules Execution"}]},{"@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\/741","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=741"}],"version-history":[{"count":8,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba\/741\/revisions"}],"predecessor-version":[{"id":1577,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba\/741\/revisions\/1577"}],"wp:attachment":[{"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/media?parent=741"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba_cat?post=741"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba_tag?post=741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}