{"id":226,"date":"2018-03-08T15:36:59","date_gmt":"2018-03-08T15:36:59","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking-new-new-new\/?p=226"},"modified":"2023-03-28T14:53:00","modified_gmt":"2023-03-28T14:53:00","slug":"calendar-range-picker","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/","title":{"rendered":"How to show the date-picker"},"content":{"rendered":"\n<p class=\"has-background\" style=\"background-color:#fcf8e3\"> <b>Only if<\/b> you have set&nbsp;<strong>&#8220;Customer can book units of &#8211;<\/strong>&nbsp;<b>1 day&#8221;<\/b> as booking unit the &#8220;Enable calendar range picker&#8221; option will be visible. <\/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\/calendar-range-picker.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"277\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/calendar-range-picker-1024x277.png\" alt=\"Enable calendar range picker\" class=\"wp-image-3775\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/calendar-range-picker-1024x277.png 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/calendar-range-picker-300x81.png 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/calendar-range-picker-768x208.png 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/calendar-range-picker.png 1522w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Once you enable the <strong>&#8220;Enable calendar range picker&#8221;<\/strong> option, an interactive calendar will appear to let your users select the booking date.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking-new-new-new\/wp-content\/uploads\/sites\/294\/2018\/03\/Calendar-with-without-range-picker.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"776\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking-new-new-new\/wp-content\/uploads\/sites\/294\/2018\/03\/Calendar-with-without-range-picker.png\" alt=\"Calendar with - without range picker\" class=\"wp-image-1879\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/Calendar-with-without-range-picker.png 820w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/Calendar-with-without-range-picker-300x284.png 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2018\/03\/Calendar-with-without-range-picker-768x727.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/a><\/figure>\n\n\n\n<p>In the example above, the minimum duration is set to <em>3 days. <\/em>The duration is automatically calculated, meaning that when you select the &#8216;check-in date&#8217;, the system automatically blocks the 3 next days.<\/p>\n\n\n\n<p>From YITH &gt; Booking &gt; Settings &gt;&nbsp;<strong>\u201cCustomizations\u201d<\/strong> you can manage the way you want to show the date picker and calendar in the booking form.<\/p>\n\n\n\n<p>Go to this page <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-options\/\"><strong>here<\/strong><\/a> to read about the options.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Only if you have set&nbsp;&#8220;Customer can book units of &#8211;&nbsp;1 day&#8221; as booking unit the &#8220;Enable calendar range picker&#8221; option will be visible. Once you enable the &#8220;Enable calendar range picker&#8221; option, an interactive calendar will appear to let your users select the booking date. In the example above, the minimum duration is set to &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to show the date-picker<\/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":[9,5],"tags":[],"class_list":["post-226","post","type-post","status-publish","format-standard","hentry","category-booking-duration","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: How to show the date-picker<\/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: How to show the date-picker\" \/>\n<meta property=\"og:description\" content=\"Only if you have set&nbsp;&#8220;Customer can book units of &#8211;&nbsp;1 day&#8221; as booking unit the &#8220;Enable calendar range picker&#8221; option will be visible. Once you enable the &#8220;Enable calendar range picker&#8221; option, an interactive calendar will appear to let your users select the booking date. In the example above, the minimum duration is set to &hellip; Continue reading How to show the date-picker\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce Booking and Appointment\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-08T15:36:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-28T14:53:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/calendar-range-picker-1024x277.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=\"1 minute\" \/>\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\/calendar-range-picker\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/\",\"name\":\"YITH Booking and Appointment: How to show the date-picker\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/calendar-range-picker-1024x277.png\",\"datePublished\":\"2018-03-08T15:36:59+00:00\",\"dateModified\":\"2023-03-28T14:53:00+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\/calendar-range-picker\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/calendar-range-picker.png\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/calendar-range-picker.png\",\"width\":1522,\"height\":412},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to show the date-picker\"}]},{\"@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: How to show the date-picker","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: How to show the date-picker","og_description":"Only if you have set&nbsp;&#8220;Customer can book units of &#8211;&nbsp;1 day&#8221; as booking unit the &#8220;Enable calendar range picker&#8221; option will be visible. Once you enable the &#8220;Enable calendar range picker&#8221; option, an interactive calendar will appear to let your users select the booking date. In the example above, the minimum duration is set to &hellip; Continue reading How to show the date-picker","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/","og_site_name":"YITH WooCommerce Booking and Appointment","article_published_time":"2018-03-08T15:36:59+00:00","article_modified_time":"2023-03-28T14:53:00+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/calendar-range-picker-1024x277.png","type":"","width":"","height":""}],"author":"Alessio Torrisi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alessio Torrisi","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/","name":"YITH Booking and Appointment: How to show the date-picker","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/calendar-range-picker-1024x277.png","datePublished":"2018-03-08T15:36:59+00:00","dateModified":"2023-03-28T14:53:00+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\/calendar-range-picker\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/calendar-range-picker.png","contentUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-content\/uploads\/sites\/294\/2023\/03\/calendar-range-picker.png","width":1522,"height":412},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/premium-version-settings\/calendar-range-picker\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/"},{"@type":"ListItem","position":2,"name":"How to show the date-picker"}]},{"@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\/226","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=226"}],"version-history":[{"count":21,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/posts\/226\/revisions"}],"predecessor-version":[{"id":3776,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/posts\/226\/revisions\/3776"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/media?parent=226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/categories?post=226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-booking\/wp-json\/wp\/v2\/tags?post=226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}