Booking Calendar Parameters - Version 2.0
Below is a summary of all the Booking Calendar 2.0 parameters
Attribute |
Description |
Example |
---|---|---|
agent |
Instructs to use store the agent code specified in the parameter as the agent code for the reservation. |
agent=supertravel |
avgrid |
Specifies whether a customer can view the availability/rate grid. The availability/rate grid is not shown by default. |
avgrid=y |
bgcolor |
Controls the background-color. Use this parameter to change the background color. Note: Do not use any of the color parameters if you are using a theme or your stylesheet. |
bgcolor=orange |
businessid |
The business ID of your business |
businessid=dcsa |
bcolor |
Controls the border-color. Use this parameter to change the default border color. Note: Do not use any of the color parameters if you are using a theme or your stylesheet. |
bcolor=4e4e66 |
color |
Controls the text color. Use this parameter to change the text color. The default text color is black. Note: Do not use any of the color parameters if you are using a theme or your stylesheet. |
col=00000 |
css |
Specifies a theme stylesheet to be applied. See section on how to use your own stylesheet. |
css=[URL] |
dateformat |
Instructs the calendar to use a specific date/number format rather than the date format returned by the browser. |
dateformat=en_GB |
embedded |
Instructs the booking calendar that it is embedded rather than being shown in a separate window. |
embedded=y embedded=n |
language |
Controls what language will be shown.
This parameter is only valid on the WebReserv.eu site. |
language=es |
page |
Specifies which page to show first. Valid options are: productlist (default) addtocart viewcart productgrid Note: to use the productgrid, productgrid must also be enabled using the parameter avgrid=y |
page=viewcart |
pcid |
Specifies which product category to show by default. This option should only be used if viewing the product list or search list. It is ignored on all other pages. |
page=productlist&pcid=17 |
ptid |
Controls what product is shown as the default product. This parameter can only be used if the page is set to addtocart. |
page=addtocart&ptid=1032 |
search |
Controls if the search by date is enabled. Valid options are: search=0 (default) search=1 (search by date) search=2 (search by date and number of nights) search=3 (search by date and number of days) |
search=1 |
For more information. . .
Overview of the Booking Calendar
Adding the Booking Calendar to your website