உள்ளடக்கத்திற்குச் செல்லுங்கள்
தோற்றம்
எல்லா பதிவுகளும்

Direct bookings · 3 December 2026 · 6 நிமி வாசிப்பு

One booking engine for hotels, hostels, camps and villas

Guests say who's coming and the engine works out the rooms, dorm beds, tents or villas. How it places a group, keeps families together and mixes kinds.

· Founder, ZimmerStack, இயங்கும் ஹோட்டல் ஃபிரண்ட் டெஸ்க்குகளில் இருந்து எழுதப்பட்டது

Four small handmade models on a wooden reception counter: a hotel, a bunk bed, a canvas tent and a villa with a pool
இந்தப் பக்கத்தில்
  1. 1Ask who's coming, not how many rooms
  2. 2Sold whole, or one bed at a time
  3. 3The cheapest way to hold everyone
  4. 4Families stay together
  5. 5Mixing kinds in one booking
  6. 6What else the guest sees
  7. 7Putting it on your website

Most booking engines were built for hotels. The guest picks a room, then a second room, and the page counts rooms. That works until the place sells dorm beds, tents or whole villas. A group of six at a hostel does not want "1 room". They want six beds.

This post explains how our booking engine handles every kind of stay with one set of rules, and why each rule exists. You can try the same rules yourself in the playable engine on the booking engine page.

Ask who's coming, not how many rooms

The old search asks for rooms first. A family of four types "2 rooms" because they guess the rooms sleep two. A hostel group of six types "6 rooms" because there is no better box. Both guesses go wrong.

So the guest picks adults and children, nothing else. Adults are 13 and up; children are 0 to 12. The page then says, in the product's own words, that it will work out what the group needs and that the guest can change it before booking.

The engine does the counting from what each room type holds:

  • A room that sleeps two needs three units for six adults.
  • A family suite that sleeps four needs two.
  • A dorm sells one bed per guest, so six guests take six beds.
  • A pool villa that sleeps six needs one.
6 guestsFri to SunHotel2 rooms: a Twin and a Family SuiteHostel6 beds in one dormCamp2 tents: a Family and a RiversideVillas1 pool villaThe guest never picks rooms: the engine counts in each place's own unit
One group of six asks four places. Each answers in its own unit.

Sold whole, or one bed at a time

Each room type is set up one of two ways. Sold whole means one booking takes the whole room, tent or villa, up to its guests. One bed in a shared room means each bed listed under the type is a bed for one guest.

The type also has a word: room, bed, tent, villa, cottage, hut, cabin, bungalow, apartment or pod. The word is not decoration. It changes what the page says:

  • The cards show the unit's icon and word: "2 tents", "Choose 3 beds".
  • A dorm bed reads "One guest a bed" where a room reads "Sleeps 2".
  • A property that sells more than rooms says "Show what's open" and "Dates & stay", never "rooms".

None of this changes a price or a count. It only makes the page read the way the place actually works.

The cheapest way to hold everyone

Once the engine knows what each room type needs, it looks for the cheapest way to hold the whole group. It checks every room type on its own, and every pair of room types together. The page shows the winner as "Best fit", with the total, and the guest can take it in one tap or change it below.

The best fit only appears when the group needs more than one unit somewhere. A couple at a hotel is never told which room is best; they see the hotel's own order.

The options that can hold the whole group come first, cheapest first. A family of three should not scroll past "2 rooms for ₹10,400" to find the triple room that holds them for ₹6,500.

Worked example

Six friends at a small hotel

The hotel has Twin Rooms (sleep 2), Deluxe Kings (sleep 2) and Family Suites (sleep 4). For six adults, three Twin Rooms cost less than three Deluxe Kings. But one Twin Room and one Family Suite together cost less again, so the best fit is two rooms of two kinds. The guest sees that as one line each, with one total.

Families stay together

Two rules protect families.

First, a child is never placed without an adult. Every whole room or tent needs at least one adult in it. A dorm takes children only where the hotel allows it; otherwise the page says "For adults only. Children stay in another option."

Second, a family is not split between a private room and a shared dorm to save money. With a child in the party, a choice that puts part of the family in a dorm bed loses to any choice that does not, whatever it costs. If a split is the only way left to hold them, the page still offers it, but titles it "One way to hold 3 guests" and says why. It never calls it the best fit.

2 adults and 1 child at a hostelCheapest on paperPrivate Double1 adult, 1 childBed in a shared dorm1 adult, aloneParts the familyBest fit for 3 guestsFamily Room2 adults, 1 child, togetherKeeps them togetherA split is offered only when nothing else holds the family,and the page never calls it the best fit
The cheaper split parts the family, so the room that holds all three wins.

Mixing kinds in one booking

Groups do not always fit one kind of unit. A school trip may want one family room for the teachers and dorm beds for the students. A wedding party may want cottages for the families and tents for the friends.

So a guest can mix room types in one booking. When part of the group already has a place, the summary says how many guests are still without one: "What you chose holds 4 of 7 guests. Add space for 3 more guests." Every other card then offers only what those three need, at its price: "Add 3 beds", not an offer sized for the whole group.

The group: 7 guests4 have a place, 3 do notFamily Room, chosenWhat you chose holds 4 of 7 guests.Add space for 3 more guests.Bed in 8-bed Dorm3 beds for 3 guestsAdd 3 bedsOnly what the rest need, never an offer sized for the whole group
Once four guests have a place, the dorm offers beds for the other three.

One booking takes up to 20 units, and at most 10 of them can be whole rooms, tents or villas. That is 20 dorm beds, or 10 rooms, or 10 rooms and 10 beds. A larger group sees the limit in plain words and is told to book in two parts or call the hotel.

What else the guest sees

The rules above sit inside a booking page that does the usual work well:

  • The date picker shows the lowest price for the group on each night, marks closed nights and says when a stay needs a minimum number of nights.
  • When a date is closed or a stay is too short, the page says why and suggests dates that work. When everything is full, it shows the nearest open dates and buttons to call or message the hotel.
  • The stay is held while the guest fills in their details, 15 minutes unless the owner changes it. If time runs out, one tap holds it again and nothing typed is lost.
  • Guests can pay at the hotel, with no card needed. The booking lands on the front desk board straight away, and the rooms it took close on the booking sites.
  • A stay can start today and end up to a year ahead. The owner can change that window.

If you price by the number of guests, that works here too; we wrote about it in price by number of guests. And if you want your own website to sell at the right price next to the booking sites, read rate parity for your website.

Putting it on your website

There are two ways to use the engine. A ZimmerStack website comes with it built in, in your own design. If you already have a website, you paste two lines of code to add a book-now bar, set its colours, corners and font to match, and guests finish booking on your booking page.

Either way, setup is the same: for each room type, choose whether it is sold whole or by the bed, and pick its word. The settings screen reads your choice back in plain words, like "You have 6 listed under this type: guests can book 6 beds, one guest each", so you can see what guests will get before they do.

Book a hostel, a camp and a villaPick a kind of place, set the guests, add a child and mix two kinds. The demo places your group with the same rules a real guest meets.Try the playable engine

For more on why a direct booking is worth the effort, see how to get more direct bookings from your hotel website.

ஹோட்டல் உரிமையாளர்கள் கேட்கும் கேள்விகள்

உங்கள் கேள்வி இங்கே இல்லையா? எங்களுக்கு WhatsApp செய்யுங்கள். ஃபிரண்ட் டெஸ்கில் வேலை செய்த ஒருவர் பதில் சொல்வார்.

நேரடியாகக் கேளுங்கள் →
Can one booking engine sell dorm beds and private rooms together?

Yes. Each room type is sold whole or one bed at a time. A group can take a family room and four dorm beds in one booking, and the page counts each in its own word.

How does the engine decide how many rooms a group needs?

It reads how many guests each unit takes. A room that sleeps two needs three for six adults; a dorm sells one bed per guest. It then offers the cheapest set that holds everyone.

Can children stay in a dorm?

Only where the hotel allows it. Every whole room or tent needs an adult, and a child is never placed without one. A dorm with no children allowed says so on the page.

How big a group can book online?

One booking takes up to 20 beds, or up to 10 whole rooms, tents or villas. A bigger group is told to book in two parts or to call the hotel.

Does the guest see words like rooms at a campsite?

No. The page uses the unit's own word and icon: beds at a hostel, tents at a camp, villas at a villa estate. A property that sells more than rooms says what's open instead of rooms.

இந்த யோசனைகள் ஒரு நிஜ ஹோட்டலில் ஓடுவதைப் பாருங்கள்

இந்த வலைப்பதிவின் யோசனைகள் ஹோட்டல் ஃபிரண்ட் டெஸ்கில் வேலை செய்த அனுபவத்திலிருந்து வந்தவை. அவை உங்கள் சொந்த அறைகளில் இயங்குவதைப் பாருங்கள்: டெமோ புக் செய்யுங்கள், அல்லது 30 நாள் இலவச டிரையலைத் தொடங்குங்கள்.

30 நாள் இலவச டிரையல் · 48 மணி நேரத்தில் இலவச மைக்ரேஷன் · எந்த மாதமும் நிறுத்தலாம்