Hello Andreas,
I have a question too, I'll use this module for car rental services, for example my company have one more office, one of them at Paris, one of them at Istanbul, the other is at Berlin.. I think I can assign the locations to unit types by using CCK. Can visitor choose the location with dates when they search available units?

Comments

joel.schopp’s picture

I am looking at using Agreservations for online reservations for a series of campsites, so I too am looking for multiple location support. Any ideas if there is already support or how it could be added?

agill’s picture

This is not yet implemented. It would afford additional fields and
the possibility to choose not only dates but also locations.
then only units which match the selected location would
be included in the search result.

Its probably not difficult to implement...but not done yet.

yenidem’s picture

Hallo Andreas,
Can we create search box by using views? Actually some times we do not need exactly "search by location" we may need search by price, search by color, by model and etc... We are able to add any fields to unit types and if we use views for filtering/searching we can do everything by our self.

thank you.

agill’s picture

you can create the fields yourself, or you could try the location module.
the problem i see with your views solution is: you have unit types and units...
what if you want to choose a special unit that is located in a certain location and
other units of the same unit type are on different locations.

The view visible when the search button gets hit (after selecting dates on the searchwidget) displays
products only... in agreservations the unit type is the product. For cars where you want to update the locations often, this would be a problem. it works for all the other info you mentioned: color, model etc.
but the locations can change and should not be saved on the unit type but the unit itself especially if we
are talking about movable units like in car rental use case.

for that it could be an option, to extend the category search widget(in this case category: rent a car), which
currently only contains the start and end dates, with a location chooser dropbox. then after clicking search, the productlist view only contains unit types that have at least 1 unit in the selected location in the selected daterange (showing only free unittypes in daterange works...but location needs to be implemented...some programming necessary).

yenidem’s picture

Hello Andreas,
you marked "basically the same as 7.1 new features will go in this 7.x-2.x branch like a location entity which will allow handling
of the "where" for each unit." on the notes of project. I use latest dev version but there is no any feature about location, did I misunderstand the note? Have you develop the location feature or will you?

Thank you.

agill’s picture

yes you have misunderstood the notes, there will be location handling in the 7.x-2.x-dev version,
but it is not implemented yet. My plan plan is to implement this in januar/februar 2012. but it depends on
how much contract work i have to do.

vistree’s picture

Hi,
this is a very interesting discussion. I also would like to search for a combination of attributes (cities, and avaible rooms in this city).
Is there already a way to create a view and set a time filter (arival + depart) which respects the avaibility of units defined by agreservation?

yenidem’s picture

Hallo Andreas,
Is there any update about subjected feature? when can we use book by location option.

thank you.

agill’s picture

Reading now my post from #6 again i have to apologize, but during 2012 i had contract work to do and
only had little time for agreservations.

Right now the current situation is: i have a project
which involves app-development for iphone using phonegap, which has to be ready until january 2013.
After that i hopefully will have time to implement this important feature(booking by time and location) into agreservations.

This is the downside of opensource development, its hard to plan because as a freelancer you never know
what the next projct will be, at least for me, - usually i can not plan longer than the current project.
So hopefully the next projects will be agreservation-related which will give me the necessary time to
work on agreservations more in 2013.

agalligani’s picture

I am working on a project also where it may become necessary to use a location identifier, although not necessary as of yet. But if you added this it would really be helpful for, as someone else suggested, a car rental or other rental scenario (storage units, etc) where the company has many locations for their customers. So this is just to encourage those efforts.

agill’s picture

Hello agalligani, thanks für your encouraging words...but the big obstacle at the moment preventing
new features and debugging is the lack of sponsors/paid projects for agreservations.

In 2013 i have to concentrate on paid jobs, i already spent too much of my time on this project unpaid.
And if in 2013 there will be no paid agreservation projects on my list then probably agreservations will be
outdated by the end of 2013. we will see.

agalligani’s picture

NOOOOOOOO!!! You've done awesome work on this. This is a much-needed module. Someone must sponsor this! BTW - I just discovered the Reservations by Unit Type option, which means, ultimately, one could use category to break out reservations by location (ie: - for a group of hotels: "Rooms - Hawaii", "Rooms - California"... etc.). Sadly there is a ... very minor, i'm sure ... error message that pops up when you enable Reservations by Unit. But maybe I can figure out how to fix it myself.... :-)

As If’s picture

Issue summary: View changes

"Reservations by Unit Type"? @agalligani where did you find that?