To link the rooms, so that they can be rented out individually or as a whole villa, it is necessary to go to all settings > Rooms/Extras.
After that, you need to enter the settings first of the room type that you want to rent out as a whole villa (which, for example, consists of 2 rooms, in our example the room type is called Villa)
Further on, in the advanced settings section, check the box "Linked room types". When you check the box, the "Linked Room Types" drop-down menu will open to select which room types you link together to give an availability of 1 for the Villa (in our example). Once you've done that, click the "Save" button.
When we assign this command to the program, it will work as follows:
If someone books the whole villa or you manually set it to availability 0 or close it for sale, the rooms that are connected to it (i.e. together make up the Villa) will automatically go to availability 0 and will be closed for sale
If someone books any of the rooms linked to the Villa or you manually set them to 0 availability or close for sale, the entire Villa will automatically go to 0 availability and be closed for sale
By sending such availability to online channels, the possibility of reserving the entire villa and some of the rooms individually at the same time (overbooking) is reduced.
Note: If the link room types was done in the above-mentioned way, when you do some commands from the Prices & Restrictions section regarding the closing of the rooms for sale, it is necessary to exclude that Villa, not to go to the "Select all" option.