Q239: What is blocking in packages?

FAQ Q239: What is blocking in packages?

Reserving a package normally also reserves a given quantity of resources which make up package contents. Sometimes you will also want to block a higher quantity of an included resource. Such units are not reserved but blocked in the way that no other package can reserve the blocked units except for the package for which the initial reservation was entered.

Here's an example:
A small tour company organizes different tours and uses two 6-seat shuttle busses to run the tours. Customers can reserve an entire shuttle for private tours, or they can reserve a number of seats for one of the offered tours, e.g. City tour, Countryside tour and Seaside tour. The way the tours are run is that the first customer decides on the destination and then the remaining seats can be filled by other customers (unless a private tour is booked in which case no other customer can join in on the same tour). Of course all passengers then go to the same destination.

In order to set up the above configuration, packages must be used with blocking enabled. Since individual seats are reserved, it's the seat which must be set up as the resource. Here's the configuration used:

Resource / PackageNameQuantityResource sharingPackage settings
ResourceShuttle Bus Seat12 (2 buses, each with 6 seats)Always possibleN/A
PackagePrivate tour2 (same as number of busses)DisabledPackage contents: Shuttle Bus Seat, used quantity: 6 (entire bus is reserved for a single reservation)
PackageCity tour12 (same as number of seats)Always possiblePackage contents: Shuttle Bus Seat, used quantity: 1, blocked quantity: 6 (entire bus must be blocked for this destination)
PackageCountryside tour12 (same as number of seats)Always possiblePackage contents: Shuttle Bus Seat, used quantity: 1, blocked quantity: 6 (entire bus must be blocked for this destination)
PackageSeaside tour12 (same as number of seats)Always possiblePackage contents: Shuttle Bus Seat, used quantity: 1, blocked quantity: 6 (entire bus must be blocked for this destination)

In the above configuration all the resources which can be reserved by the customers are actually packages and all the shared packages must use blocking. This way planyo will take care that no more than 2 destinations will be chosen at any given time by the customers.

In order to use blocking, you must enable it for the entire planyo site. You can do this on the page where you define package contents, for any of your packages. Blocking is then enabled for all packages.
Back to Frequently Asked Questions