Hotel Website Integration with Booking Form

Hotel Website Integration with Booking Form


1.0.1 Download Booking Mask


Download!

1.1 Booking Mask with one kid category (mostly used)

There is a set of parameters needed to link a website through a booking form to the 2nd step of the booking engine. These parameters are explained below in detail.

NameTypeValuesRequiredExampleNotes
PageInt19YesPage=19Fixed value = 19
lan_idStringYeslan_id=en-USSelected Language

see Appendix I
srcIntNoBooking Source

see Appendix II
promoStringNoPromo Code or Agent Code
arrivalDateYesarrival= 9/05/2013Format
dd/MM/yyyy
departureDateYesFormat
dd/MM/yyyy
roomsIntYesrooms=1Number of Rooms
adultsIntYesadults=3Number of Adults
kidsIntYeskids=1Number of Children
kid1IntYeskid1=1Active kid category
kid2IntYeskid1=-1Active kid category
kid3IntYeskid1=-1Always -1 – NOT USED
selectedroomStringNoRoom Type Abbreviation

The booking form is linked with the booking engine only with one kid category. For example, if the kid1 category (i.e. 0-6) is free of charge and you want to link only the second kid category (i.e. 7-12), then the parameters kid1, kid2, kid3 should be set as follows:

kid1=-1, kid2=1, kid3=-1

Below is an example of the booking engine URL with all needed parameters:

https://demov3.book-onlinenow.net/index.aspx?Page=19&lan_id=&arrival=26/05/2020&departure=28/05/2020&
rooms=1&adults=3&kids=1&kid1=-1&kid2=1&kid3=-1&extra=0&cot=

1. 2 Booking Mask with two kids categories

There is a set of parameters needed to link a website through a booking form to the 2 nd step of the booking engine. These parameters are explained below in detail.

NameTypeValuesRequiredExampleNotes
PageInt19YesPage=19Fixed value = 19
lan_idStringYeslan_id=en-USSelected Language see Appendix 1
srcIntNoBooking Source
promoStringNoPromo Code or Agent Code
arrivalDateYesarrival=29/05/2013Format dd/MM/yyyy
departureDateYesFormat dd/MM/yyyy
roomsIntYesrooms=1Number of Rooms
adultsIntYesadults=3Number of Adults
kid1IntYeskid1=1Number of kids of the 1st kid category
kid2IntYeskid1=-1Number of kids of the 2nd kid category
kid3IntYeskid1=-1Always -1
selectedroomStringNoRoom Type Abbreviation
ExtraInt0YesFixed value = 0
cotInt0YesFixed value = 0

The booking form is linked with the booking engine with two kid categories.

The kid1 parameter is the number of kids of the 1st kid category (i.e. infants 0-2) The kid2 parameter is the number of kids of the 2nd kid category (i.e. kids 3-12) kid3 is always -1 ( kid3=-1)

Below is an example of the booking engine URL with all needed parameters:

https://demov3.book-onlinenow.net/index.aspx?Page=19&lan_id=&arrival=22/03/2020&departure=26/03/2020&
rooms=1&adults=3&kid1=1&kid2=1&kid3=-1&extra=0&cot=0

1.3 Wordpress sites - Installation Instructions (suggested)

For installation of the mask (horizontal or vertical) in a Wordpress website the following steps should be followed:

  1. Copy the /css in your main directory of your website

  2. In Wordpress Admin, go to Plugins and install the plugin RAW-HTML (https://wordpress.org/plugins/raw-html/ (opens in a new tab) ) or any similar plugin

  3. In Wordpress Admin, go to Appearance-> Widgets and add a text widget to your Page Widget Area.

a. Inside the text widget , do copy paste the code from the file " Booking.html ". b. Add in the first line the following command: <!--raw--> And after the last line add the following command: <!--/raw--> So the text area should start with <!--raw--> and end with <!--/raw-->.