Forums / Setting Up Categories, Products, Attributes / Listing subcategories in product listing

Listing subcategories in product listing

Locked

Started by doodlebee on 4 Jun 2009, 4:01 PM · Views: 1,074

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
4 Jun 2009, 4:01 PM
#1
doodlebee avatar

doodlebee

Inactive

Join Date:
Jan 2006
Posts:
228
Plugin Contributions:
0

Listing subcategories in product listing

I had a client ask me a question, and I've been searching for a week, but cannot find the answer. So hopefully someone can give me a nudge here :)

The client has a couple of categories that have subcategories. (most of them don't, but there's two categories that have a few subs). On the product listing pages for these categories, she wants the category image with the name of the category to show (no problem, already done), but she also wants a list of the child categories to display beneath this image.

Now, I know I can pull that off with a sidebox and do it in te sidebar - but she wants it on the category listing pages, right in the main column. Would anyone know of a contribution that can do this, or amybe the right search term (because what I'm putting in is coming up with nothing) or some kind of hint as to how I can do this?

I've already told her that most likely it can't be done (well yeah, I'm sure it can, but not within her budget anyway) but I thought I'd ask to see if anyone knows a "quick" way - since I'm coming up empty. I know I can do this, but if I can't find a quick answer, then she's going to pass on it. But I gotta try - so any nudges for me?

4 Jun 2009, 4:15 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Listing subcategories in product listing

Categories have categories or products in them ... never both ...

How would you list "child categories" on the product_listing if you are looking at the Products when Categories never have both Categories and Products in them at the same time ... :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

4 Jun 2009, 4:27 PM
#3
doodlebee avatar

doodlebee

Inactive

Join Date:
Jan 2006
Posts:
228
Plugin Contributions:
0

Re: Listing subcategories in product listing

maybe I misspoke :)

I mean the category listing page, not product listing. I'd show you a URL, except that I can't on a public forum... I know.

On the ZenCart site I have set up for her, when you click on a category (for purposes of example, we'll call the main category "Pets"), the page lists like so:

Pets
 [pic of dog]   [pic of cat]   [pic of fish]   [pic of bird]
    Dogs             Cats             Fish             Birds

The categories, of course link their their respective category pages, which would have a listing of the child categories. So say you clicked on "Dogs" - it would take you to the "Dogs" category page which look like so:

Pets>Dogs
 [dog pic]       [dog pic]      [dog pic]
 Small Dogs     Medium Dogs     Large Dogs

..and so on.

But what she wants is for the "Pets" category to list like this:

Pets
 [pic of dog]      [pic of cat]      [pic of fish]      [pic of bird]
    Dogs              Cats              Fish              Birds
  Small Dogs                         Tropical Fish
 Medium Dogs                         Betta Fish
Large Dogs

Does that make more sense?

4 Jun 2009, 6:35 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Listing subcategories in product listing

Check the Free Software Add Ons ... I thought there might be something for this in there ... :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

4 Jun 2009, 7:03 PM
#5
doodlebee avatar

doodlebee

Inactive

Join Date:
Jan 2006
Posts:
228
Plugin Contributions:
0

Re: Listing subcategories in product listing

Thanks Ajeh - I did that already actually, and couldn't find anything. I've been having massive brainfarts this week, and I think maybe that's contributing to my issues - I'll try again :)

4 Jun 2009, 7:26 PM
#6
doodlebee avatar

doodlebee

Inactive

Join Date:
Jan 2006
Posts:
228
Plugin Contributions:
0

Re: Listing subcategories in product listing

another quick search and I didn't find anything, but I did refer her to a coder I know (and have used before - he's actually from these forums :) ) who can probably pull this off in his sleep :)

4 Jun 2009, 10:24 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Listing subcategories in product listing

Let us know if you come up with a solution ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Dec 2009, 8:34 PM
#8
manage_it avatar

manage_it

Inactive

Join Date:
May 2006
Posts:
80
Plugin Contributions:
0

Re: Listing subcategories in product listing

Did anyone find a solution for this. I am also really looking for this solution.