Zen Cart Logo
Forums / General Questions / Feature Inquiry: Display all items under a categories (including items of subcats)

Feature Inquiry: Display all items under a categories (including items of subcats)

Locked

Views: 2,723

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
24 May 2006, 11:47 AM
#1
juneym avatar

juneym

New Zenner

Join Date:
Aug 2004
Posts:
52
Plugin Contributions:
0

Feature Inquiry: Display all items under a categories (including items of subcats)

This is a feature inquiry:

Is there a feature that will allow me to list all items/products of a category including all items under the subcategories under?

25 May 2006, 3:44 AM
#3
juneym avatar

juneym

New Zenner

Join Date:
Aug 2004
Posts:
52
Plugin Contributions:
0

Re: Feature Inquiry: Display all items under a categories (including items of subcats)

hmmm, interesting although the demo doesn't seem to list all items (under it inc subcats) whenever I click "WOMEN".

26 May 2006, 10:09 AM
#4
juneym avatar

juneym

New Zenner

Join Date:
Aug 2004
Posts:
52
Plugin Contributions:
0

Re: Feature Inquiry: Display all items under a categories (including items of subcats)

Hello, this is just an update if anybody has similar inquiry as I had. Here it goes:

all I want was to list all items under a categories including those items under subcategories -- recursively.

I found this function to answer my need:

File: include/functions/functions_categories.php

zen_get_categories_products_list($categories_id, $include_deactivated = false, $include_child = true)

you'll love this function :)

31 May 2006, 5:09 AM
#5
barbara avatar

barbara

New Zenner

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

Re: Feature Inquiry: Display all items under a categories (including items of subcats)

juneym:

Hello, this is just an update if anybody has similar inquiry as I had. Here it goes:

all I want was to list all items under a categories including those items under subcategories -- recursively.

I found this function to answer my need:

File: include/functions/functions_categories.php

zen_get_categories_products_list($categories_id, $include_deactivated = false, $include_child = true)

you'll love this function :)

How did you get this to work, if I may ask? My file already SAYS that on that line and it is not showing subcategories. I am really flummoxed over this one. I have spent the better part of three hours messing with this one feature and trying to decide how I want it to look ...

Barbara

7 Jul 2006, 7:44 AM
#6
milksamsa avatar

milksamsa

New Zenner

Join Date:
Dec 2005
Posts:
33
Plugin Contributions:
0

Re: Feature Inquiry: Display all items under a categories (including items of subcats)

I need to implement this function too!

Let's say I have this category tree:

Parent
----child1
----child2
----child3

I would like to be able to click on "Parent" and get the whole child1, child2 and child3 product listing...

Is it possible?

Thanks in advance.

Milk.