fbpx

Basic settings

Reservation+ (Booking engine)

How to implement:

Insert the following code into your website:

<!-- Reservation PLUS start -->
<script type="text/javascript" src="https://booking.previo.cz/iframe/"></script>
<iframe src="https://booking.previo.cz/?hotId=123456" scrolling="no" frameborder="0"
width="727" height="2000" name="previo-booking-iframe" id="previo-booking-iframe"
allowTransparency="true"></iframe>
<!-- Reservation PLUS end -->

Obligatory parameters of SRC attribute iframe:

  • hotId=123456 – ID of your hotel (you’ll find it in the Hotelgram in the menu “Help -> About application”)

Optional parameters of SRC attribute iframe:

  • lang=en – marking individual language versions (CS = Czech, EN = English, DE = German, RU =
    Russian, SK = Slovak, IT = Italian, FR = French, ES = Spanish, PL = Polish, DA = Danish, ZH –
    Chinese)
  • currency=CZK – the currency (CZK = Czech crown, USD = US Dollar, EUR = Euro, GBP – British
    pound, RUB – Russian ruble, PLN – Polish zloty, UAH – Ukrainian hryvnia, HUF – Hungarian
    Forint)
  • showTabs=reservation-maps – display only selected sections (“reservation” – classic reservation,
    “stay” – hotel stay packages, “review” – reviews of guests, “pricelist” – pricelist, “occupancy” –
    availability, “map” – map). The names of the individual tabs are separated by a dash.
  • hideTabs=stay-review-pricelist-occupancy – hide the selected section (“reservation” – classic
    reservation, “stay” – hotel stay packages, “review” – reviews of guests, “pricelist” – pricelist,
    “occupancy” – availability, “map” – map). The names of the individual tabs are separated by a dash.
  • ga=UA-1234567-8 – Google Analytics account code (Property ID) for measuring traffic
  • redirectUrl=http://www.mydomain.com/thank-you-for-reservation – URL, it will be redirected to
    the last step of reservation form after submitting order. You can also use optional parameter redirectType=iframe/parent which will redirect you to selected page inside iframe or in parent site. If you don´t use this parameter, iframe option will be automatically selected. The following GET parameters will be send:
    •pole comIds – numbers of just created reservations, with API functions (e.g. Hotels.searchBonuses) is
    posibble to get more detailed informations.
    •price – Total price
    •currency – currency of reservation
    •arrival – arrival date in the format YYYY-MM-DD
    •departure – departure date in the format YYYY-MM-DD
    •customerName – contact person
    •customerEmail – email of contact person
  • showReviews=partner-online – display only reviews of reservations from partner (“partner”),
    reservations created on Reservation calendar (“user”) reservations made on reservation form R+
    (“online”). Individual options are separated by a dash.
  • expandPriceDetails – Automatically unroll pricing details in step 4 of Reservation process
  • expandDailyPrices – Automatically unroll prices by days in step 1 of Reservation process
  • pricesPerOccupancy – show prices for all numbers of guests in the room
  • minRating=5 – show reviews with a minimum number of defined points. (an integer from 0 to 10)
  • expand – automatically unroll the details of accommodation packages. You can set unrolling of
    specific section by one of the options: “description” – section “Package description”, “includes” –
    section “Package includes”, “Procedures” – section “Included treatments”, “note” – section “Note”.
  • drawBy – how will free rooms be shown in the section of availability “object” – for specific rooms,
    “objectKind “- for type of room.
  • theme=red – change color templates – Templates are possible: red, green, orange, dark
  • hotelDetail=1, shows details at the header (logo, name, number of stars, address, reviews, brief
    description and photos). Suitable especially if the form is in a new window, or when you refer to it
    from other sites.
  • showGuestDetail= 1, unrolls the form with guest informations in third step of reservation form
  • showNote= 1, unrolls the Note in fourth step of reservation form
  • showTime= 1, unrolls arrival time in first step of reservation form
  • showRoomType= 546, reservation form will display only certain rooms (according to room IDs), if you want to display more room separate them with dash : showRoomType=12345-6543-8974
  • discountCoupon=ABC2017, automatically pre-fills discount coupon in first step of reservation form
  • mandatoryData=name-address-country-passport-visa – sets mandatory informations which needs to be filled in by client in third step of reservation form. (“name” – full name, “country” – country, “address” – full address, “visa” – visa number)

An example of the use of optional parameters:

Hide section occupancy and view the form in the English language:

<!-- Reservation PLUS start -->
<script type="text/javascript" src="https://booking.previo.cz/iframe/"></script>
<iframe src="https://booking.previo.cz/?hotId=123456&lang=en&hideTabs=occupancy"
scrolling="no" frameborder="0" width="727" height="2000" name="previo-booking-iframe"
id="previo-booking-iframe" allowTransparency="true"></iframe>
<!-- Reservation PLUS end -->

Required attributes iframe:

  • scrolling=”no” – do not show scrollbars inside an iframe (height of form is adjusted automatically)
  • width=”727″ – setting the form’s width (minimum width is 600 pixels)
  • height=”2000″, – setting the form’s height
  • name=”Previo-booking-iframe” – the name of the iframe
  • id=”Previo-booking-iframe” – ID iframe

Optional attributes iframe:

  • frameborder=”0″ – frame of iframe
  • allowTransparency=”true” – enable transparent iframe

Pre-filling form using the GET parameters

You can also pre-fill form using the GET parameters and redirect the user to the next step at a
time. For example you can pre-fill first step of reservation (to order a particular room):

As src of iframe use http://booking.previo.cz/?hotId=123456 use with the following parameters:

  • roomType=123 – ID type of room (obligatory)
  • roomCount=2 – Number of rooms (optional, default 1)
  • priceType=SingleUse – price type (standard | nrr | singleUse | singleUseNrr) (optional, default
    standard)
  • arrival=03.09.2016 – date of arrival in the format DD.MM.YYYY (optional, by default today)
  • departure=03.09.2016 – date of departure in the format DD.MM.YYYY (optional, by default a day
    after the date of the arrival)
Section packages with pre-filled first step (to order a particular stay package)

As scr of iframe http://booking.previo.cz/stay/?hotId=123456 use this parameter:

  • stayId=123 – ID Package (obligatory)
Section packages with pre-filled 1st and 2nd step (for ordering a specific package on a specific room):

As scr of iframe http://booking.previo.cz/stay/?hotId=123456 use with the following parameters:

  • stayId=123 – ID Package (obligatory)
  • roomType=123 – ID type of room (optional)
  • roomCount=2 – Number of rooms (optional, default 1)
  • arrival=03.09.2016 – date of arrival in the format DD.MM.YYYY (optional, default earliest)