Hotel Groups

Hotel Groups

Installation for a Group of Hotels


If you wish to have a "Booking" button for each of the hotels in your group on the same page, the settings are made only on the buttons, you do not have to modify the head.

Necessary Requirements

Follow the instructions in the hotelrsv.js Installation Manual, adding the hotelrsv.js library in the <head>.
NotesIMPORTANT: Hotel groups only require one identifier in the HEAD section, no matter what it is.
IT IS NOT NECESSARY TO PLACE MORE THAN ONE IDENTIFIER.

Hotel Booking Configuration Button 


The booking buttons will take by default the hotel declared in the head, however you can configure different buttons for the hotelRSV application to open different hotels and therefore allowing the user to book different hotels from the same page. Any button, image or link (anchor) located on the hotel web page can be used to launch the hotelRSV booking application, for this you only need to add the rsv-app-launcher class to the button or link where you require such action.

To launch a specific hotel, you must add the attribute "data": data-hotelrsv-id-hotel whose value must be the identifier of the hotel you want to activate. This identifier is communicated by the hotelRSV team at the beginning of the contract of use of the platform.

 Examples:

Element
Indication
<button>
<button class="rsv-app-launcher rsv-mobile-launcher otras-clases" data-hotelrsv-id-hotel="ID_HOTEL">
<input>
<input class="rsv-app-launcher rsv-mobile-launcher otras-clases" data-hotelrsv-id-hotel="ID_HOTEL">
<a>
<a class="rsv-app-launcher rsv-mobile-launcher otras-clases" data-hotelrsv-id-hotel="ID_HOTEL">
<input type="button">
<input type="button" class="rsv-app-launcher rsv-mobile-launcher otras-clases" data-hotelrsv-id-hotel="ID_HOTEL"> 

To launch the hotel multi-selector:
  1. <button class="rsv-app-launcher rsv-mobile-launcher" data-hotelrsv-show-multihotel-selector="1">
Notes
If you want the hotel selector to be displayed when the booking app opens, see Booking Buttons - Action Calls.
Info
Visit our Hotel Group Demo which simulates a 3-hotel group website. In the footer, buttons are configured to programmatically run different hotels.
Info
Hotel identifier When starting the hotelRSV platform service, the identifiers of each hotel are assigned, which must be replaced by ID_HOTEL.