Hotel price calculator (without coding, or almost without coding)
Greetings from Perú:
I can't get out of my mind the idea of making a "hotel booking system" based on views. No coding, just configuration.
I think that i could work on it in a couple of weeks, so, for now i just looking for ideas, comments and suggestions.
This is my main working concept:
-
A form, with the fowling fields:
a) Date in
b) Date out
c) Number of pax
d) City (optional) -
A view, that:
a) Get that data as arguments (ideally as POST)
b) List all available accommodations in that city
c) Calculate the price for number of pax and nights
d) Link that data to the hotel detail page -
In the hotel detail page
a) calculate the cost
b) link that data to reservation form
I was think in:
I. using calculated field, but I'm doubting of its capacities, now i think that i can do it with a small php snippet to calculated the final cost.
II. Use some module to group and conditional fields in CCK, because are a lots of fields (season start, season end, price single, price double, additional per kids, etc)
III. Any way to export the view and the CCK definition, to share the implementation with you.
Need help specially with the II item. http://drupal.org/project/conditional_fields look immature and is't recommended for production sites.

have you seen this post. It
have you seen this post. It helped me get started with something similar. (i wanted an tour booking system)
http://drupal.org/node/326061#comment-1077193 - title "How to make a calendar of upcoming events" (using date CCK and Views)
update
flexifield http://drupal.org/project/flexifield looks like what i need.