Hi
I was looking for module for e-commerce booking system (car rental),I found some solutions but not ver effective and not suitable to my case , I see uc_hotel and try it`s features and I found it awesome with great features and great support (from Mr.Lee), but the problem was that some i don`t need some features included in the module (occupancy modifier, occupancy limit, children ,adults , smoking.. etc) this features which related to hotels booking system, so I talked with Mr.Lee about that and he asked me to open this issue to discus about that .
I suggest 2 options:
1- found solution to override or change some strings and functions and quires to fit the needs
2- found new module cloned from uc_hotel for general booking systems needs (car rental , hotel rental , flat rental , cameras ... etc) and we may provide additional interface similar to CCK or other solution which can customise booking fields ( children , smoking , seats ,driver,furniture, charger ....etc) which let users customise similar needs too (some body want to add smoking , some body not ... etc) this may expand uc_hotel concept and help other users and we also can build child modules fit too special cases which will be a great thing.
ps: I found module for booking system => agreservations but it`s too complicated and depends on huge number of modules and some of them required dev modules , and no good documentations with many complicated configuration (Mr.Andreas promise to provide that
thanks :)
Comments
Comment #1
larowlanExamples
Some example sites running uc_hotel in disguise:
http://www.borrowed-beads.com
http://www.caravans4hire.com.au
Strings and Nomenclature
If you are using another language (other than English) then you just translate all of the strings relating to hotel rooms/bookings into the appropriate language.
If you are using English then you
a) write form_alter hooks to modify all the forms OR
b) install locale module and add another language called en_modified and make that your default language - translating all the strings to those you require OR
c) use $conf['custom_strings'] in settings.php to translate your strings
Customising the node form
Implement hook_form_alter in a custom module and hide the fields you don't need - turning them into value fields so that the uc_hotel logic doesn't break.
Customising the search form
There are heaps of posts in the issue queue regarding how to use hook_form_alter or hook_form_hotel_booking_search_form_alter in a custom module to modify your search results and form
Customising the cart/order panes
All of these can also be modified using hook_form_alter.
Lee
Comment #2
larowlanAfter Easter I'll put the custom module that powers the bead rental site up (uc_rentals) as a sandbox project and seek some feedback. If you can help with testing, please leave your name here. I'd like to test it widely before making it a released module.
Comment #3
ayalsule CreditAttribution: ayalsule commentedI think altering forms and strings will be little complicated because this features included and integrated strongly in uc_hotel , so the second options you talked about it is better and useful , and I`m ready for testing and maintainer the module too
thanks
Ayham
Comment #4
ayalsule CreditAttribution: ayalsule commentedany news about uc_rental.
Comment #5
larowlanI've put a note in my diary for next week
Comment #6
ayalsule CreditAttribution: ayalsule commentedgood, thank you
I was thinking about new feature ,integrated with views to add from & to fields like fields appear in node , this allow users to build their own search forms they may exposed or filter them with some conditionals and other stuff
thanks :)
Comment #7
ayalsule CreditAttribution: ayalsule commentedHi @larowlan
did you commit any thing, so I can test or help you with development?
Comment #8
larowlanNo not yet, how far did you get with just the string overrides module?
Comment #9
ayalsule CreditAttribution: ayalsule commentedit`s not just string overriding, there is many features must isolated from the main module, this will allow us to use it for many needs, then customize..
thanks
Comment #10
larowlanHere's a proof of concept
http://drupal.org/sandbox/larowlan/1204430
Comment #11
ayalsule CreditAttribution: ayalsule commentedI will check , thanks
Comment #13
Skidz CreditAttribution: Skidz commentedHello,
I need to set up a sports equipment rental system for a non-profit. Has there been any further development with this proof of concept ? If you need someone to help with testing I'd be willing to help.
Comment #14
DavidJohn01 CreditAttribution: DavidJohn01 commentedGood article! Thank you so much for sharing this post. Your views truly open my mind. I will share it with other people.