Shortcodes
[cr_bee_vehicle_details]
Single vehicle page with gallery, specs, and quote
Renders the detail page for a single vehicle, including photo gallery, specifications, features, and a pricing quote.
Usage
[cr_bee_vehicle_details]No attributes — reads the vehicle from the URL.
URL Parameters
| Parameter | Required | Description |
|---|---|---|
car | Yes | Vehicle slug |
pickupDate | No | Pre-fill quote with dates |
dropoffDate | No | Pre-fill quote with dates |
pickupTime | No | Pre-fill quote time |
dropoffTime | No | Pre-fill quote time |
pickupLocationId | No | Pre-fill location |
dropoffLocationId | No | Pre-fill location |
driverAge | No | Pre-fill driver age |
What It Renders
- Photo gallery with thumbnail navigation
- Vehicle name, category, and description
- Specs grid (seats, doors, transmission, fuel, luggage, engine, etc.)
- Features list with icons
- Quote widget (if dates are provided):
- Rental summary (dates, days, location)
- Price per day and total
- "Continue" button
- Inline search form (if no dates provided — lets the customer check availability)
API Calls
| Endpoint | Cache TTL | Purpose |
|---|---|---|
GET /cars/{slug} | 5 min | Vehicle details |
POST /quotes | None | Price quote (if dates provided) |
GET /locations | 15 min | Location names |
GET /features | 15 min | Feature data |
GET /settings | 5 min | Currency, labels |
404 Handling
If the vehicle slug is invalid or not found, the plugin sets a 404 HTTP status code and returns an error message. WordPress will use your theme's 404 template.