Changes

Jump to navigation Jump to search

Category:Widgets

642 bytes added, 16:07, 3 January 2023
no edit summary
== If the datepicker is not working or you do not have JQueryUI ==
If The widget will attempt to self load jqueryUI, if this is not working properly or causing conflicts you do not have jQuery and jQueryUI installed on your web page can add the following it to the <head> section of your pageafter the jquery script.
<code> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script></code>
*If you are required to be GDPR complaint you may need to download and self host this library, if so download to your server and change the src <code><link accordinglyrel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css"></code>
*<code> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script></code> If you want to optimize the loading sizes, it should be enough just to load the JQueryUI datepicker modules.
The widget can be forced to not attempt to load it's own JQueryUI by setting the following parameter.
<code> loadJQueryUI: false,</code>
 
If you are required to be GDPR complaint you may need to download and self host thess libraries, if so disable self loading, download the libraries to your server and change the links accordingly.
== Wordpress ==
| customParameter|| text || adds the specified information to the URL of the booking page. Example: customParameter:'hideroom=12345', will hide the room with the ID 12345 from the booking page.
|-
| customParameter:'br1-xxxx=book || skip directly to checkout page
|-
|}
 
'''Multiple property search only'''
*A button can be generated under {{#fas:cog}} (SETTINGS) BOOKING PAGE > BOOKING WIDGETS > BOOKING BUTTON
*Code for an enquiry form generated under {{#fas:cog}} (SETTINGS) BOOKING PAGE > BOOKING WIDGETS > ENQUIRY FORM
 
==Skip to Checkout Page==
You can bypass the booking page and redirect the widget directly to the checkout page by adding this parameter
 
<code>customParameter:'br1-xxxx=book'</code>
 
to the widget.
 
Replace xxxx with the room ID of the room you want to populate.
= Troubleshooting =

Navigation menu