CR Bee Docs
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

ParameterRequiredDescription
carYesVehicle slug
pickupDateNoPre-fill quote with dates
dropoffDateNoPre-fill quote with dates
pickupTimeNoPre-fill quote time
dropoffTimeNoPre-fill quote time
pickupLocationIdNoPre-fill location
dropoffLocationIdNoPre-fill location
driverAgeNoPre-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

EndpointCache TTLPurpose
GET /cars/{slug}5 minVehicle details
POST /quotesNonePrice quote (if dates provided)
GET /locations15 minLocation names
GET /features15 minFeature data
GET /settings5 minCurrency, 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.

On this page