Shortcodes
[cr_bee_results]
Available vehicles grid with pricing and filters
Renders the search results page showing available vehicles with pricing for the selected dates.
Usage
[cr_bee_results]No attributes — the shortcode reads search parameters from the URL.
URL Parameters
These parameters are passed automatically from the search form:
| Parameter | Required | Description |
|---|---|---|
pickupDate | Yes | YYYY-MM-DD format |
dropoffDate | Yes | YYYY-MM-DD format |
pickupTime | No | HH:MM format |
dropoffTime | No | HH:MM format |
pickupLocationId | No | Location ID |
dropoffLocationId | No | Location ID |
categoryId | No | Filter by category |
driverAge | No | Driver age (integer) |
What It Renders
- Vehicle count header (e.g., "12 vehicles available")
- View toggle (grid/list)
- Category filter tabs
- Vehicle cards with:
- Featured image
- Name and category
- Key specs (seats, doors, transmission)
- Features
- Price per day and total price
- "Book Now" button
API Calls
| Endpoint | Cache TTL | Purpose |
|---|---|---|
POST /quotes/bulk | None | Get prices for all available cars |
GET /cars | 5 min | Vehicle details and images |
GET /features | 15 min | Feature labels and icons |
GET /categories | 15 min | Category names for filter tabs |
GET /settings | 5 min | Currency, labels, date format |
Behavior
- Vehicles with no availability or no pricing for the selected dates are excluded
- Click a vehicle to go to the Vehicle Details page (passes all search params)
- View mode (grid/list) respects the default set in plugin settings