Forums / Setting Up Categories, Products, Attributes / categories with product always how?

categories with product always how?

Locked

Views: 1,008

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
30 Apr 2008, 2:41 AM
#1
whidbey avatar

whidbey

New Zenner

Join Date:
Apr 2008
Posts:
5
Plugin Contributions:
0

categories with product always how?

suppose my categories struct as folling:
A
A's child B
B's child F
B's child G
A's child C
D
D's child E

ok, I have a problem. when I click {A's child B} ,I want to show all the product's
belongs to it , how can I do? thx

or Is there any idea when I click {A's child B} ,if the sub catergory is expanding,then collpase it, other while if is collapsing ,then expand it
?

thx in advance!:smile::smile:

30 Apr 2008, 7:22 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: categories with product always how?

There cannot be any products belonging directly to B in your example, because B has subcategories. Categories hold subcats or products, not both.

Your other request, for categories that expand when clicked and collapse when re-clicked, is not possible in standard Zen Cart. It could be done, but would require custom coding, possibly javascript.

30 Apr 2008, 8:03 AM
#3
whidbey avatar

whidbey

New Zenner

Join Date:
Apr 2008
Posts:
5
Plugin Contributions:
0

Re: categories with product always how?

gjh42:

There cannot be any products belonging directly to B in your example, because B has subcategories. Categories hold subcats or products, not both.

Your other request, for categories that expand when clicked and collapse when re-clicked, is not possible in standard Zen Cart. It could be done, but would require custom coding, possibly javascript.

is any one has the same problem and done?
thx very much~:clap::clap:

30 Apr 2008, 8:04 AM
#4
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: categories with product always how?

custom coding is needed, but it has already been done:
http://www.zen-cart.com/forum/showpost.php?p=528471&postcount=91

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me