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 am trying to configure a booking calendar on my website. However I encounter some struggles: the calendar is not showing but the booking form is visible. I followed the solutions I've found in the FAQ (deactivate all my plugins, deactivate my theme to use the default WP theme) but it still doesn't work. I have some JS errors but only with my theme (I don't have these errors using the default WP theme) so I thought it wasn't the issue.

    Versions used:
    WordPress: 5.1.1
    PHP: 5.6
    Booking Calendar: 8.4.6
    Here is the link to the page

    What can I do about this? Thanks!

    Regards,

    Marie

    • Hello.

      Any JavaScript error at the page, can be reason of not showing the Booking Calendar. Its because during occuring some JavaScript error, its stop executing any other JavaScript commands, and calendar is not showing.
      You need to fix all JavaScript errors.
      Currently I can see this JavaScript error:

       SyntaxError: expected expression, got '<'
      

      Please recheck your page for any JavaScript errors (usually for see what JavaScript error you have you need to press Ctrl + Shift + J for showing browser console) and try to fix them. You can check for the most common issues on the FAQ page https://wpbookingcalendar.com/faq/ at the troubleshooting section.

      You can also try to deactivate one by one all your active plugins at the WordPress > Plugins menu. Then retest it again.
      If its not help, please deactivate your active theme and active the default WordPress theme. And then retest it again. May be there exist some conflict with some active plugin or actual theme and just need to find the reason of that issue.

      Kind Regards.

      • Hey!

        Thanks for your reply.
        I can't see this error but I fixed another one (scripts.php was loaded 2 times) which resulted in:

        TypeError: jQuery(...).datepick is not a function

        I tried to check "Load JS and CSS files only on specific pages" which resulted in:

        ReferenceError: visible_booking_id_on_page is not defined

        I tried once again to deactivate all the plugins and to change my theme to the WP default theme but it didn't fix these errors.

        Regards,

        Marie

        • Hello.
          this error

          TypeError: jQuery(...).datepick is not a function

          is not about the ...Load JS and CSS files only on specific pages...
          That error usually relative to this issue: https://wpbookingcalendar.com/faq/loading-jquery-twice/

          So please deactivate this option ...Load JS and CSS files only on specific pages... at the Booking > Settings General page in Advanced section.
          and then try to deactivate one by one all your active plugins at the WordPress > Plugins menu and make testing after each plugin deactivation.
          If its not help, please deactivate all your plugins and active the default WordPress theme. And then retest it again.

          Kind Regards.

          • Hey,

            I deactivated the Load JS and CSS files only on specific pages, I deactivated one by one all my active plugins and tested after each plugin deactivation, it didn't help. I deactivated all my plugins and active the default WP theme, retested, and I still have the same

            TypeError: jQuery(...).datepick is not a function

            Regards,

            Marie

                • Hello.

                  You are having this lines of loading jQuery library second time inside of content of your page:

                  <script type="text/javascript" src="//code.jquery.com/jquery-1.10.2.min.js"></script><br />
                  <script type="text/javascript" src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script><br />
                  <script type="text/javascript" src="//form.mailkitchen.com/scripts/forms/basicForm.js"></script><br />
                  <!-- End SignUP Mailkitchen Form -->
                  

                  Please remove it.

                  Probably its inserted directly into content of your page. Or you have still some active plugins.
                  Kind Regards.

                  • Hey!

                    I found these lines are due to my newsletter widget. I deactivated it on the page and the calendar is showing.
                    Thank you!

                    Regards,

                    Marie

    • Hello.
      Can you send link to exact page where you are having the search form, and where you are having an issue ? I can not find search form here http://www.dev02.fyi-marketing.nl/
      Also can you send configuration of your search form from the Booking > Settings > Search page ?
      Please send all this info to support @ wpbookingcalendar.com
      Thank you.

  2. Hi!

    I have built a form with the booking plugin (Business Large edition) and I'm wondering if it's possible to create conditional price fields.
    The use case:
    In the form on my (client's) webpage, a visitor can make an appointment to rent a boat with all kinds of perks. The visitor can choose out of 4 arrangements (all with different prices). This is all working fine. However, the prices should change based on the amount of people that are given within the form.
    Also, there are some other things that affect the total price, but those should not be affected by the amount of people. Those things can easily be managed within the 'advanced costs' tab. The arrangement issue is a pretty tough one I think...

    So, for example, the base price for 1 arrangement is €17,00. When someone tells the form that the arrangement is for 2 people, the price should go up to €34,00 and so on.

    Would it be possible to create such conditional prices? If so, how can I create this?

    Any help would be most welcome.

    Thanks in advance!

    Kind regards,

    Ruben

      • Hi,

        Thanks for the fast reply, that's really awesome!

        Those advanced costs would affect the total price of the form right?
        In my use case it should only affect the value of another field.

        In my form, users can also pick other extra's that should affect the total price only once instead of per person. I think that makes this a difficult situation.

        Thanks in advance!

        Kind regards,

        Ruben

          • Hi,

            You are real lifesaver. That's exactly what I needed!

            Thanks for your help, fast replies and keep up the good work!

            Kind regards,

            Ruben

            • Hi,

              Sorry to bother you again. I forgot to ask about another conditional field that should be calculated.
              It's basically the same idea, but with [durationtime]. Can I do arithmetic operations with that?

              I tried to do [ fieldValue * durationtimeField ] in the advanced costs tab, but it doesn't work. I'm guessing it's not possible due to the durationtime probably being some kind of timestamp type rather than an integer...

              Any ideas on how to do such arithmetic operations?

              Thanks in advance!

              Kind regards,

              Ruben

              • Hello.
                Yes it’s does not possible. Please check point #3 from previous faq instruction:

                3) In case, if the options in selectboxes or checkboxes does not have numbers (but some strings), please DO NOT use such shortcodes!
                For example, if you have shortcode like this in booking form:
                
                [select visitors "1" "2" "3" "4"]
                
                so then you can use [visitors] shortcode at the Booking > Resources > Advanced cost page.
                But if you are having shortcode like this at the Booking > Settings > Form page:
                
                [select visitors "Person 1" " Person 2" " Person 3" " Person 4"]
                
                so then you CAN NOT use shortcode [visitors] in the Booking > Resources > Advanced cost page.

                Kind Regards.

                • Hi,

                  Alright, no problem. My client will already be very pleased with the fixes regarding the amount of people * arrangement costs.

                  Have a nice day!

                  Kind regards,

                  Ruben

  3. Hi,

    I'm trying to automatically accept all booking.
    As this is only used internally by a limited number of people, I trust anybody who has access to the form.

    I have the Personal version.

    Thank You!

    • Hello.
      The auto approving of all incoming bookings possible to activate only in the Booking Calendar Business Small version at the Booking > Settings General page in "Auto cancellation / auto approval of bookings" section.
      You can make upgrade to the higher version of Booking Calendar from your exist version of plugin by clicking on the "Upgrade" menu item at the top right side of General Booking Settings page in your admin panel.
      Kind Regards.

Leave a Reply

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