Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-06-16 02:57:33
- saturnflyer
- Member
- Registered: 2006-01-22
- Posts: 40
advanced search of a product catalog
I’m sure this can be done with a lot of extras added in, but I’m curious if anyone knows how I could use textpattern and create a site that could operate like a product catalog and have search capability using specific attributes.
Hopefully this will make sense…
I want to make a site that has a listing of homes for sale. Condos, townhomes, etc., and I want to list the amenities such as gas, electric, square footage, number of bedrooms, etc.
I want to be able to do that, but also expand the search capability so that a visitor could search for a townhome with 4 bedrooms, for example.
Can this be done with textpattern and plug-ins or is it up to me to try to write something for this?
Thanks for any help!
Offline
#2 2006-08-18 10:11:28
- masa
- Member
- From: North Wales, UK
- Registered: 2005-11-25
- Posts: 1,095
Re: advanced search of a product catalog
I’d like to know the answer to this one, too.
Has anyone ever done this? Is custom programming required?
Thanks for any pointers!
Offline
Re: advanced search of a product catalog
It would interest me too. I had wanted to set up some checkboxes as filters for article output, ideally more than two. In the end I reduced the functionality to filtering between only two categories, in my case type and location (for you that might correspond to residential 4-bed in state-xyz).
chh_article_custom has the ability to output and article list with AND and OR to combine two categories. Some additional trickery was required to get from the search request to build the relevant chh_article_custom list. My attempt worked as described in this topice but has some issues with searching in parent and child categories (more precisely: a limitation of chh_article_custom) which I worked around by not presenting the combinations which don’t work.
I’m sure the database queries are standard stuff so this could be a good candidate for a plug-in here.
TXP Builders – finely-crafted code, design and txp
Offline
Pages: 1