Opening the booking calendar showing a specific category
Opening the booking calendar showing a specific category |
|||
Opening the booking calendar showing a specific category |
If you have defined categories for your products, a category selector is automatically shown on the booking calendar as shown below:
Booking Calendar with Category selector
It is possible to open the booking calendar with a specific category. This is useful if you have a different webpage for each category.
If you need to set up product categories, click here for instructions: How to set up product categories.
To open the booking calendar for a specific product category, you'll need to modify the booking calendar code to include the parameter pcid . You will need to add the parameters in two places within the code. This parameter instructs the booking calendar to show display the requested category. You'll find the pcid value for each category in the product category list under Setup - Business Information - Advanced Options.
Example:
<iframe id="bookingcalendar" src="https://secure.webreserv.com/services/bookingcalendar.do?businessid=decolodgingga&pcid=2572&embedded=y&search=0&css=" style="width: 100%; max-width: 800px; height: 1200px; border: 0; padding: 0; margin: 0;" frameborder="0"><a href="https://secure.webreserv.com/services/bookingcalendar.do?businessid=decolodgingga&pcid=2572&embedded=y&search=0&css=">Make Reservation</a></iframe>
This will open the product page for the specified product category as shown below.
Booking Calendar with category filter
For more information. . .
Overview of the Booking Calendar
Adding the Booking Calendar to your website
Opening the booking calendar showing the availability grid