Embeber Motor de Reservas como Marca Blanca (Versión Inglés)

Common steps

In order to embed OfiTourWeb booking engine into another website, it is necessary to include the following code in every single page that will send a communication call to OfiTourWeb. You will be able to do this just above the label </head>

<script type="text/javascript"
src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="SUBDOMAIN/Scripts/easyXDM.min.js"></script>
<script type="text/javascript"
src="SUBDOMAIN/Scripts/comunicacionMarcaBlanca.js"></script>

Where SUBDOMAIN will be provided as data for the nesting development of OfiTourWeb.

IMPORTANT: The full URL of each page that contains the nesting of OfiTourWeb booking engine must be provided to the provider in order to complete the whole OfiTourWeb booking engine nesting integration process in your website.

Booking process page

This web page will actually do the booking process on the OfiTourWeb booking engine. It hast to include the following code wherever you wish to place the booking engine.

<script type="text/javascript">
$(function () {
generaComunicacionOfiTour('http://SUBDOMAIN?ClienteMarcaBlancaFrame=
CODIGOCLIENTE&urlCliente=URLCLIENTE&idOpcionReserva=IDOPCIONRESERVA', WIDTH, false, HEIGHT)
});
</script>
<div id="divContenedorMarcaBlanca"></div>

Attributes of generaComunicacionOfiTour:

  • SUBDOMAIN: it will be provided as data for the nesting development of OfiTourWeb.
  • CODIGOCLIENTE: it will be provided as data for the nesting development of OfiTourWeb.
  • URLCLIENTE: URL of the page from which the request call to OfiTourWeb Booking engine will be implemented.
  • WIDTH: width of the box that will contain the OfiTourWeb booking engine. This value will be 100%.
  • HEIGHT: minimum height of the box that will contain the OfiTourWeb Booking engine. This value can’t be lower than 600.
  • IDOPCIONRESERVA: this is an optional parameter, you only need to indicate it if the booking engine has several reservation options and you want to use only a specific one.

Booking summary page

This web page will show the summary of your reservation. It hast to include the following code wherever you wish to place this summary page.

<script type="text/javascript">
$(function () {
generaResumenOfiTour('http://SUBDOMAIN)
});
</script>
<div id="divContenedorMarcaBlanca"></div>

Attributes of generaResumenOfiTour:

  • SUBDOMAIN: it will be provided as data for the nesting development of OfiTourWeb.

PDF Budget web page

This web page will create a PDF with a budget obtain during the Booking process through OfiTourWeb.

<script type="text/javascript">
$(function () {
generaResumenPdf('http://SUBDOMAIN)
});
</script>
<div id="divContenedorMarcaBlanca"></div>

Attributes of generaResumenPdf:

  • SUBDOMAIN: it will be provided as data for the nesting development of OfiTourWeb.

Contact us

Please do not hesitate to contact us at the following email addresses: