When doing an availability search we typically don't want to show individual rooms (e.g. Room 101 and 102 are available) but rather room types (i.e. we have a Standard Room and two Deluxe) available.

Attached to these Unit Types should be a description.

GIven that Unit Types are Entities we can attach a field to them that points to a normal node that holds the entire description (picture, amenities, description, etc).

If the idea makes sense we need to figure out how we can do this with sensible defaults out of the box though or if anyone has other ideas happy to hear them.

Comments

ronald_istos’s picture

Issue tags: +alpha-blocker

So here is my current very simplistic thinking about how to solve this.

1. When a user installs a Bookable Unit a Bookable Unit Description Node Bundle gets created. It has some sensible things like:
a. Multiple Image Field
b. Description
c. Amenities

2. Bookable Unit Types get another field called Description Source. This autocompletes on Bookable Unit Descriptions

3. When we show available Bookable Units (bytype) we rendere the Bookable Unit Description node as well - give some choices to the user about what view mode we should be using to render it.

ñull’s picture

May be an idea is to do this through node referencing? That way users can just create their own node type that is associated with the Bookable Unit type and the Bookable units themselves. Alternatively the Bookable unit type is a node type itself.

ronald_istos’s picture

Yes - description source would be a node - working on the code for this - should be ready soon.

rhodes’s picture

Can you please give us an update for this item? I just installed rooms and it looks really good, but I still cannot add descriptions for rooms. Can you help?

nicola85’s picture

Status: Active » Closed (fixed)
candia_pri’s picture

Issue summary: View changes

Help, I'm a drupal newbie

I'm using drupal room and I want to choose/show per individual unit instead per unit type
Action: Availability search clicked and show available units. I'm trying to find and edit the page that show book this.
I want to show 'Unit description 'teaser' + 'Book this'.
and in Unit description I want to show place booking (specific individual unit selected and arrival dates field for user to choose)

So far I only add an image field that is not from the unit description. (not what i wanted)

chrbak’s picture

I think it would be a better display if the line 1328 change to :

'#prefix' => '<tr class="rooms-search-result__unit_details_wrapper"><td colspan="3" class="rooms-search-result__room-description">',

and line 1330 to :

'#suffix' => '</td></tr>',

In order the display of description node catch the 100% of the page.

mubiesam’s picture

Category: Feature request » Support request
Status: Closed (fixed) » Active

In the unit type, I did have a unit description node number corresponded.
Unit type description source...The node you choose here will be rendered in the booking results.
But the availability search result shown nothing but unit type and unit (each room), is there something I missed...

Thanks,

alexTC’s picture

Hi I`d like to know how to use comments on Room Units, there`s a content type named unit description and the module ajax comments let me use comments on those nodes, but I can`t see any reference to Bookable Unit Types, so I`m no sure it`ll work. Can anyone help..