Session Pack Tracking for Package Bookings

Enable per-client tracking of sessions within a purchased package. Display the current session number (e.g., Session #2 of 5) to both the client and host, and prevent bookings beyond the last session unless a new package is purchased. Automatically decrement remaining sessions after each booked session. Include optional admin view of remaining sessions and near-expiry alerts.

Why it’s valuable

  • Improves clarity for clients and providers.
  • Prevents accidental overbooking.
  • Streamlines package management and invoicing.
  • Adds visibility into per-client package status for admins.

Scope

  • Applies to booking types with an enabled package (paid or free, as configured).
  • Optional: per-package counters for multiple package types per client (future-proofing).

Acceptance criteria

  • Booking widget displays Session X of Y (e.g., Session 2 of 5) when a package is active.
  • Booking flow blocks dates/times that would exceed remaining sessions.
  • Remaining sessions decrement by one after each confirmed booking from the package.
  • When remaining sessions reach zero, the booking flow prompts to purchase or attach a new package.
  • Admin/host can view per-client package status and remaining sessions from the client’s booking overview.

Optional enhancements

  • β€œContinue pack” CTA when sessions are low.
  • Attach a specific package to a booking for automatic validation.
  • Support multiple package types per client with per-package counters.