Difference between revisions of "Setting/propertiesbookingurl"
Markkinchin (talk | contribs) |
|||
Line 38: | Line 38: | ||
− | + | ||
+ | Scripts can be added in the <head> section at the menus | ||
+ | SETTINGS->BOOKING ENGINE->MULTIPLE PROPERTIES->DEVELOPER | ||
+ | or | ||
+ | SETTINGS->BOOKING ENGINE->DEVELOPER | ||
+ | |||
+ | For example: this would cause property 1234 to open in the parent window (frame busting) when it's book button is clicked on the multiple property page | ||
<script> | <script> | ||
Line 45: | Line 51: | ||
}); | }); | ||
</script> | </script> | ||
− | |||
− |
Revision as of 16:29, 11 May 2020
This page will be opened to accept online bookings.
Only use this if you need to link to another booking system, otherwise leave this empty.
The URL should begin with either http:// or https://
The landing page can not contain an iframe with the property booking page.
The following Template variables concerning check-in date, check-out date, language and number of guests can be included in your URL and will be substituted with the actual data.
[FIRSTNIGHTYYYY-MM-DD]
[FIRSTNIGHTDD/MM/YYYY]
[LASTNIGHTYYYY-MM-DD]
[LASTNIGHTDD/MM/YYYY]
[LEAVINGDAYYYYY-MM-DD]
[LEAVINGDAYDD/MM/YYYY]
[NUMADULT]
[NUMCHILD]
[GUESTLANGUAGE]
[CURRENCY]
[ROOMID]
[PROPERTYID]
[ACCOUNTID]
Scripts can be added in the <head> section at the menus SETTINGS->BOOKING ENGINE->MULTIPLE PROPERTIES->DEVELOPER or SETTINGS->BOOKING ENGINE->DEVELOPER
For example: this would cause property 1234 to open in the parent window (frame busting) when it's book button is clicked on the multiple property page
<script> $(document).ready(function(){ $('#propid1234 a').attr('target', '_parent'); }); </script>