Support

Technical help board
Important.  Check FAQ first for existing answers before posting new Questions.
Note.  You can check archive 1 and archive 2 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. It is not clear how to turn off any partial bookings. We don't want a user selecting times...just dates, e.g., Oct 10 to Oct 15 etc etc. How can we set it so that it just allows the user to select days and not force them choose times...which results in 'partial' bookings?

    • Hello.
      If you are having selections of the timeslots in yout booking form, and want to deactivate it.
      So you can easily remove timeslot selection shortcode from the booking form at the Booking > Settings > Fields page.
      You will be need to remove shortcode like this from the "Form fields" form:

       <p>Select Times:[select* rangetime multiple "10:00 AM - 12:00 PM@@10:00 - 12:00" "12:00 PM - 02:00 PM@@12:00 - 14:00" "02:00 PM - 04:00 PM@@14:00 - 16:00" "04:00 PM - 06:00 PM@@16:00 - 18:00" "06:00 PM - 08:00 PM@@18:00 - 20:00"]</p> 

      and shortcode like this from the "Cotnent of booking data" form at the bottom of this page:

      <strong>Times</strong>:<span class="fieldvalue">[rangetime]</span><br/> 

      Please read more about the booking form fields configuration here http://wpbookingcalendar.com/help/booking-form-fields/
      Kind Regards.

  2. Problem with the select-day conditions.

    I'm trying to set up following conditions: "End day cannot be saturday":
    --------
    {select-day condition="weekday" for="0" value="1-6,8-13,15-20,22-27,29-31"},
    {select-day condition="weekday" for="1" value="1-5,7-12,14-19,21-26,28-31"},
    {select-day condition="weekday" for="2" value="1-4,6-11,13-18,20-25,27-31"},
    {select-day condition="weekday" for="3" value="1-3,5-10,12-17,19-24,25-30"},
    {select-day condition="weekday" for="4" value="1-2,4-9,11-16,18-23,24-29,31"},
    {select-day condition="weekday" for="5" value="3-8,10-15,17-22,23-28,30-31"},
    {select-day condition="weekday" for="6" value="0"}
    ---------

    Above alone works fine, but I would also like to have seasonal condition for Eastern2016 (filter range 24.3.2016 - 27.3.2016):
    ------
    {start-day condition="season" for="Eastern2016" value="4"},
    {select-day condition="season" for="Eastern2016" value="5"}
    ------

    Eastern select-day-condition also works alone, but not together with weekday conditions. What should I do to get weekday and season conditions to work together ?

    • The first conditions should be called "Saturday cannot be the end or start day of the booking",

      • Hello.
        I was retested this shortcode:

        [booking type=4 form_type='standard' nummonths=2 options='{select-day condition="weekday" for="0" value="1-6,8-13,15-20,22-27,29-31"},{select-day condition="weekday" for="1" value="1-5,7-12,14-19,21-26,28-31"},{select-day condition="weekday" for="2" value="1-4,6-11,13-18,20-25,27-31"},{select-day condition="weekday" for="3" value="1-3,5-10,12-17,19-24,25-30"},{select-day condition="weekday" for="4" value="1-2,4-9,11-16,18-23,24-29,31"},{select-day condition="weekday" for="5" value="3-8,10-15,17-22,23-28,30-31"},{select-day condition="weekday" for="6" value="0"},{start-day condition="season" for="Eastern2016" value="4,5"}']

        And its working fine for me.
        Please note, I was also activated "Range days selection mode using 2 mouse clicks", and set minimum number of days selection as 1 day and maximum number of days selection as 30 days, and set "Start days of range" as "Specific days of week" to "Sunday Monday Tuesday Wednesday Thursday Friday".
        And its works fine.

        Please note, important thing.
        In your configuration this parameters

        {select-day condition="weekday" for="0" value="1-6,8-13,15-20,22-27,29-31"},{select-day condition="weekday" for="1" value="1-5,7-12,14-19,21-26,28-31"},{select-day condition="weekday" for="2" value="1-4,6-11,13-18,20-25,27-31"},{select-day condition="weekday" for="3" value="1-3,5-10,12-17,19-24,25-30"},{select-day condition="weekday" for="4" value="1-2,4-9,11-16,18-23,24-29,31"},{select-day condition="weekday" for="5" value="3-8,10-15,17-22,23-28,30-31"},{select-day condition="weekday" for="6" value="0"}

        is meaning NUMBER OF DAYs selection for specific week day.

        And this parameter:

        {start-day condition="season" for="Eastern2016" value="4,5"}

        is mean that during Eastern2016 season, the START DAY OF SELECTION can be 4 – Thursday or 5 – Friday.
        Its means that first rules define number of selected days, and last rule define the start day.

        Please read more about this here: http://wpbookingcalendar.com/help/booking-calendar-shortcodes/#booking-options-condition

        If its does not work for you, and you are using some old version (not the latest 5.4.3 update), then please update your version to the latest update.
        You can request the new update of Booking Calendar on this page: http://wpbookingcalendar.com/request-update/
        Kind Regards.

        • I have newest version of the plugin and same settings as you described, but your first "tested example" isn't what I wanted..

          In the example you only had one seasonal condition: {start-day condition="season" for="Eastern2016" value="4,5"}

          I wanted:
          {start-day condition=”season” for=”Eastern2016″ value=”4″},
          {select-day condition=”season” for=”Eastern2016″ value=”5″}

          Thing that I want is "On eastern you are only possible to start booking on thursday and book specificly 5 days"

          As I said earlier.. This works fine ALONE, but if I add the weekday conditions (which restrcict the possibility to end booking on saturday) this stops working.

          So IMHO there's some kind of issue here with the plugin..

          Regards
          Aki

          • Hello.
            Ok, please follow this instruction.
            1) Firstly please delete your exist "Eastern2016" season filter at the Booking > Resources > Filters page.
            Then at this Booking > Resources > Filters page, please create new "Conditional days filter" with name "Su",
            In the parameters select "Sunday", then select days from 1 to 31, then select the Months from Jan to Dec, and select years: 2015, 2016

            After this create new season filter with name "Mo". In the same way as previous filter, but instead of Sunday, select Monday day.
            Continue to create new conditional season filters in the same way, and create these filters: "Tu", We", "Th", "Fr", "Sa".

            Only after this create new "Eastern2016" range days filter, and select there your dates from 24 of March 2016 to 27 of March 2016.

            The trick here that the Eastern2016 season filter, have the higher ID than other season filters. By doing that you set higher priority for this season filter.

            2) Please use this shortcode (exactly the same as in "options" parameter, including order of parameters there):

            [booking type=4 form_type='standard' nummonths=2 options='{select-day condition="season" for="Sa" value="0"},{start-day condition="season" for="Eastern2016" value="4"},{select-day condition="season" for="Eastern2016" value="5"},{select-day condition="season" for="Su" value="1-6,8-13,15-20,22-27,29-31"},{select-day condition="season" for="Mo" value="1-5,7-12,14-19,21-26,28-31"},{select-day condition="season" for="Tu" value="1-4,6-11,13-18,20-25,27-31"},{select-day condition="season" for="We" value="1-3,5-10,12-17,19-24,25-30"},{select-day condition="season" for="Th" value="1-2,4-9,11-16,18-23,24-29,31"},{select-day condition="season" for="Fr" value="3-8,10-15,17-22,23-28,30-31"}']

            Kind Regards.

  3. About localizations

    How can I localize error messages in the form (eg. "This field is required") ? Also I would like to translate the result of the checkbox when showing contents of the booking. Now content shows "yes" if checkbox checked and "no" if checkbox unchecked.

    Should these be translated in language packs ? I want finnish as the default language and I've defined "define('WPLANG', 'fi_FI');" to my wp-config... Does finnish-languagepack contain also admin panel localizations ?

    • Hello.
      This text "This field is required" must be translated as "Tämä on pakollinen kenttä", if you are using latest version of Booking Calendar and your locale is set to fi_Fl.
      In any case, you can recheck your translation and update it by downloading translation files from here. You can check instruction how to make or update translations files at this page.

      Also if you want to you can make direct editing of this text in the source code of plugin at the file: ../{Booking Calendar Folder}/lib/wpbc-scripts.php
      by searching this text:

      , 'message_verif_requred' => esc_js(__('This field is required' ,

      2) Relative to the checkboxes. Basically these sentences "yes"/"no" also must be transalted. Its seems that this issue relative to the same issue as in point #1.
      You can find these in source code of plugin (if you want to direct edit) at the file: ../{Booking Calendar Folder}/lib/wpdev-booking-functions.php
      by searching this code:

                      if ($value == 'true') {
                          $value = __('yes' ,'booking');
                      }
      
                      if ($value == 'false') {
                          $value = __('no' ,'booking');
                      }
      

      3) Yes, latest version update of Booking Calendar have the 100% translation to Finish language. Please check description at the point #1.

      • Okei it seems that the problem is that "WP booking calendar" doesn't follow the Language setting "Finnish" from the "Settings - Site Language" (which should be used as of WordPress v4.0 and above -> https://codex.wordpress.org/Installing_WordPress_in_Your_Language ).

        If I define the WPLANG="FI_fi" in wp-config.php and select FI_fi from the "Site Language", then Booking calendar is translated, but everything else is not (because as of WP 4.0 WPLANG shouldn't be used :/ )..

        How can I get everything translated correctly into Finnish ?

        • Hello.
          Booking Calendar load translation depend from the active locale of website. Active locale of website can be defined in the config.php file OR when you select language at the Settings > General page.

          Please note, if you was activated Booking Calendar plugin, when active locale was set to some other language (for example to English), then some sentences can be in English even after your switch to the Finish language after. It's because some sentences, like "Thnak you message" or "Form fields" or Email templates" have saving to the DB during activating of plugin and you will be need to reconfigure these settings in your language later.
          But all other interface elements must be in language that relative to your active locale.
          Please note, some plugins, like qTranslate or WPML can change website locale dynamically. And Booking Calendar will use this active locale for losing specific language.

          Just be sure that you set correctly your active locale.

          PS if you wasn't that all text was in finish language after activation of plugin, then your need to make full reinstall of plugin with removing actual data. For doing this. Please open the General Booking Settings page and at the right side of this page activate option "Delete booking data during deactivation of plugin". Save the settings. Then open WordPress Plugins menu and click on "Deactivate" link under booking calendar. Then recheck that you have active locale for the Finish language. And after this click on Activate link near Booking Calendar. Test it.
          Kind regards.

          • I had Finnish language set at the time of the install. The most interesting thing is that in my WP installation the plugin doesn't follow the normal language selection ("Settings > General page.").

            As I said earlier - If I define the WPLANG=”FI_fi” in wp-config.php and select FI_fi from the “Site Language”, then Booking calendar is translated, but everything else is not.

            I solved the issue by renaming the language file "wpdev-booking-fi_FI.mo" to "wpdev-booking-fi.mo".

            • Hello.
              Yes, you are right. The default locale for the Finnish language in WordPress installation is "fi" and not the "fi_Fl".
              To fix this issue, you need to rename language file, as you did.
              We will fix this issue in next update.
              Thank you.

  4. Hello,

    was just wondering how to change the rangetime to be different on a particular day.

    Example:
    Monday-Friday = 9-10, 10-11, 11-12, 12-13, 13-14, 14-15, 15-16
    and Saturday = 8:30-9:15, 9:15-10, 10-10:45, 10:45-11:30, 11:30-12:15, 12:15-13

    Thanks

    • Hello.
      I was able to make test booking at your page http://www.lagoacaraiva.com.br/tarifas-e-reservas/ using mobile.
      There no any issues.
      Please try to clear the browser cache and retest it again.
      Please note, I see that you activated for be able to select only 1st month in calendar starting from "Today" date.
      You can change number of available months for selections in calendar at the General Booking Settings page in Calendar section. Please set for the option "Number of months:" instead of "1 Month" the value as "1 Year" or some other.
      Kind Regards.

  5. If making a booking for a set number of hours over a number of days, the plugin isn't calculating as I'd expect it. E.g.

    I have a resource configured at a cost of 25 per hour. If I book this resource from 10am - 1pm (3 hours) for three days, I would expect the total to be 225. Instead I am getting a total cost of 1275.00.

    Is it also calculating the hours between the first dates and the last date?

    Thanks.

      • Sorry, I've found another issue.

        When booking the above details, the plugin outputs the following shortcodes:
        [dates] = 21st September 2015 10:00 am - 23rd September 2015 1:00 pm
        [check_in_date] = 21st September 2015 10:00 am
        [check_out_date] = 23rd September 2015 1:00 pm

        However the above booking dates needs to be shown as separate days, i.e.
        21st September 2015 10:00 am - 21st September 2015 1:00 pm
        22nd September 2015 10:00 am - 22nd September 2015 1:00 pm
        23rd September 2015 10:00 am - 23rd September 2015 1:00 pm

        Is this possible?

        • Hello.
          You can use separately, these shortcodes in the booking form (at the Booking > Settings > Fields page):
          [selected_dates_hint] - showing all dates, like: 21st of September, 22nd of September, 23rd of September.
          [start_time_hint] - to show the start time, like: 10:00 am
          [end_time_hint] - to show the end time, like: 1:00 pm

          And then configure same shortcodes at the Booking > Settings > Emails page.
          But its does not possible to show the days and times as in your example.
          Kind Regards.

          • Ok, thank you. Maybe you could add this as a feature for a future version?

            I've tried the shortcodes you've suggested in the emails and Content of booking fields data, but they're not being displayed.

            • Hello.
              You firstly need to add those shortcodes to the "Booking form" at the Booking > Settings > Fields page. And then insert them into the "Content of booking form" data or into the emails. Then create new booking and test it.
              Kind Regards.

  6. Hi,

    I'm displaying a booking form with shortcode [bookingselect form_type='test-1']. When the booking form is submitted I would like to customise the booking summary output shown. I think this should be edited in Settings > Fields > "Content of booking fields data..." but my changes aren't affecting the booking summary shown on the page.

    Thanks.

    • Hello.
      After you submit the booking, at the summary info, is showing relative to the "DEFAULT FORM" of booking resource, that you was booked. You can check the default booking form for the specific booking resource at the Booking > Resources page.
      And then check "Content of booking data" at the Booking > Settings > Fields page for that specific custom form.
      Kind Regards.

  7. Hi again,

    I hope you are doing well! My client wants to know if there is a way to show how many "spots" are available on a give day. Is there a way to do this automatically? If not, is there a way to do this manually?

    Thank you!

    Katie

    • Hello.

      If you need to make the specific number of bookings per days, then you need to check the Booking Calendar Business Large version, where is possible to make several reservations per specific FULL date(s) by visitors (not time slots). Please read more about it here http://wpbookingcalendar.com/overview/#capacity
      At this version is possible to set capacity of the booking resource, so date(s) in calendar will be available until number of reservations is less then capacity of the booking resource.But in this version is possible to make reservation only for FULL date, not a time slots (time slots in this version only record data in the DB, but do not play any logic in reservation).
      Please read more info about the booking resources and how to configure them here http://wpbookingcalendar.com/help/booking-resource/
      Also we highly recommend to check this article about different configuration of capacity and availability http://wpbookingcalendar.com/faq/capacity-concept/

      Kind Regards.

  8. Hi, i've bought the "Personal" version. What i need is to set 2 different forms for 2 different resources. I mean:
    Resource number 1: Calendar and Form (1)
    Resource number 2: Calendard and Form (2).

    Basically i wanna create 2 different forms for the 2 different resourcs i have

    Thanks in advice.
    Antonio

    • Hello.
      The ability to configure the several booking forms, exist in the Booking Calendar Business Medium and higher versions.
      Please read more about this here: http://wpbookingcalendar.com/overview/#custom-forms

      We was sending to your email special proposition about this version. Please check spam folder, if you do not see it in inbox.
      Kind Regards.

  9. Hi,

    I'm using the Advanced Cost settings to add tax to my bookings but how can I show the breakdown of the costs to the customer? E.g.:
    [bookingtype]: [cost] ([base_cost] + 20% TAX)
    Room 1: 18.00 (15.00 + 20% TAX)

    Thanks.

      • Hi,

        Further to this, is it possible to output the base cost for an item and not the advanced cost?

        I have configured an advanced cost "VAT" as 120% and I'm outputting "VAT_hint" correctly, but [cost] is the adjusted advanced cost.

        • Hello.
          Yes, its possible. Please use this shortcode:

          [original_cost_hint]

          Please use shortcode generator at the right side of the Booking > Settings > Fields page for the fast and correct creation of booking form fields.
          Kind Regards.

          • Thanks, I've tried [original_cost_hint] but nothing is being output, I have tried to generate a shortcode but it produces the same.

            • Hello.
              Please try to replace this shortcode by shortcode from shortcode generator section at the right side of Settings Fields page.
              Please be sure that you set cost for booking resource higher than 0.

              • That's working now, thanks. I discovered I needed to add it to the form itself first and then it became available in the email contents.

                • Hi,
                  I've discovered that if the cost amount for a booking is altered in Admin > Bookings, this changes the value in the Bookings system but doesn't update the calculated cost in the [content] fields data.

                  How can this be updated by admin, allowing them to override the cost of the booking for discount, etc with the notification sent to a customer?

                  Thanks.

                  • Hello.
                    You can edit and save cost for the specific booking at the Booking Listing page.
                    Then you can use "Payment request" button for sending email with secret link to payment form, where visitor can make the payment for this sum. In this payment form he/she will see the sum that you have entering. In the popup dialog you can enter any text about this payment request.
                    Please read more about this configuration here: http://wpbookingcalendar.com/faq/configure-editing-cancel-payment-bookings-for-visitors/

                    Please note, if you was using previously the [cost_hint] shortcode in the Content of Booking Fields data, and then use [content] shortcode in the payment request, its will not work. Because you are changing only cost relative to the specific booking, and this [cost_hint] shortcode saved as field in the booking data form.
                    You need to edit the booking (click on edit button near specific booking), also at the Booking > Settings > Fields page you need to use this shortcode [cost_corrections], which is mean that during editing this booking at the Booking > Add booking page you can set the new cost of the booking.

                    Or you can not use the [content], shortcode at the Booking > Settings > Emails > Payment Request page, and use the configuration of email with shortcodes like this:

                    First Name: [name]
                    Last Name: [secondname]
                    etc..
                    

                    Kind Regards.

                    • Hi,

                      Is it not possible to have an email with the updated/amended booking cost sent to the visitor? On my site the payments are all handled offline, so no link to a payment page is necessary.

                    • Hello.
                      Its possible.
                      If you will use in the email template (Booking > Settings > Emails page) this shortcode [cost]
                      its will show actual cost of the booking.
                      Kind Regards.

                    • Hello.
                      It's true, that if you edit booking, then the cost of this booking is recalculated, because you can select different days or options.
                      But you can use cost correction shortcode: [cost_corrections] at the Settings > Fields page. It will show cost entering field only in admin panel at the Add Booking menu page.
                      So you can re-enter there your old booking cost to save it as booking cost after editing of this booking.
                      Kind regards.

Leave a Reply

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