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

ParameterRequiredDescription
pickupDateYesYYYY-MM-DD format
dropoffDateYesYYYY-MM-DD format
pickupTimeNoHH:MM format
dropoffTimeNoHH:MM format
pickupLocationIdNoLocation ID
dropoffLocationIdNoLocation ID
categoryIdNoFilter by category
driverAgeNoDriver 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

EndpointCache TTLPurpose
POST /quotes/bulkNoneGet prices for all available cars
GET /cars5 minVehicle details and images
GET /features15 minFeature labels and icons
GET /categories15 minCategory names for filter tabs
GET /settings5 minCurrency, 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

On this page