Hi,
I am trying to replicate the ebay filtering system: eBay – Antiques, Antiquities Classical Amer. and Architectural Garden items on eBay.com. Find IT on eBay.
as you can see the items on that page are being pulled in from the sub (sub/sub) categories of the main category (Antiques)
how can i pull off the above so that a category can display items from its sub categories and show them.
the solution needs to mysql/php driven.
regards
rg
Filtering Categories
Started by x232, Jul 17 2008 07:10 AM
2 replies to this topic
#1
Posted 17 July 2008 - 07:10 AM
|
|
|
#2
Posted 17 July 2008 - 12:28 PM
#3
Posted 18 July 2008 - 04:33 AM
If I'd program an category tree, I make work like this
id, catname, parent_id, ...
in this case you search through all with the id, then all with that id as parent id, then all with these id:s as parent id:s and ongoing until no more matches.
then you've got all categories to search within.
id, catname, parent_id, ...
in this case you search through all with the id, then all with that id as parent id, then all with these id:s as parent id:s and ongoing until no more matches.
then you've got all categories to search within.


Sign In
Create Account

Back to top









