In Johku, a resource pool's allocation strategy determines how the pool's resources and their seats are distributed to a customer's reservation. There are three options: Johku selects the resources automatically, the customer selects the number of resources, or the customer selects the resources.
The strategy is selected in the resource pool's settings. The Resource allocation and Seat allocation settings specify the order in which Johku takes resources into use and how participants are divided among the resources.
1. Automatic resource selection (default)
With automatic resource selection, Johku selects the pool's resources for the reservation according to the number of participants the customer selects. On the product page, the customer sees only a selector for the number of people, whose maximum is the sum of the maximum capacities of the pool's resources. Example: the pool has five double rooms and the customer books for five people, so Johku takes three rooms into the reservation.
The Resource allocation setting
In Johku, Resource allocation determines the order in which the pool's resources are taken into use:
- Random: the needed number of resources is taken into the reservation in random order.
- Best fit: Johku selects the resource whose capacity best matches the reservation's number of participants. Example: a four-person and a three-person cottage are free, and a reservation for three people goes to the three-person cottage.
- Prioritized: the resources are taken into use in the order you set. Arrange the resources by dragging them in the Resources in the pool list; resources are taken into the reservation starting from the top of the list.
- Spread: Johku tries to allocate a separate resource to each seat in the reservation. Example: in a reservation for five people, every participant gets their own resource when the pool has five resources.
- All: all the free resources in the pool are taken into the reservation regardless of the number of participants. This is used only when the resources do not have the Allow separate reservations at the same time setting selected. Resources reserved through another product are not included.
The Seat allocation setting
In Johku, Seat allocation determines how the reservation's participants are divided among the seats of the resources:
- Fill: the seats of one resource are filled completely before the next one. Example: a five-person and a three-person cottage, a reservation for six people: the five-person cottage fills up and the sixth person stays in the other cottage.
- Balance: the participants are divided evenly among the resources. The same example: three people in each cottage.
- Single: only one resource from the pool is used for the reservation. The same example reservation for six people would not succeed, because six people do not fit in one cottage.
2. Allow users to select the number of resources
In this strategy, the customer selects the number of resources to reserve on the Johku product page with a quantity selector. The selector's title is set in the Quantity selector title field on the product's Prices tab. If the product has pricing based on the number of people, the customer also sees a separate selector for the number of people: the customer then selects both, for example, the number of rooms and the number of guests.
With this strategy, only these are available: Resource allocation Random, Best fit (with the people selector) or Prioritized, and Seat allocation Balance.
3. Allow users to select the resources
In this strategy, the pool's individual resources are shown by name on the Johku product page for the customer to select. This way the customer can select, for example, a specific cottage or piece of rental gear. The customer first selects the number of people and the reservation time, and then the resources they want by clicking them.
Requirements and limitations:
- The product must have pricing based on the number of people.
- The resources must not have the Allow separate reservations at the same time setting selected.
- The strategy works best when the maximum capacity of each resource is 1. If the capacity is larger, Johku divides the participants among the selected resources so that each resource first gets one participant and the rest fill the resources in order.
- The customer can't select more resources than the number of people can fill, or too few for the number of people.
- Seat allocation is always Balance, and the Resource allocation setting is ignored.
Which strategy to choose
Automatic selection suits cases where it doesn't matter to the customer which unit they get, for example similar hotel rooms. Selecting the number suits cases where the customer books several units at once, for example two rooms for a family. Selecting the resources suits cases where the units differ from each other and the choice matters to the customer, for example named cottages or rental gear of different models.