accommodation capacity

How to Make the Number of Adults & Children Flexible in the Hotel Booking Plugin

Since Hotel Booking version 3.7.2, you can make the number of adults and children change dynamically based on the guest’s search parameters and keep the tiered pricing set via Rates.

For example, in the previous version, if the accommodation capacity was two adults and one child, the room wouldn’t appear eligible for a parent with two children simply because there was a “one child” limit in the settings. In reality, a bed for an adult could be used by a child – and even vice versa in some types of properties.

The new plugin version allows you to bring more flexibility to this restriction by designating three separate capacity limits: for adults, children, and the total “capacity”.

This is a little bit different from using the “Guests” field since you can still have a tiered pricing rates system for children and adults separately. The rate will be updated dynamically based on the number of adults and children the guest chooses at checkout.

How does it work?

When you go to the Accommodation type > Capacity, in addition to “Adults” and “Children”, you can see one new field: “Capacity”. If you set any value here, this is the total number of guests/sleeps/beds that can be occupied.

new field capacity

In simple terms, the “Capacity” option prioritizes the total number of sleeps/beds rather than strictly differentiates the number of adults and children.

In order to benefit from this flexibility, you need to set the total number of adults, the total number of children and the total number of sleeps (“Capacity”) so that in total the total number of adults and children is not more than the “Capacity” limit.

For example, let’s take a look at this configuration:

Adults: 6

Children: 5

Capacity: 6

This means you allow a room to accommodate up to 6 adults, up to 5 kids so that it meets the total “Capacity” of 6 guests requirement.

So guests can go with any combination of adults and children, e.g. 2 adults and 4 children.

Please remember that a minimum parameter of 1 “Adult” is required. A property can’t be booked only for “Children”.

On the frontend, if the “Capacity” is not specified, the room details show the exact number of adults and children that can’t be exceeded. For example, the room below won’t be suitable for those looking for 4 children:

normal capacity

When you change this by setting the “Capacity” and limits for adults and children separately, the frontend capacity changes to the maximum sleeps:

capacity hotel booking

If you have different rates set for different combinations, it will change dynamically at checkout. Although it’s a common “Guests” term, you can still set pricing variables:

rates in hotel booking

When the guest is redirected to the checkout page, they are able to select the needed number of adults and children and see that the price is changing depending on the selected numbers (watch how the rate price is changing when the number of children is changed) –

price change

This allows you to have more flexibility as to capacity and at the same time keep your pricing policy with less effort.

We hope this improvement will remove limitations you might have experienced with the Hotel Booking plugin. Do you need this feature to tune the plugin behavior for your business? Let us know in the comments.

8 Replies to “How to Make the Number of Adults & Children Flexible in the Hotel Booking Plugin”

  1. Hi!
    Have you thought to include a newborn kid section, where the kid does not pay any fee? The user can decide the newborn age like from 0 to 2 years, then the house can have up to $variable_max newborn kids with minimum 1 adult.

    Best regards

    1. Hi Alberto,
      Thanks for your question. We do not plan to add other age categories since there might be too much variations per each owner. In most cases the guests are not charged for infants and it would be enough to indicate the number of infants on the checkout pahe so that the owner could prepare the accommdation or for other purposes. You may use default ‘Notes’ field to ask your guests to indicate the number of infants. Or you may use our Checkout Field editor addon to add new fiels and disable defauly ones

  2. Thank you for this great update! However, i would like the possibility for people to reserve a room for only childern, without any parent. Right now, it seems that it’s required that an adult is booked for a room since it’s not possible to select zero adults on the checkout form.

    1. Hi Julian,
      Thanks for your feedback. It would be helpful if you specify what type of properties you rent out that allows hosting children without adults? Are there adults also allowed or it is just for children?

  3. This is a great feature, however my client’s hotel has different pricing for children over 3 and children under 3 that this plugin still can’t handle. The only way to get round it is to generate individual pricing for all possible varying combination of Adults and children of ages above or below 3. This does work so that the guest can then select the correct combination at checkout, however it means that when creating rates for new seasons there are 100’s of rates to update each year, which is incredibly painful.
    It would be fantastic if you guys could set up so that we have total capacity working as now and then guest can choose at checkout the age of the children.

    1. Thank you for your feedback. You may add variable pricing for children and indicate that infants or babies under 3 years old are hosted for free. If you wish to be informed about the number of babies under 3 you may add a custom field using our Custom Fields addon

  4. Nice feature, maximum capacity but when I use this and I enable stripe payments, the feature no longer works; on the check-out page you can select max adults and max children, adding up to more than the set maximum capacity. When I subsequently disable the stripe payment gateway, the feature works fine again and I am no longer able to choose more adults and children combined than the set maximum capacity….
    Please tell me how I can fix this.

    1. Hi Arjan,
      We have tried to replicate the issue you described but it worked successfully with Stripe enabled. Could you try to clear the cache and test it again? We recommend submitting a request to our support team if it is not helpful still.

Leave a Reply

Your email address will not be published. Required fields are marked *