{"id":1737,"date":"2021-10-28T12:24:46","date_gmt":"2021-10-28T12:24:46","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking-new-new-new\/?p=1737"},"modified":"2023-03-27T14:35:01","modified_gmt":"2023-03-27T14:35:01","slug":"price-rules","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/","title":{"rendered":"Price rules"},"content":{"rendered":"\n<p>From YITH &gt; Booking &gt; Configuration &gt;&nbsp;<strong>&#8220;Price rules&#8221;<\/strong> you can manage the global price rules of your store.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"377\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules-1024x377.png\" alt=\"Price rules\" class=\"wp-image-3708\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules-1024x377.png 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules-300x110.png 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules-768x283.png 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules-1536x565.png 1536w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules.png 1902w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>This section <strong>only<\/strong> needs to be used for &#8216;<em>special rules<\/em>&#8216; when not using default product rules.<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#fcf8e3\">We recommend using these rules as little as possible, instead, use the default rules on the product edit page.\u00a0You can learn how to do so, <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/standard-prices-discounts-extra-costs-and-advanced-price-rules\/\"><strong>here<\/strong><\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Setting a price rule<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"959\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rule-1024x959.png\" alt=\"\" class=\"wp-image-3710\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rule-1024x959.png 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rule-300x281.png 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rule-768x719.png 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rule.png 1232w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Rule name:&nbsp;<\/strong>Name for internal use only, we call it<b><i>.<\/i><\/b><\/li>\n\n\n\n<li><b>Conditions:&nbsp;<\/b>Based on what you want to apply price rules:\n<ul class=\"wp-block-list\">\n<li>Custom date range<\/li>\n\n\n\n<li>range of months<\/li>\n\n\n\n<li>range of year&#8217;s weeks<\/li>\n\n\n\n<li>range of days<\/li>\n\n\n\n<li>people count<\/li>\n\n\n\n<li>duration unit<\/li>\n\n\n\n<li>time range<\/li>\n\n\n\n<li>people (kids, adults etc.).\n<ul class=\"wp-block-list\">\n<li><strong>from-to<\/strong> is a range of values, the &#8220;meaning&#8221; depends on the &#8220;Type&#8221; selection<br><em>&#8220;Adult&#8221; -&gt; from-to is a range of number of Adults (from 1 Adult to 5 Adults) <\/em><br><em>&#8220;Custom date rage&#8221; -&gt; from-to is a range of dates (from 1st Jan to 5th Jan) <\/em><br><em>&#8220;Duration unit&#8221; -&gt; from-to is a range of duration ( from 1 day to 5 days)<\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><b>Rule changes the base price:&nbsp;<\/b>The base price of the products is affected by the rule<\/li>\n\n\n\n<li><strong>Rule changes the fixed base fee:\u00a0<\/strong>The rules affect the fixed base fee of the products.<\/li>\n\n\n\n<li>When enabling any of the 2 above options, you can change the price<br><em>&#8211; increase the price by<\/em><br><em>&#8211; decrease the price by<\/em><br><em>&#8211; multiply the price by<\/em><br><em>&#8211; divide the price by<\/em><br><em>&#8211; set the price to<\/em><br><em>&#8211; increase the price as a percentage by<\/em><br><em>&#8211; decrease the price as a percentage by<\/em><\/li>\n\n\n\n<li><strong>Exclude products<\/strong>: Enable this option if you want one or more bookable products to be excluded from the rule.\n<ul class=\"wp-block-list\"><\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>You can override the rules you created on this page, per product on the product level.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">Summer promo example<\/h6>\n\n\n\n<p><em>For our &#8216;Summer promo&#8217; we have decided to give the customers a discount of 10% during the summer. We selected\u00a0<strong>&#8220;Range of months&#8221;\u00a0<\/strong>to indicate the summer season, and used the\u00a0<strong>&#8220;<\/strong>decrease the base price as a percentage by&#8221; (- 10 %).<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/promo-rule.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"754\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/promo-rule-1024x754.png\" alt=\"Promo rule example\" class=\"wp-image-3712\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/promo-rule-1024x754.png 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/promo-rule-300x221.png 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/promo-rule-768x566.png 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/promo-rule.png 1252w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p><em>The product&#8217;s base price is set to $100 per day, and as you can see in the example below, the price has been discounted by 10% for the booking in July (summer season).\u00a0<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/promo.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"530\" height=\"656\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/promo.png\" alt=\"Promo example\" class=\"wp-image-3711\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/promo.png 530w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/promo-242x300.png 242w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>From YITH &gt; Booking &gt; Configuration &gt;&nbsp;&#8220;Price rules&#8221; you can manage the global price rules of your store. This section only needs to be used for &#8216;special rules&#8216; when not using default product rules. We recommend using these rules as little as possible, instead, use the default rules on the product edit page.\u00a0You can learn &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Price rules<\/span><\/a><\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,5],"tags":[],"class_list":["post-1737","post","type-post","status-publish","format-standard","hentry","category-configuration","category-premium-version-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Booking and Appointment: Price rules<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Booking and Appointment: Price rules\" \/>\n<meta property=\"og:description\" content=\"From YITH &gt; Booking &gt; Configuration &gt;&nbsp;&#8220;Price rules&#8221; you can manage the global price rules of your store. This section only needs to be used for &#8216;special rules&#8216; when not using default product rules. We recommend using these rules as little as possible, instead, use the default rules on the product edit page.\u00a0You can learn &hellip; Continue reading Price rules\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce Booking and Appointment\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-28T12:24:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-27T14:35:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules-1024x377.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/\",\"name\":\"YITH Booking and Appointment: Price rules\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules-1024x377.png\",\"datePublished\":\"2021-10-28T12:24:46+00:00\",\"dateModified\":\"2023-03-27T14:35:01+00:00\",\"author\":{\"@id\":\"\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules.png\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules.png\",\"width\":1902,\"height\":700},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Price rules\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/\",\"name\":\"YITH WooCommerce Booking and Appointment\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/author\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Booking and Appointment: Price rules","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"YITH Booking and Appointment: Price rules","og_description":"From YITH &gt; Booking &gt; Configuration &gt;&nbsp;&#8220;Price rules&#8221; you can manage the global price rules of your store. This section only needs to be used for &#8216;special rules&#8216; when not using default product rules. We recommend using these rules as little as possible, instead, use the default rules on the product edit page.\u00a0You can learn &hellip; Continue reading Price rules","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/","og_site_name":"YITH WooCommerce Booking and Appointment","article_published_time":"2021-10-28T12:24:46+00:00","article_modified_time":"2023-03-27T14:35:01+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules-1024x377.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/","name":"YITH Booking and Appointment: Price rules","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules-1024x377.png","datePublished":"2021-10-28T12:24:46+00:00","dateModified":"2023-03-27T14:35:01+00:00","author":{"@id":""},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules.png","contentUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/price-rules.png","width":1902,"height":700},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/"},{"@type":"ListItem","position":2,"name":"Price rules"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#website","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/","name":"YITH WooCommerce Booking and Appointment","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/author\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/posts\/1737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/comments?post=1737"}],"version-history":[{"count":13,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/posts\/1737\/revisions"}],"predecessor-version":[{"id":3713,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/posts\/1737\/revisions\/3713"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/media?parent=1737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/categories?post=1737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/tags?post=1737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}