Booking Calendar Parameters
Below is a summary of all the Booking Calendar 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=000000 |
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=es_ES |
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. Note: the language parameter changes the language and the date format. This parameter is only valid on the WebReserv.eu site. |
language=es_ES |
page |
Specifies which page to show first. Valid options are: page=productlist (default - shows list of items) page=addtocart (shows calendar) page=viewcart (shows shopping cart) page=productgrid (shows availability grid) 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 |
show |
Instructs the booking calendar to show items that can be reserved (reservables) and/or gift cards.
Valid options are: show=all (default - will show both reservable inventory and gift cards) show=reservables (shows items for booking only) show=giftcards (shows only gift cards) |
show=all |
For more information. . .
Overview of the Booking Calendar
Adding the Booking Calendar to your website