Search...
Generic filters
Exact matches only
Search in title
Search in content
Search in excerpt
Filter by Custom Post Type

Weight Concepts

Modified November 22, 2017 | Created June 1, 2017 | Jeff Valair

Filed under Fundamentals

When a booking is created there are several validation checks that are performed.

Class limits

This first validation ensures there is enough available seat and weight in the class being booked.

Schedule maximum

If a schedule weight limit is set, a check against this weight maximum is performed.

While a booking could potentially fit within the limitations of the class; it could be exceed the overall total weight limit of the schedule.

Examples

The following classes can been booked to their full individual weight limits:

Class Maximum Weight limit
Passengers 10 500 lbs
Luggage Unlimited 100 lbs
Freight Unlimited 50 lbs
Schedule maximum 650 lbs (or Unlimited)

The weight limit in these classes could over-lap or “bleed” from the other classes:

Class Maximum Weight limit
Passengers 10 600 lbs
Luggage Unlimited 100 lbs
Freight Unlimited 50 lbs
Schedule maximum 650 lbs

In the above example, the maximum bookable weight in the Passenger class is 600 lbs.

If both the Luggage (100 lbs) and Freight (50 lbs) class were fully booked; there would only be 500 lbs available for the Passengers class.

Class # Booked / Maximum Weight / Weight limit
Passengers 0 / 10 0 / 500 lbs
Luggage 1 / Unlimited 100 / 100 lbs
Freight 1 / Unlimited 50 / 50 lbs
Schedule maximum 650 lbs

If the Passengers (600 lbs) class was fully booked, there would only be 50 lbs between both the Luggage and Freight classes available.

Class # Booked / Maximum Weight / Weight limit
Passengers 5 / 10 600 / 600 lbs
Luggage 0 / Unlimited 0 / 50 lbs
Freight 0 / Unlimited 0 / 50 lbs
Schedule maximum 650 lbs

logo
Bitnami