{"id":5,"date":"2026-11-11T14:06:51","date_gmt":"2026-11-11T14:06:51","guid":{"rendered":"https:\/\/yoptimize.de\/wp-content\/ydm-demos\/hairstyle\/hairstyle-booking\/"},"modified":"2026-11-16T09:35:27","modified_gmt":"2026-11-16T09:35:27","slug":"hairstyle-booking","status":"publish","type":"page","link":"https:\/\/demo.yoptimize.de\/hairstyle\/hairstyle-booking\/","title":{"rendered":"Book appointment"},"content":{"rendered":"\n\n<div class=\"yhbs-frontend-form\">\n            <div class=\"infotext\">\n                    <\/div>\n        \n    <div class=\"stepper-wrapper yhbs-stepper\">\n      <div class=\"stepper-item step1 active\">\n        <div class=\"step-counter\">1<\/div>\n        <div class=\"step-name\">Service  <\/div>\n      <\/div>\n      <div class=\"stepper-item step2\">\n        <div class=\"step-counter\">2<\/div>\n        <div class=\"step-name\">Appointment<\/div>\n      <\/div>\n      <div class=\"stepper-item step3\">\n        <div class=\"step-counter\">3<\/div>\n        <div class=\"step-name\">Details<\/div>\n      <\/div>\n      <div class=\"stepper-item step4\">\n        <div class=\"step-counter\">4<\/div>\n        <div class=\"step-name\">Payment<\/div>\n      <\/div>\n     \n      <div class=\"stepper-item step5\">\n        <div class=\"step-counter\">5<\/div>\n        <div class=\"step-name\">Summary<\/div>\n      <\/div>\n    <\/div>\n\n\n    <!-- Tabs content -->\n    <div class=\"tab-content\" id=\"ex1-content\">\n      <div\n        class=\"tab-pane yhbs-fade yhbs-show yhbs-active\"\n        id=\"ex1-tabs-1\"\n        role=\"tabpanel\"\n        aria-labelledby=\"ex1-tab-1\"\n      >\n          <div class=\"yhbs-step-grid\">\n              <section class=\"yhbs-card\">\n            <h3 class=\"yhbs-card__title\">Select your service<\/h3>\n              <div class=\"col-yhbs-12 yhbs-right-offset\">\n                  <p class=\"yhbs-field-label\">Category<\/p>\n                   \n<div class=\"col-yhbs-12\">\n                <div class=\"position-relative\">      \n                <i onclick=\"doResetSelect(this)\" class=\"dashicons dashicons-dismiss position-absolute reset-select-field d-none\"><\/i>\n    <select style=\"min-height: 37px\" class=\"form-select\" id=\"yhbs-filter-categories\" name=\"yhbs-filter-categories\"  onChange=\"loadDependencies(this.value);;ToggleResetSelect(this);\" >\n        <option disabled selected>Please Choose <\/option>\n               <option       value=\"1\">Services <\/option>\n            <\/select>\n            <\/div>\n<\/div>              <\/div>\n              <div class=\"col-yhbs-12 yhbs-right-offset\">\n                  <p class=\"yhbs-field-label\">Service<\/p>\n                   \n<div class=\"col-yhbs-12\">\n                <div class=\"position-relative\">      \n                <i onclick=\"doResetSelect(this)\" class=\"dashicons dashicons-dismiss position-absolute reset-select-field d-none\"><\/i>\n    <select style=\"min-height: 37px\" class=\"form-select\" id=\"yhbs-filter-service\" name=\"yhbs-filter-service\"  onChange=\";ToggleResetSelect(this);\" >\n        <option disabled selected>Please Choose <\/option>\n           <\/select>\n            <\/div>\n<\/div>              <\/div>\n              \n              <div class=\"col-yhbs-12 yhbs-right-offset\">\n                  <p class=\"yhbs-field-label\">Employee<\/p>\n                   \n<div class=\"col-yhbs-12\">\n                <div class=\"position-relative\">      \n                <i onclick=\"doResetSelect(this)\" class=\"dashicons dashicons-dismiss position-absolute reset-select-field d-none\"><\/i>\n    <select style=\"min-height: 37px\" class=\"form-select\" id=\"yhbs-filter-employee\" name=\"yhbs-filter-employee\"  onChange=\"loadValidDaysAndTimes(this.value);;ToggleResetSelect(this);\" >\n        <option disabled selected>Please Choose <\/option>\n           <\/select>\n            <\/div>\n<\/div>              <\/div>\n          <\/section>\n          \n          <section class=\"yhbs-card\">\n              <h3 class=\"yhbs-card__title\">Availability<\/h3>\n              <div class=\"yhbs-when\">\n                  <div class=\"yhbs-when__date\">\n                        <p class=\"yhbs-field-label\">I am available from<\/p>\n                        <div class=\"col-yhbs-12\">\n            <\/div>\n<div class=\"col-yhbs-12\">\n<input type=\"text\" id=\"reportrange-date-range-month\" class=\"col-yhbs-12\"  name=\"reportrange-date-range-month\" value=\"01.12.2026\" \/>\n<\/div>\n<script>\n     jQuery.noConflict(); \njQuery(function() {\n    jQuery.noConflict();\n     function cb(start, end,label) {\n        jQuery('#reportrange-date-range-month').val(start.format('DD.MM.YYYY'));\n    }\n\n    \n  if (typeof moment !== 'undefined' && moment.locale && false) {\n    moment.locale('de');\n  }\n  var yhbsPickerParent = jQuery('#yhbs-modal .modal-body');\n  jQuery('#reportrange-date-range-month').daterangepicker({\n    singleDatePicker: true,\n    autoApply: true,\n    showDropdowns: true,\n    parentEl: yhbsPickerParent.length ? yhbsPickerParent : jQuery('body'),\n    minYear: 1901,\n    maxYear: parseInt(moment().format('YYYY'), 10) + 2,\n    locale: {\n      format: 'DD.MM.YYYY',\n      applyLabel: 'Apply',\n      cancelLabel: 'Cancel',\n      daysOfWeek: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n      monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n      firstDay: 1\n    }\n  }, cb);\n});\n<\/script>                  <\/div>\n                  <div class=\"yhbs-when__times\">\n                     <table class=\"yhbs-table\">\n                     <thead>\n    <th>\n            <div class=\"yhbs-field-label\">Earliest<\/div>\n\n       <\/th>\n       <th>\n            <div class=\"yhbs-field-label\">Latest<\/div>\n\n    <\/th>\n<\/thead>\n<tbody>\n     <td style=\"padding:10px 5px;\">\n          <div class=\"yhbs-when__control\">\n         <div class=\"col-yhbs-9 yhbs-m-auto\">\n    <select style=\"min-height: 37px\" class=\"form-select\" name=\"yhbs-time-start\" id=\"yhbs-time-start\">\n                <option value=\"8\">08:00<\/option>\n                    <option value=\"9\">09:00<\/option>\n                    <option value=\"10\">10:00<\/option>\n                    <option value=\"11\">11:00<\/option>\n                    <option value=\"12\">12:00<\/option>\n                    <option value=\"13\">13:00<\/option>\n                    <option value=\"14\">14:00<\/option>\n                    <option value=\"15\">15:00<\/option>\n                    <option value=\"16\">16:00<\/option>\n                <\/select>\n<\/div>\n          <\/div>\n      <\/td>  \n      <td style=\"padding:10px 5px;\">\n          <div class=\"yhbs-when__control\">\n         <div class=\"col-yhbs-9 yhbs-m-auto\">\n    <select style=\"min-height: 37px\" class=\"form-select\" name=\"yhbs-time-untill\" id=\"yhbs-time-untill\">\n                <option value=\"8\">08:00<\/option>\n                    <option value=\"9\">09:00<\/option>\n                    <option value=\"10\">10:00<\/option>\n                    <option value=\"11\">11:00<\/option>\n                    <option value=\"12\">12:00<\/option>\n                    <option value=\"13\">13:00<\/option>\n                    <option value=\"14\">14:00<\/option>\n                    <option value=\"15\">15:00<\/option>\n                    <option selected value=\"16\">16:00<\/option>\n                <\/select>\n<\/div>\n              <\/div>\n\n     <\/td>\n<\/tbody>                     <\/table>\n                  <\/div>\n              <\/div>\n              <p class=\"yhbs-field-label\">Available weekdays<\/p>\n                    <table class=\"yhbs-day-picker\">\n                        <thead>\n                          <th>Mon.<\/th>\n                          <th>Tue.<\/th>\n                          <th>Wed.<\/th>\n                          <th>Thu.<\/th>\n                          <th>Fri.<\/th>\n                          <th>Sat.<\/th>\n                          <th>Sun.<\/th>\n                        <\/thead>\n                        <tbody>\n                                                <tr>\n                        <td><label class=\"yhbs-day-tile\"><input type=\"checkbox\" id=\"mo\" checked name=\"mo\"><span>Mon.<\/span><\/label><\/td>\n                          <td><label class=\"yhbs-day-tile\"><input type=\"checkbox\" id=\"di\" checked name=\"di\"><span>Tue.<\/span><\/label><\/td>\n                          <td><label class=\"yhbs-day-tile\"><input type=\"checkbox\" id=\"mi\" checked name=\"mi\"><span>Wed.<\/span><\/label><\/td>\n                          <td><label class=\"yhbs-day-tile\"><input type=\"checkbox\" id=\"do\" checked name=\"do\"><span>Thu.<\/span><\/label><\/td>\n                          <td><label class=\"yhbs-day-tile\"><input type=\"checkbox\" id=\"fr\" checked name=\"fr\"><span>Fri.<\/span><\/label><\/td>\n                          <td><label class=\"yhbs-day-tile\"><input type=\"checkbox\" id=\"sa\" disabled name=\"sa\"><span>Sat.<\/span><\/label><\/td>\n                          <td><label class=\"yhbs-day-tile\"><input type=\"checkbox\" id=\"so\" disabled name=\"so\"><span>Sun.<\/span><\/label><\/td>\n                        <\/tr>\n                        <\/tbody>\n                    <\/table>\n          <\/section>\n          <\/div>\n          <br>\n          \n      <\/div>\n      <div class=\"tab-pane yhbs-fade\" id=\"ex1-tabs-2\" role=\"tabpanel\" aria-labelledby=\"ex1-tab-2\">\n        <p class=\"yhbs-muted\">Appointments are loading.<\/p>\n      <\/div>\n      <div class=\"tab-pane yhbs-fade\" id=\"ex1-tabs-3\" role=\"tabpanel\" aria-labelledby=\"ex1-tab-3\">\n          <h3 class=\"yhbs-card__title\">Personal details<\/h3>\n            <p class=\"yhbs-choice\">You have made a reservation for <span id=\"yhbsDetailService\" class=\"yhbs-bold\"><\/span> with              <span id=\"yhbsDetailsEmployee\" class=\"yhbs-bold\"><\/span> at <span id=\"yhbsDetailsTime\" class=\"yhbs-bold\"><\/span> on              <span id=\"yhbsDetailsDay\" class=\"yhbs-bold\"><\/span>. The service fee is                <span id=\"yhbsDetailsCost\" class=\"yhbs-bold\"><\/span>. <\/p>\n            <p class=\"yhbs-muted\">Please enter your details in the form below to continue with your booking.<\/p>\n            <div class=\"form-row yhbs-row yhbs-details-pane yhbs-step-grid\">\n                <div class=\"yhbs-card\">\n                    <div class=\"col-yhbs-12\">\n    <div class=\"form-group\">\n                    <label for=\"yhbs-customer-name\" class=\"form-label\">Fullname<\/label>\n                <input class=\"form-control \"  value=\"\" name=\"yhbs-customer-name\" onChange=\"\" type=\"text\" id=\"yhbs-customer-name\" placeholder=\"\">\n    <\/div>\n<\/div>\n\n\n                    <div class=\"col-yhbs-12\">\n    <div class=\"form-group\">\n                    <label for=\"yhbs-customer-phone\" class=\"form-label\">Phone<\/label>\n                <input class=\"form-control \"  value=\"\" name=\"yhbs-customer-phone\" onChange=\"\" type=\"text\" id=\"yhbs-customer-phone\" placeholder=\"\">\n    <\/div>\n<\/div>\n\n\n                    <div class=\"col-yhbs-12\">\n    <div class=\"form-group\">\n                    <label for=\"yhbs-customer-mail\" class=\"form-label\">Email<\/label>\n                <input class=\"form-control \"  value=\"\" name=\"yhbs-customer-mail\" onChange=\"\" type=\"text\" id=\"yhbs-customer-mail\" placeholder=\"\">\n    <\/div>\n<\/div>\n\n\n                <\/div>\n                <div class=\"yhbs-card\">\n                    <div class=\"form-group\">\n                    <label for=\"yhbs-customer-note\" class=\"form-label\">Note<\/label>\n                <textarea class=\"form-control\" style=\"height:100%;\" id=\"yhbs-customer-note\" name=\"customer-note\" rows=\"5\"><\/textarea>\n        <small class=\"form-text text-muted\"><\/small>\n<\/div>\n                <\/div>\n            <\/div>\n      <\/div>\n\n      <div class=\"tab-pane yhbs-fade\" id=\"ex1-tabs-4\" role=\"tabpanel\" aria-labelledby=\"ex1-tab-4\">\n          <h3 class=\"yhbs-card__title\">We accept the following forms of payment at our hair salon<\/h3>\n          <p class=\"yhbs-muted\">The list shows which payment methods are possible in the salon. Nothing is selected and nothing is paid online.<\/p>\n          <ul class=\"cash-avail yhbs-pay-grid\">\n                        <\/ul>\n      <\/div>\n\n      <div class=\"tab-pane yhbs-fade\" id=\"ex1-tabs-5\" role=\"tabpanel\" aria-labelledby=\"ex1-tab-5\">\n            <p class=\"yhbs-muted\">Thank you for your interest in our services at Hairstyle. Here is a summary of your upcoming reservation:<\/p>\n            <div class=\"yhbs-step-grid\">\n            <section class=\"yhbs-card\">\n            <h3 class=\"yhbs-card__title\">Summary<\/h3>\n            <ul class=\"yhbs-summary-list\">\n                <li><span class=\"yhbs-bold\">Category<\/span> <span id=\"yhbsDetailCategorySucces\"><\/span><\/li>\n                <li><span class=\"yhbs-bold\">Service<\/span> <span id=\"yhbsDetailServiceSucces\"><\/span><\/li>\n                <li><span class=\"yhbs-bold\">Hairstylist<\/span> <span id=\"yhbsDetailsEmployeeSucces\"><\/span><\/li>\n                <li><span class=\"yhbs-bold\">Appointment time<\/span> <span id=\"yhbsDetailsTimeSucces\"><\/span> o&#039;clock on <span id=\"yhbsDetailsDaySucces\"><\/span><\/li>\n                <li><span class=\"yhbs-bold\">Customer details<\/span>\n                    <ul>\n                        <li><span class=\"yhbs-bold\">Name<\/span> <span id=\"yhbsDetailsFullname\"><\/span><\/li>\n                        <li><span class=\"yhbs-bold\">Phone<\/span> <span id=\"yhbsDetailsPhone\"><\/span><\/li>\n                        <li><span class=\"yhbs-bold\">Email<\/span> <span id=\"yhbsDetailsMail\"><\/span><\/li>\n                    <\/ul>\n                <\/li>\n            <\/ul>\n            <\/section>\n            <aside class=\"yhbs-card yhbs-price-card\">\n                <p class=\"yhbs-field-label\">Estimated price<\/p>\n                <p class=\"yhbs-price\"><span id=\"yhbsDetailsCostSucces\"><\/span><\/p>\n                <p class=\"yhbs-muted\">The price is a guide value.<\/p>\n            <\/aside>\n            <\/div>\n          <p>Please double-check all of the information. If everything is correct, you can now finalize your reservation. We can&#039;t wait to see you soon!<\/p>\n\n      <\/div>\n    <\/div>\n          <div class=\"yhbs-nav\">\n            <button type=\"button\" onclick=\"yhbs_changeStpoBack()\" style=\"visibility: hidden;\" class=\"yhbs-button yhbs-button--ghost yhbs-form-back\">Back<\/button>\n             <div id=\"yhbs-form-error-msg\" role=\"alert\" aria-live=\"assertive\" hidden>\n                <p>All mandatory fields must be filled out to book an appointment!<\/p>\n            <\/div>\n            <div class=\"yhbs-nav__forward\">\n            <div class=\"buttons_timing d-none\">\n                <button type=\"button\" onclick=\"yhbs_prevoiusDay()\" class=\"yhbs-button yhbs-button--ghost d-none yhbs-form-time-previous\">Previous day<\/button>\n                <button type=\"button\" onclick=\"yhbs_nextDays()\" class=\"yhbs-button yhbs-button--ghost yhbs-form-time-next\">Next day<\/button>\n            <\/div>\n            <button type=\"button\" onclick=\"yhbs_changeStpo()\" class=\"yhbs-button yhbs-button--primary controlBGColor yhbs-form-next\">Next<\/button>\n            <button type=\"button\" onclick=\"yhbs_send()\" class=\"yhbs-button yhbs-button--primary controlBGColor d-none yhbs-form-success\">Book appointment<\/button>\n            <\/div>\n          <\/div>\n    <input type=\"hidden\" value=\"1\" id=\"currentStep\" \/>\n    <input type=\"hidden\" value=\"\" id=\"yhbs_slot\" \/>\n    \n    <input type=\"hidden\" value=\"\" id=\"first_valid_date\" \/>\n    <input type=\"hidden\" value=\"\" id=\"yhbs-range-start\" \/>\n    <input type=\"hidden\" value=\"\" id=\"yhbs-range-end\" \/>\n    <input type=\"hidden\" value=\"\" id=\"yhbs-nav-before\" \/>\n    <input type=\"hidden\" value=\"\" id=\"yhbs-nav-after\" \/>\n<\/div>\n<!-- Tabs content -->\n\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/demo.yoptimize.de\/hairstyle\/wp-json\/wp\/v2\/pages\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.yoptimize.de\/hairstyle\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.yoptimize.de\/hairstyle\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.yoptimize.de\/hairstyle\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":1,"href":"https:\/\/demo.yoptimize.de\/hairstyle\/wp-json\/wp\/v2\/pages\/5\/revisions"}],"predecessor-version":[{"id":6,"href":"https:\/\/demo.yoptimize.de\/hairstyle\/wp-json\/wp\/v2\/pages\/5\/revisions\/6"}],"wp:attachment":[{"href":"https:\/\/demo.yoptimize.de\/hairstyle\/wp-json\/wp\/v2\/media?parent=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}