Support

Technical help board
Important.  Check FAQ first for existing answers before posting new Questions.
Note.  You can check archive 1, archive 2 and archive 3 of support technical board of already exist solutions and troubleshooting stories.
If you have any technical question about the plugin or configuration of plugin or if you found some issue, please describe it here. Please, inform inside of message your version of WordPress, PHP, Booking Calendar. Also sometimes is needed list of used plugins inside of system and name of your WordPress theme.

  1. Hi,
    I have the Small Business version of the Calendar.
    I have 2 Calendars aggregated-in the front end of word-press but if i go to "Add Booking" from the admin side the calendars dont aggregate which means double bookings can occur.
    Is there a way to address this?

    Thanks,

    • Hello.
      If you are using the “aggregate” parameter in the Booking Calendar shortcode, so it’s possible to use it only at the front-end side. It’s does not possible to use the same parameter in the admin panel at Booking > Add booking page. Sorry.
      Kind Regards.

  2. Hi

    I have the Business Large solution.

    I have set it up so that if you want to book friday,saturday or sunday you have to book alle 3 days, but for some reason you have to click twice to effectively choose the days, how can I fix that so that 3 days are chosen on only 1 click on either friday saturday or sunday?

    http://borgerhus.formatio.dk/booking/

    Best regards
    Sonny

    • Hello.
      In this case, you need to set "range days selection mode using 1 MOUSE CLICK" at the Booking > Settings General page in Calendar section, instead of using range days selection mode using 2 mouse clicks.

      And set start day selection as Friday.

      You will be able to start days selection by clicking only at Fridays. Other days for start days selection will be unavailable.
      Kind Regards.

        • Hello.
          No, because you will be defined for ability to book only starting at Friday.

          If you will activate other week days, like Monday or Wednesday to start selection, so in this case, you will be able to select only 3 days there, as well.
          Please test it.
          Kind Regards.

  3. Hi,
    Is there a way to "Limit Available Days From Today" & "Unavailable Days from Today" using an edited short-code as a pose to using the settings page?
    As using the settings page means Admins are limited to the same booking range as front end customers.

    Thanks,

    • Hello.

      You can define in the post or page, where you have inserted the Booking Calendar shortcode, before the Booking Calendar shortcode JavaScript similar to this:

      <script type="text/javascript">
        block_some_dates_from_today = 10;
        wpbc_available_days_num_from_today = '';
      </script>
      [booking type=1]
      

      or

      <script type="text/javascript">
        block_some_dates_from_today = 0;
        wpbc_available_days_num_from_today = 30;
      </script>
      [booking type=1]
      
  4. I'm trying out the free version for booking rooms. Then selecting a date and filling out the form I press the send button. Several times It looks like nothing is going on, så I press the send button again. Result is many identical orders. First after a long period the page loads a note saying thanks for the order.
    Tried many times and situations, the problem is alway the same. You just have to press once, and you just have to be patient and wait at least a minute og more(have not takene the time, yet)

    • Hello.
      Please make this fix. (its will be available in next update of Booking Calendar).
      Please open this file ../{Booking Calendar Folder}/js/client.js

      ( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )

      then find this code:

      jQuery('#booking_form_div' + bk_type + ' input[type=button]').prop("disabled", true);
      

      and replace it to this code:

          jQuery('#booking_form_div' + bk_type + ' input[type=button]').prop("disabled", true);
          jQuery('#booking_form_div' + bk_type + ' button').prop("disabled", true);   //FixIn: 8.5.2.7
      

      Please do not forget to clear browser cache before testing these changes.

      Kind Regards.

      • Thanks for your reply. I did as you asked, but it still using a lot of time to report back to the browser. First I tried on Google Chrome which I use as default. I then opened dev tools and did a "empty buffer and do a hard refresh" without ant difference. Then I opened the page in Edge which I never use, and had the same problem there. Counted about 1 min. and 30 sec. before the send was completed.

        • Hello.
          Please recheck your error.log in your server configuration, about any relative errors. If you can not find error.log file, please contact support of your hosting company about helping in finding this file.

      • Hmm the two lines you told med to insert is identical to the one deleted. I think there must be something wrong in the code here?

        • Hello.
          Basically you was need to add this one line:

          jQuery('#booking_form_div' + bk_type + ' button').prop("disabled", true);   //FixIn: 8.5.2.7

          In my previous comment, I was just explained, where exactly you need to add it.
          So you need to add it after that line what was explained early.
          Kind Regards.

  5. Hi there
    Can I extend the range of when bookings can be made to two years? Currently the limit in the settings is 365 days.
    Thanks

    • Hello.
      Please try to make this fix.
      Please open this file ../wp-content/plugins/{Booking Calendar Folder}/inc/_bs/admin/api-settings-s.php
      ( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )

      then find this code:

          $field_options = array();
          foreach ( range( 1, 180, 1) as $value ) {
              $field_options[ $value ] = $value;
          }
          //  Min num.  of days selections - DYNAMIC range  //////////////////////////
      

      and replace it to this code:

          $field_options = array();
          foreach ( range( 1, 731, 1) as $value ) {
              $field_options[ $value ] = $value;
          }
          //  Min num.  of days selections - DYNAMIC range  //////////////////////////
      

      Disclaimer. Unfortunately we can not start, right now, some personal customization or custom development, because almost have no free time.
      Check more about new features here https://wpbookingcalendar.com/faq/need-new-feature/
      Thank you for understanding.
      Please note, if you will modify the source code of the Booking Calendar, we will not guaranteed the correct work of plugin and do not support it.

  6. I want to be able to allow bookings only on a number of days, I do not want to disable certain days each week, I want to disable all days and only enable a few. Is this somehow possible?

  7. Hi,
    I want to add a recurring event to one of my calendars which is basically staff training for an hour each week (every Friday 10am-11am). I haven't been able to find a way to add this in the admin settings, but it needs to be booked or unavailable for guests to book this time slot.
    I devised a way to do it which was:
    1)Set up a google calendar with recurring event
    2)Setup the google calendar import in the "Sync settings
    3)Sync my calendar to automatically bring in the recurring event.

    The trouble is that on the calendar in question there is 1 dropdown field that has the options Yes and No if No is selected then the booking is free. If Yes is selected the booking costs £10.
    ( External Instructor (Costs £10/hr) (required):[select* external_instructor default:No "No@@No" "Yes@@Yes"] ) cost is set under advanced cost in the resource settings.
    When I import the events it leave this field which is [external_instructor] as blank. for some reason this triggers the calendar to assign the cost of £10 to the booking.
    I have the option "Check this box to activate auto-cancellation for pending, unpaid bookings." checked in the admin settings and this is an important part of my setup that I don't want to change.
    Even though I can bulk select the event and approve it it still shows as unpaid and as there are 365+ events I don't have the time to individually mark each event as paid.

    My question is; Is there anyway to make the calendar import the event as free? I was wondering if I put the "No" in the description on google calendar is there a way to make the sync assign this field to the [external_instructor] field?

    Thanks,

    • Hello.
      Basically you need to auto approve all imported bookings, so in this case system will not auto cancel such bookings. You can activate to auto approve all new imported bookings at the Booking > Settings General page in Auto cancelation/approval section.
      Kind Regards.

  8. Hi Support Team,

    I just bought the Business Medium package. I would like to add a fixed selection of days. 4 days on Friday and 8 days on Saturday. I found the settings, but now customers could choose to put 4 and 8 days on both Friday and Saturday,

    How do I give customers the only option to put 4 days from Friday till Sunday and to put 8 days from Saturday to Saturday?

    Kind regards,

    Niels Vaessen

  9. Hi Support Team,

    I would like to make two dropdown menus required. I've done this in the way it should work, like this:

    Aantal personen (verplicht): [select* personen class:col-md-1 "1" "2" "3" "4" "5" "6"]
    Aantal huisdieren (verplicht): [select* huisdieren class:col-md-1 "0" "1" "2"]

    It seems that these dropdowns are still not required. It's weird because it should be right now, am I right?

    The total code of the form:

    [calendar]

    Aanhef:[checkbox aanhef "Heer@@1" "Mevrouw@@2"]
    Voornaam (verplicht):[text* name]
    Achternaam (verplicht):[text* secondname]
    Straatnaam en huisnummer (verplicht):[text* straatnaamhuisnummer]
    Postcode (verplicht):[text* postcode]
    Plaatsnaam (verplicht):[text* plaatsnaam]
    E-mailadres (verplicht):[email* email]
    Telefoonnummer:[text phone]
    Aantal personen (verplicht): [select* personen class:col-md-1 "1" "2" "3" "4" "5" "6"]
    Aantal huisdieren (verplicht): [select* huisdieren class:col-md-1 "0" "1" "2"]
    Details: [textarea details]
    [checkbox* term_and_condition use_label_element "I Accept term and conditions"]
    [captcha]
    [submit class:btn "Send"]

    Kind regards,

    Niels Vaessen

    • Hello.
      1) Please be sure to use latest update of Booking Calendar. You can request the new update of Booking Calendar on this page: https://wpbookingcalendar.com/request-update/

      2) In your "drop-down menus" - select-boxes each option that possible to select have the value. And selectboxes elements, by default have selected value after page loaded. So there is no situation that selectbox does not selected.

      If you want to have some empty option, that visitor need to not select, please use this configuration:

      Aantal personen (verplicht): [select* personen class:col-md-1 "Please select@@" "1" "2" "3" "4" "5" "6"]
      Aantal huisdieren (verplicht): [select* huisdieren class:col-md-1 "Please select@@" "0" "1" "2"] 
      
  10. Hello devs,

    At the moment i've coded my calender the right way. Visitors could choose to visit from Friday to Monday or from Saturday to Saturday. No others options are able to select, as I want to.

    Now I want the price to change from €800 from Saturday to Saturday to €700 from Friday to Monday. I cannot find the right code or settings to implement this. Could you help me with that?

    Thanks in advance.

    Rob

    • Hello.
      1) You need to define 2 season filters at the Booking > Resources > Filters page. One season all “Saturdays” other season all “Fridays”.

      2) Then open the Booking > Resources > Cost and rates page and click on “Valuation days” to configure costs like this

      Together 4 days = 700 usd for all days if check in day in “Friday” season.
      Together 8 days = 800 usd for all days if check in day in “Saturday” season.

      Watch it in this video guide https://wpbookingcalendar.com/help/valuation-days-cost-video-overview/

      Kind Regards.

      • Okay, thank you. And how do I show the total booking cost beneath the calendar. Just as in the video? Cannot find that feature anywhere.

        Thanks in advance!

        • Hmmm, it isn't working..

          I put:
          'together' 4 days = 700 ($ for all days) - period: all days
          'together' 8 days = 800 ($ for all days) - period: all days

          Nothing changes..

          • Hello.
            Can you send screenshots of your configuration from the Booking > Resources > Cost and rates page at “Valuation days” section and screenshot of Booking > Settings > Payment page. Also send the link to your page with booking form, where you are having the issue.

            Please send all this to support @ wpbookingcalendar.com

            Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *