Simon
|
| Posted: 04/27/2003, 3:51 PM |
|
Hi,
|
|
|
 |
Simon
|
| Posted: 04/27/2003, 3:53 PM |
|
Sorry, had some problems there, with the flood etc. Anyway, I am currently building an ecommerce application, I built one (fairly basic) with CCS 1 and now CCS2 is around I am re-building it, with more features etc.
The main 'backbone' is the new directory component, but I am just trying to get peoples opinions on how to search the directory, what I mean is, I have a simple search form on the header which searches titles and descriptions, but on the advanced search I want people to be able to search by category. As the directory component allows virtually limitless subcategories I do not really want a massive listbox with all categories in it, but I do (probably) want to allow searching of the main categories only as well as the subcategories as well (no further down the hierarchy). For example if I had a main category called DVDS, then inside that I hade Action/Adventure, but also had something like Comedy with another subcategory called Stand up shows and another called films. I would want the user to be able to be able to search within the main category i.e. DVDS, but, if they wanted they could get a better search by searching only in DVDS --> Action/Adventure, but not going down to any further subcategories. Hope you get my example?!
What would be the best way to do this? I was thinking maybe two listboxes, the first has a list of the main categories and the second, which will update automatically depending on which main category is selected, has a list of sub-categories.
But then, how will I get the search to actually work? As if it just searched the category number, when only a main category is searched (as oppose to a sub category) no products (except for those that are placed directly inside the main category) would be found?!
I hope you understand my question and can help me find a logical solution to this, which I'm sure I am overlooking!
Thanks
Simon Wall
|
|
|
 |
|