Category:Widgets: Difference between revisions
Jump to navigation
Jump to search
| (9 intermediate revisions by 2 users not shown) | |||
| Line 23: | Line 23: | ||
<span style="color:#fe746c;“ >{{#fas:exclamation-triangle}} </span> The availability calendar widget only processes data one year in advance. For more future dates the dates show available but are not bookable. | <span style="color:#fe746c;“ >{{#fas:exclamation-triangle}} </span> The availability calendar widget only processes data one year in advance. For more future dates the dates show available but are not bookable. | ||
== If the datepicker is not working or you do not have JQueryUI == | == If the datepicker is not working or you do not have JQueryUI == | ||
| Line 45: | Line 39: | ||
<code> loadJQueryUI: false,</code> | <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 == | == Wordpress == | ||
| Line 89: | Line 85: | ||
| 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|| 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 | |||
|- | |- | ||
| Line 127: | Line 125: | ||
|- | |- | ||
| minNumNight || integer || minimum number of nights | | minNumNight || integer || minimum number of nights | ||
|- | |||
| noExternalFonts||true false || do not load external fonts | |||
|- | |- | ||
| Line 193: | Line 194: | ||
|} | |} | ||
'''Multiple property search only''' | '''Multiple property search only''' | ||
| Line 241: | Line 241: | ||
*A button can be generated under {{#fas:cog}} (SETTINGS) BOOKING PAGE > BOOKING WIDGETS > BOOKING BUTTON | *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 | *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 = | = Troubleshooting = | ||
| Line 247: | Line 256: | ||
==Problem installing widgets on Wix== | ==Problem installing widgets on Wix== | ||
Unlike almost all other website builders Wix does not support JQuery. You will need to check with Wix if they allow you to add JQuery to your page. If Wix will not allow you to add JQuery you can use a button, links or our legacy widgets. The legacy widgets are available via SETTINGS-BOOKING PAGE-WIDGETS-BOOKING BUTTON. | |||
==Console Error "bookWidget is not a function"== | ==Console Error "bookWidget is not a function"== | ||
If the page does not accept the word Jquery. Exchange it for a $ symbol as follows: | |||
jQuery(document).ready(function() { | jQuery(document).ready(function() { | ||