BookingLive: Online Booking System

Booking Type

Overview

This is where you can control how your bookable items are displayed on the site, such as on the the basket page and confirmation page. Booking Type can be found in on the Admin>Data section and select Booking Type in the dropdown menu. 

When you first get your BookingLive system you will have the "Default" Booking Type already created, and from this you can edit the different fields to achieve the look you would like for the booking process. 

Edit Default Booking Type

When on the Booking Type page click the Default entry. Then on the "main" tab there will be an entry with the ID equal to 1, on this entry click the edit button. 

You will be meet with the following popup which is populated with the Booking Live default values : (This may look daunting at the moment however the more you use it the easier it will become)

Using Booking Type

In each tab there are 4 text fields, these four fields are ".. Summary", ".. Summary Info", ".. Item Info", and ".. Summary Totals", these four fields combined describe how the booking is displayed on different pages, each tab represents a different page. So if you wish to change how any of the booking process looks you need only to change the the value in the corrisponding tab for that page. 

Summary (e.g. General Summary or Basket Page Summary)

This is used for displaying as a generic template for the booking. It descided in what order the date om the other 3 fields is displayed. To do this it uses 3 Merge Tags as shown in the table below. These Merge tags tell BookingLive where to put the different informatino sections.

Item

Description

{$BookingInfo}

This will display the data in the ".. Summery Info" field, which generall fontains into about the bookijng such as booking reference and date booked. 
{$BookingItemInfo}
Will display the data in the ".. Summary Item Info" field, this is the data about the items the customer has booked. 
{$BookingTotals} Will Display the data in the ".. Summary Totals" field, which contains the payment information about the booking such as promiotional codes used in the booking and total cost. 

 

Below is an example of the Confirmation Page Summary and how it would arrange the different element of the booking on the Confirmation Page:

<div>{$BookingInfo}</div>
<hr/><br/><h5>Booking Items</h5>
<div>{$BookingItemInfo}</div>
<div>{$BookingTotals}</div>

Would look like this on the Confirmation Page:

Summary Info (e.g. Booking Page Summary Info or Basket Page Summary info)

The data entered in here will display the general details of the booking, such as date of booking, booking reference and purchaser details. Below is a list of details that you can use in this section. 

Item

Description

{$OrderRefNumber}

Displays the order reference number of the booking, please note a booking is only assigned a reference from the billing page onwards.
{$Status} Displays the status of the booking e.g. Complete, Cancelled, Pending etc.
{$PurchaserTitle} Title of the Purchaser of the booking*
{$PurchaserFirstName} First Name of the Purchaser of the booking*
{$PurchaserSurname}
Surname of the Purchaser of the booking*
{$PurchaserAddress} Address of the Purchaser of the booking*
{$PurchaserPostCode} Postcode of the Purchaser of the booking*
{$PurchaserTelephone} Telephone number of the Purchaser of the booking*
{$PurchaserMobile} Mobile Telephone of the Purchaser of the booking*
{$PurchaserEmail}
Email of the Purchaser of the booking*

*To display this information must be in the Purchaser template

Here is a break down of the default Confirmation Page Summary Info and the variables used to diaplay the information:

Language Strings

If you look into the text in any of the ".. Summary info" fields you will see some text similar to:

{$LangString(BookingSummarySSCustomersFullName,Full Name)}

This is a language string Merge tag, you can enter in any language string here, the custom language string can be used to enter in any custom text you may want. The first part of the language string Merge tag, "{$LangString(" is the same for all language strings and tells Booking live it is a language string. The next part, "BookingSummarySSCustomersFullName" tells bookinglive which language string it is refering to, this must be entered in exactly as it is in the language string portion of the CMS. The final part, "Full Name", is the fall back text if there is not data entered into the language string of the system cannot find it. Remember to seperate the 2 middle protions with a comma. Finally the 2 brackets on the end, ")}" tell Booking Live that this is the end of the language string. 

Summary Info Items (e.g. General Summary Info Items or Basket Page Summary Info Items)

This is where the items in the booking are displayed. You will notice in the data in this field there is the text: "[[BeginBookingItems]]" and "[[EndBookingItems]]", this is what we call a loop, the text inbetween it will repeat for each booking item. Below is the default Basket Page Summary Item Info:

<table class="{$SummaryType}_SummaryTable"><tr><th class="DescriptionHeader">Items</th>
   <th class="CostHeader right">Cost</th>
   </tr>
   [[BeginBookingItems]]
   <tr>
      <td valign="top">{$DescriptionLine}<br /><br/></td>
      <td valign="top" class="right">{$CostText}</td>
   </tr>
   [[EndBookingItems]]
</table>

You can see in the image below the text inside the loop is repeated for each booking item. 

The merge tags you can use in this data field are as follows:

Item

Description

{$DescriptionLine}

Is a brief description of the activity being booked. 
{$CostText} Is the cost of the activity

Summary Totals

This field deals with all the values of the different items in the booking such as promotional codes and packages, at first may seem confusing as there is alot of text in it. We do advise you contact you account manager before changing the text in this 

In the summary totals are a new type of merge tag, in this new merge tag you can pass data to a function in the back end of the site. These new mrge tags take the form:

{$function[[[data]]]}

For example:

{$SummarySubTotal[[[
   <tr class="{$SummaryType}_SubTotal">
      <th>{$LangString(BookingSummarySSSubTotal,SubTotal:)}</th>
      <td>{$CurrencySymbol}{$TotalCost}[[IfUsingCredits]]({$Credits} {$CreditsPluralSingular})[[EndIf]]</td>
   </tr>
]]]}


Which will call the method SummarySubTotal with the data that is inside the "[[[" and "]]]", a summary of all the different functions are is below:

Item

Description

$SummarySubTotal

This shows the sub total for the booking, you can use the following merge tags: {$TotalCost}, {$Credits}, {$CreditsPluralOrSingular}, {$CurrencySymbol} and the if statement: [[IfCredits]]
$SummaryTotalDue This is called to display the summary of the total amount due, you can use the following merge tags: {$AmountDue}, {$CurrencySymbol}
$SummaryTotalCost This displays a summary of total Costs, you can use the following merge tags: {$TotalCost}, {$Credits}, {$CreditsPluralOrSingular}, {$CurrencySymbol} and the if statement: [[IfCredits]]
$SummarySurcharges This displays the surcharges of the booking, if any. 
$SummaryPromotionalCode This gets the promotional codes to be displayed for this booking summary, you can use the following merge tags: {$PromoCode}, {$PromoCodeDiscount}, {$CurrencySymbol}
$SummaryPackages This displays any packases that the customer may have ordered. You can use the following merge tags: {$Quantity}, {$Discount}, {$PackageName}, {$FreeExtraName}, {$CurrencySymbol} and the folloing loop: [[BeginPackages]], [[EndPackages]] and the is statement: [[{$strIf}]]
$SummaryDeposit Retrieves any dipost informatino about the booking, you can use the following merge tags: {$CurrencySymbol}, {$DepositAmount}
$SummaryTransactions This function will loop through all the transactions of the booking, using the [[BeginTransactions]], [[EndTransactions]] loop and in this loop you can use these merge tags: {$Amount}, {$VoucherCode}, {$CreditsAmount}, {$CreditsPluralOrSingular}, {$AgentName}, {$CurrencySymbol}, {$CompanyName}
$SummaryCardCharge This function displays the card charge if there is one already associated with the booking. 


There is anoter piece of data you can add the these merge tags, it is the template on which the function will be rendered, this goes at the end of the function between the closing ']]]' and the closing '}' e.g. {$function[[[data]]]template}, these tamplate will display the information in different ways.