{"id":175,"date":"2018-03-08T15:09:12","date_gmt":"2018-03-08T15:09:12","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking-new-new-new\/?p=175"},"modified":"2023-03-30T11:46:29","modified_gmt":"2023-03-30T11:46:29","slug":"global-costs","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/","title":{"rendered":"Global costs"},"content":{"rendered":"<p>The plugin allows you to vary prices on all products globally by applying the changes only on preset time frames.<\/p>\n<p>To do that, go to YITH &gt; Booking &gt; Configuration &gt; <b>&#8220;<\/b><strong>Price rules&#8221;<\/strong> and define a new range to apply variations on the booking costs. Please check this page <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/price-rules\/\">here<\/a> for further details.<\/p>\n<p><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3833\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules.png\" alt=\"Global price rules\" width=\"2600\" height=\"786\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules.png 2600w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules-300x91.png 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules-1024x310.png 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules-768x232.png 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules-1536x464.png 1536w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules-2048x619.png 2048w\" sizes=\"auto, (max-width: 2600px) 100vw, 2600px\" \/><\/a><\/p>\n<p><strong>What happens if both global and specific product rules apply to the bookable product?<\/strong><\/p>\n<p>The rules that you define in the &#8220;Bookable&#8221; product will be processed first.<br \/>\nThis means that first the product rules are applied to the original price, and after that, the global price rules apply. The global price rules are <b>applied to the price that has already been edited<\/b> by product rules (so not to the original price).<\/p>\n<h6>Example of global + product rules<\/h6>\n<p><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking-new-new-new\/wp-content\/uploads\/sites\/294\/2018\/03\/product-rules-and-global-rules-settings.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1999\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking-new-new-new\/wp-content\/uploads\/sites\/294\/2018\/03\/product-rules-and-global-rules-settings.png\" alt=\"product rules and global rules settings\" width=\"963\" height=\"800\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/product-rules-and-global-rules-settings.png 963w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/product-rules-and-global-rules-settings-300x249.png 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/product-rules-and-global-rules-settings-768x638.png 768w\" sizes=\"auto, (max-width: 963px) 100vw, 963px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\"><em>We have created 2 rules, 1 global rule and 1 product-specific rule. <\/em><\/p>\n<p style=\"padding-left: 40px;\"><em><strong>Global rule:\u00a0<\/strong>A promo of 10% off in the summer season, is applied to the base price of all bookable products during that time period.<\/em><\/p>\n<p style=\"padding-left: 40px;\"><em><strong>Product rule:\u00a0<\/strong>For this specific bookable product, we have created a fixed group discount of $ 50 if the booking includes 5 &#8211; 10 people. This rule is created from the bookable product edit page.<\/em><\/p>\n<p><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking-new-new-new\/wp-content\/uploads\/sites\/294\/2018\/03\/example-of-applied-global-product-rules7.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2000 size-full\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking-new-new-new\/wp-content\/uploads\/sites\/294\/2018\/03\/example-of-applied-global-product-rules7.png\" alt=\"example of applied global product rules\" width=\"784\" height=\"877\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/example-of-applied-global-product-rules7.png 784w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/example-of-applied-global-product-rules7-268x300.png 268w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/example-of-applied-global-product-rules7-768x859.png 768w\" sizes=\"auto, (max-width: 784px) 100vw, 784px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\"><em>When we only enable the <strong>&#8220;Global rule&#8221;<\/strong> the price for 1 day, 6 people is:<\/em><br \/>\n<em>Base price $ 100 &#8211; 10% global discount = $ 90<\/em><br \/>\n<em>$ 90 x 6 people = <strong>$ 540 total price<\/strong><\/em><\/p>\n<p style=\"padding-left: 40px;\"><em>When enabling both <strong>&#8220;Global &amp; product&#8221; <\/strong>rules, the price for 1 day, 6 people is:<\/em><br \/>\n<em>Base price $100 &#8211; $50 product discount = $50<\/em><br \/>\n<em>$ 50 &#8211; 10% global discount = $45<\/em><br \/>\n<em>$ 45 x 6 people =\u00a0<strong>$ 270 total price<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The plugin allows you to vary prices on all products globally by applying the changes only on preset time frames. To do that, go to YITH &gt; Booking &gt; Configuration &gt; &#8220;Price rules&#8221; and define a new range to apply variations on the booking costs. Please check this page here for further details. What happens &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Global costs<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,5],"tags":[],"class_list":["post-175","post","type-post","status-publish","format-standard","hentry","category-booking-costs","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: Global costs<\/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: Global costs\" \/>\n<meta property=\"og:description\" content=\"The plugin allows you to vary prices on all products globally by applying the changes only on preset time frames. To do that, go to YITH &gt; Booking &gt; Configuration &gt; &#8220;Price rules&#8221; and define a new range to apply variations on the booking costs. Please check this page here for further details. What happens &hellip; Continue reading Global costs\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce Booking and Appointment\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-08T15:09:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-30T11:46:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules.png\" \/>\n<meta name=\"author\" content=\"Alessio Torrisi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alessio Torrisi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 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\/global-costs\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/\",\"name\":\"YITH Booking and Appointment: Global costs\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules.png\",\"datePublished\":\"2018-03-08T15:09:12+00:00\",\"dateModified\":\"2023-03-30T11:46:29+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules.png\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Global costs\"}]},{\"@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\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\",\"name\":\"Alessio Torrisi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"caption\":\"Alessio Torrisi\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/author\/alessio\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Booking and Appointment: Global costs","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: Global costs","og_description":"The plugin allows you to vary prices on all products globally by applying the changes only on preset time frames. To do that, go to YITH &gt; Booking &gt; Configuration &gt; &#8220;Price rules&#8221; and define a new range to apply variations on the booking costs. Please check this page here for further details. What happens &hellip; Continue reading Global costs","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/","og_site_name":"YITH WooCommerce Booking and Appointment","article_published_time":"2018-03-08T15:09:12+00:00","article_modified_time":"2023-03-30T11:46:29+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules.png","type":"","width":"","height":""}],"author":"Alessio Torrisi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alessio Torrisi","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/","name":"YITH Booking and Appointment: Global costs","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules.png","datePublished":"2018-03-08T15:09:12+00:00","dateModified":"2023-03-30T11:46:29+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules.png","contentUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/global-price-rules.png"},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/global-costs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/"},{"@type":"ListItem","position":2,"name":"Global costs"}]},{"@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":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5","name":"Alessio Torrisi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","caption":"Alessio Torrisi"},"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/author\/alessio\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/posts\/175","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/comments?post=175"}],"version-history":[{"count":18,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/posts\/175\/revisions"}],"predecessor-version":[{"id":3835,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/posts\/175\/revisions\/3835"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/media?parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/categories?post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/tags?post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}