WBE Room/Package Price Widget
The WBE Room Price Widget is a powerful script designed to retrieve the best available price for each room over a specified number of days. This widget simplifies price comparison by dynamically fetching and displaying the lowest room rates within a given date range.
Key Features
- Flexible Date Range: Specify the number of days to search for the best price.
- Room-Based Pricing: Retrieves the lowest price for each room type.
- Dynamic Data Retrieval: Ensures up-to-date pricing information.
- Easy Integration: Can be embedded seamlessly into existing websites.
This widget is ideal for pages that require real-time price comparisons to enhance user experience and maximize bookings.
In the following sections, you'll find details on installation, configuration and usage to help you integrate the WBE Room Price Widget efficiently.
1. Available Placeholders
The price widget supports the following placeholders in your HTML templates:
- {PRICE}: The formatted price of the room or package
- {NAME}: The name of the package in the selected language
- {DESCRIPTION}: The description of package in the selected language
- {PICTURE}: The URL of the first picture of the package
2. Insert Script
3. Room Prices
To display room prices, add elements with the class wbe_roomPrice and the room ID:
4. Package Prices
To display package prices, add elements with the class wbe_packagePrice and the package ID:
5. Show All Packages
To display all available packages, you need to create a template element and a container element:
Room IDs
| Id | Name |
Package IDs
| Id | Name |