You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Working With HTML to Customize the Booking Engine

The BookingCenter Central Reservation System (CRS) provides the ability for webmasters and developers to make specific use of many functions if they are willing to understand the underlying coding technique.

If you need greater control than what is offered in the examples below, please see our interface document that enables even greater control of the Booking process. Click here for an HTTP and XML (including SOAP service) specification intended for developers and webmasters to replace our Booking Engine layouts with their own custom forms.

Here are a few examples of common uses of basic HTML


Quick Reservation in place of an availability 'calendar'. In this example, a simple JavaScript utility script provides 'today's date' and the user chooses their arrival date and number of nights.


Use Coupon Codes to deliver specific rates to a 'verified' users. We have two ways to accomplish this: NOTE: The URL you use will depend on the Booking Engine Template you are using. See Booking Engine | Custom URL Links

  1. You make Discounts available to all users through your Booking Engine so they can enter a Discount/Coupon Code. This is built into BookingCenter with speciifc instructions at: https://support.bookingcenter.com/index.php?/Knowledgebase/Article/View/486
  2. You build code and disply Coupons on specific web pages (ie, not all Booking Engine requests need know you have a Coupon option). In this example, JavaScript sends a unique URL to each code validated, and an error if the correct code is not provided *note: use code: "jdav" ('base' rate) , "cdil"(-10% discount rate) , "tisb"(20% 'loaded' rate) in the 'Coupon' box and watch how rates vary when you make an entry. The 'Agent Allocation' feature in BookingCenter allows you to deliver unique combinations of Rates, Packages or Rooms to each URL.
    1. if($promo == "jdav"){?><script language="javascript">window.location="http://requests.bookingcenter.com/enquiry.phtml?site=MYPMSDO"</script><?}
    2. if($promo == "cdil"){?><script language="javascript">window.location="http://requests.bookingcenter.com/enquiry.phtml?site=MYPMSDO&agent=BCM"</script><?}


    3. if($promo == "tisb"){?><script language="javascript">window.location="http://requests.bookingcenter.com/enquiry.phtml?site=MYPMSDO&agent=WR"</script><?}


Display Package Details with Amenities and Photographs. Display the details of each Package. In this example, it's a "Room and Dinner for Two Package" (rate: MYPMSDORD) available any day of the week. NOTE: The URL you use will depend on the Booking Engine Template you are using. See Booking Engine | Custom URL Links

http://requests.bookingcenter.com/display_rate.phtml?site=MYPMSDO&RATE_PKEY=MYPMSDORD


Specific Room Details Example, this URL opens to a specific Room Type, a King Room. Or, if you prefer your own 'Room Description' page, there is an option to show a custom web page in place of the BookingCenter-generated room description page. NOTE: The URL you use will depend on the Booking Engine Template you are using. See Booking Engine | Custom URL Links

http://requests.bookingcenter.com/display_room.phtml?port=DEMO&site=MYPMSDO&room_type=KING


Date Management and Duration Example, this URL requires the guest to book the Double Room Type for 3 nights.  The calendar opens at a specific date - 10 MAR 2020. NOTE: The URL you use will depend on the Booking Engine Template you are using. See Booking Engine | Custom URL Links

http://requests.bookingcenter.com/enquiry.phtml?port=DEMO&site=TAHDON&room_type=H&arrival_day=10&arrival_month=03&arrival_year=2020&dur=3

This condition locks the duration (3 days) for an enquiry for the Type=Home so it can not be changed by the shopper.


Source and Agent links to allocate rooms and rates. These links provide detailed info on using Source Tracking in your online marketing and working directly with Agents.


Using Google Analytics 'Tracking Code' to manage your web referrals and 'ROI' from marketing campaigns. Click here for details.


We also provide a detailed document that enables even greater control of the Booking process. Click here for an HTTP and XML (including SOAP service) specification intended for developers and webmasters to replace our Booking Engine layouts with their own custom forms.

The BookingCenter Booking Engine can be used to deliver selected Rates and Availability  to a guest, agent, group, etc. by creating unique URL or link. When this URL is opened, it will display your Booking Engine with the selected allocation of rates and availability. For example, if you only want to make the KING Room Type available to a particular guest, agent, group, etc. You would insert the Room Type ID in the URL as follows: https://book.bookingcenter.com/02/?site=MYPMSDO&room_type=KING

  1. Promo Code: Promo codes are used to access a "channel" with a unique set of room types and rates. Use Promo codes for specials, discounts, negotiated rates, etc. I.e. RETURN
  2. Agent: Create an Agent and set up a "channel" with a unique set of room types and rates only available to that agent.
  3. Room Type: Insert a Room Type ID into the URL and availability will only display for the selected Room Type. 
  4. Source: Used to track bookings by a specific Source. Adding this parameter to the URL will automatically import the selected Source with the Booking.
  5. Guest Type: Used to track bookings by a specific Guest Type. Adding this parameter to the URL will automatically import the selected Guest Type with the Booking.

For detailed instructions, see Booking Engine | Custom URL Links




  • No labels