CR Bee Docs
Shortcodes

[cr_bee_manage_booking]

Booking lookup by reference and email, with cancellation and messaging

Renders the Manage Booking page where customers can look up their booking, cancel it, or send a message.

Usage

[cr_bee_manage_booking]

What It Renders

Lookup Form

  • Booking reference field
  • Email field
  • Search button

Booking Details (after lookup)

  • Booking status and payment status
  • Vehicle name
  • Rental dates, times, and locations
  • Price breakdown (per-day rate, addons, modifiers, total)
  • Number of rental days

Actions (if enabled in settings)

  • Cancel Booking button — Only shown if:
    • manage_cancel_enabled is true in tenant settings
    • Booking status is cancellable (request_received, confirmed, pending_payment)
    • Pickup date is beyond the cancellation window
  • Send Message form — Only shown if manage_message_enabled is true

API Calls (via AJAX)

ActionEndpointPurpose
LookupGET /bookings/{ref}?email={email}Fetch booking details
CancelPOST /bookings/{ref}/cancel with emailCancel the booking
MessagePOST /bookings/{ref}/message with email + messageSend a message

Feature Toggles

These settings (configured in Settings > Booking in the CR Bee admin) control what the Manage page shows:

SettingEffect
manage_page_enabledShow/hide the entire form
manage_cancel_enabledShow/hide the cancel button
manage_message_enabledShow/hide the message form

On this page