Difference between revisions of "Setting/propertiesbookingurl"

From Beds24 Wiki
Jump to navigation Jump to search
Line 38: Line 38:
  
  
If you are familiar with  Javascript  you can us this method to add target features to Booking redirect URL:
+
 
 +
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>
 
Scripts can be addes in the <head> section in SETTINGS->BOOKING PAGE-DEVELOPER.
 

Revision as of 17: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>