I’m building a owners-direct holiday rental website for an area of Spain. The site will consist of lots of property pages, each one acting as a listing for a particulr property. Each property listing page will have info on the property, and a booking system. This side of things is all taken care of.
Users can search for a property in their chosen area using @Jannis Openstreetmap stack. On it, each property is added as a marker (if you know the stack, that will sense). i also want to add in a search facility for all properties, plus a filtering system.
The search facility will be for people to search for a property by name. This is pretty easy to do, using one of the various search stacks available.
The filter system will be for people who want to see a list of properties that fit their critera. I want them to be able to filter by more than one criteria. The way I envisage this working is on the page will be a list of criteria, displayed I suspect as a group of buttons. So let’s say the criteria is… Pool. Two Bedroom. Sea view. Roof terrace. So, there will be a group of butons with those titles on them.
Users can click “two-bedroom” and “sea-view” and be presented with a list that meet that critera.
I know of a few stacks that can filter by one critera. But not more than one. I have built something very similar in Poster 2 before that does this, but it only allows for filtering by one criteria. Not sure if can be made to work with more than one?
As I’m typing that I’m thinking Alloy might work. Add each property as a blog post, then add the filters as categories. Not sure if it will also filter by two categories though. Need to have a play.
If anyone can think of any other ways to do this, or suitable stacks, let me know. Thanks.