Do you have a villa or a hostel?
Do you want to sell the whole object and parts of this object at the same time?
Then this function is applicable for you
The hotel has rooms 'Suite' and Standard which can be combined into one large room Family. As a result, the hotel has 3 types of rooms Family, 'Suite' and 'Standard'.
When reservation heppened in one of those rooms, the rooms associated with this room are out of sale. For example: when guest reserves the Family room, both Suit and Standard are out of sale. When guest reserves Standard room, Family room is out of sale, and Suit should remain on sale, accordingly, when guest reserves Suit, the Family should also leave, and Standard room should remain on sale.
The bed is for sale in a room with 5 beds, but you also want to sell the whole room. Create from rooms category 'bed in the room' new category 'whole room'.
As a result, if the entire room is booked, individual bed sales are closed for those dates, and vice versa, if there is a reservation for one of the beds, the whole room is closed for sale.