e4j's Blog news about the Joomla!® world and the Vik extensions

Setting up a mixed configuration of room types is definitely a common configuration for Hostels! In this article we will see how to set it up with our Vik Booking extension:

Those who run a hostel or a lodge for backpackers with just shared/dormitory rooms, will probably face a shorter configuration. Those who have a property with both the room types, need to have a specific configuration.

The goal is to obtain a clear booking scenario on your Joomla website for your guests that are about to make a reservation.

Customers that prefer to stay in a shared or dorm room will need to choose how many "beds" they want to book, while if they prefer private rooms, guests will need to choose how many rooms they want to reserve, of course only if you have multiple units of the same private room-type (for example 3 equal "Private Double Rooms").

Due to this technical difference with the booking configuration, Vik Booking offers a different setup for these rooms type in order to allow the guests to book either rooms or beds.


Private room hostel configuration with Vik Booking

Private Rooms:

From the new/edit page of each room-type defined in Vik Booking, the minimum and the maximum number of adults, children and total guests (adults + children) should be properly set up with the correct values, depending on the capacity of the room.

Let's say that a private room can accommodate more than one adult, but it also allows a single occupation, then the minimum number of adults should be set to 1, while the maximum number of adults can be set to 2 or 3 in case of a "double" or "triple" room. In this case, the minimum number of children should always be 0, or if set to a greater value than 0, this room won't be available for booking to those who choose like 2 adults and 0 children. Then you can adjust the total number of guests allowed, which is the sum of adults and children.

The number of units defined for such room-types will indicate how many times the same room can be booked on the same dates. In case you have multiple equal rooms, like 10 "Double Rooms", then you should use this value (10) for the number of total units to sell.

Vik Booking hostel configuration dorms

Shared/Dormitory Rooms:

Such room-types will offer "beds" rather than "rooms", and so their set up from the new/edit page in the rooms management section of Vik Booking is slightly different from a private room. In fact, because guests will be booking "beds", the minimum and maximum number of adults allowed should be set to 1. This is because only one adult can occupy one bed. The same thing goes for the children in case they are allowed, the minimum number of children should be always 0 here again, while the maximum number of children should be at most 1 for the same reason that one bed is for one person. Then you can adjust the total number of guests, by making sure the minimum and maximum value is always 1 here as well.

The number of units for such room-types should be equal to the number of beds available in the shared/dorm room. This will also determine how many times this shared/dorm room can be booked on the same dates, meaning how many "beds" can be booked simultaneously at most.


With this simple configuration, you have just properly set up the booking rules for your mixed types of accommodation.


Now it's time to take care of the UI (User Interface) to make sure the booking process/forms will be clear enough for the guests that will have to understand that they will be booking "rooms" in case of private rooms, and "beds" in case of shared/dormitory rooms.

If you create some Menu Item with Vik Booking for your website of type "Rooms List", "Search Form" etc.. you will see how the booking form is presented to the guests. By default, and if the room-type has got more than one unit ("bed" in case of shared rooms) available, guests will be asked to choose how many "rooms" they would like to book, as well as for how many adults (and children, if enabled) they need such rooms.

Vik Booking Hotel private rooms reservation process

Such default labels (language definitions) may be confusing in case of a shared/dorm room, because the guests are looking for one or multiple beds.

Here comes the trick, which simply consists in overriding a couple of default language definitions like "Rooms" and "Room" into a more appropriate or generic term. The overrides are a technique of modification of certain contents, in our case of the default "language strings" of the component, and they are useful yet powerful for the simple reason that no future updates will ever touch your "overrides".
On top of that, there is the fact that Joomla CMS has some native override functions that will make the work easy.


Our Language Override Tips:

  • if your property only offers shared/dorm rooms, you can override the strings "Rooms" and "Room" respectively into "Beds" and "Bed".
  • if mixed room-types are available (both private and shared/dorm rooms), then you can use a generic term for the strings override, like "Rooms/Beds" and "Room/Bed".
  • provide some extra information/instructions to your guests by using the apposite description fields available for each room.

Hostel beds reservation process on Vik Booking

How to display the contents/booking forms in the front-end section of your website:

Now that you have properly set up your room-types and that the labels will print an understandable word, it is time to decide how to display the various room types or booking forms.

The booking process can start from a booking form, or even by visiting a "Rooms List" page, for then clicking on a specific room to visit its "Room Details" page where the booking form will be displayed. The choice of how to display such content is only up to you and to the taste/style the website should have.

In case of mixed room types (both private and shared rooms), we always recommend using the Categories feature in Vik Booking to be able to assign each room type to one or more categories, which can be used as a filter, for example, in a page with a Menu Item of type "Rooms List", or in a Menu Item/Module of type "Search Form".

  1. You can display only and all the "private rooms" and all the "Shared Rooms" on a specific page of your Joomla website by creating and using a Menu Item of type "Rooms List" and by using the apposite category filter for each of them.

    Vik Booking Rooms List category filter


  1. Alternatively, you could display the "Search Form" module on some pages/home page of your site, or even use a Menu Item of type "Search Form", by forcing the search over a specific category, still by using the apposite filter.

    Vik Booking shared private rooms search

This is a recommended practice, no matter how you will decide to present the booking forms or how the booking process will start.


Do you want to discover all the cool functionalities of Vik Booking? Click here to discover Vik Booking.

Do you work also with WordPress?

Did you know that some of our Joomla!® extensions are also available as plugins for WordPress?

Please visit our dedicated marketplace VikWP.com for more details!

Visit vikwp.com

Extensionsforjoomla.com is not affiliated with or endorsed by the Joomla!® Project or Open Source Matters.
The Joomla!® name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
E4J s.r.l. - VAT N. 06794860483

This site uses cookies. By continuing to browse you accept their use. Further information