[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] listing of categories-help
Chris Daniel wrote -
>
>
>Hello,
>I would like to create a list of categories for my minivend.
>
>I have items seperated into "stores".
>Each "store" has seperate categories.
>Categories contain multiple items.
>
>I have read and tried several different ways of doing this.
>None of them worked exactly right.
>sometimes I get all of the categories available.
>sometimes I get none.
>
>Could someone please help?
>I need code for calling page and code for new results page.
>I want to keep regular results page as is.
>The sf=category and se=video etc...
>The category list needs to only list unique.
>While I'm at it has anyone come up with a way of returning number of
>items within a category?
>like this:
>
>Video:Travel (50 available)?
>
>Thanks.
>Chris
>
Chris -
You could create a categories-only results page and use it in conjuction
with the [on-change] tag to create a category list. Put the tags to
display the category text within the [on-change][/on-change] pair, and make
the body of [search-list][/search-list] empty. You would display this page
via a one-click search which finds ALL records in the products database and
uses your categories page to display the results. Each category name would
display exactly once, due to the [on-change] tag.
Each line item (category) on this page could itself be a one-click search
which results in the display of all items in that category (this would be
the "standard" results page, and a good example of how to do this exists in
the simple demo - take a look at the category links in the file "leftside").
Read up on 'THE SEARCH ENGINE" and it's subsections in the docs.
Good luck!
- Ed L.
-
PRINTEX Marking Technologies
12113 Kirkham Rd.
Poway, CA 92064 U.S.A.
(858) 513-2418
(800) 982-1928
(858) 513-2419 fax
edlafrance@printexusa.com
http://www.printexusa.com