Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Sub-categories in center column appearing in different pages

Sub-categories in center column appearing in different pages

Locked

Views: 1,819

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
10 Mar 2007, 3:21 AM
#1
jorge avatar

jorge

New Zenner

Join Date:
Jun 2005
Posts:
5
Plugin Contributions:
0

Sub-categories in center column appearing in different pages

Hi, i hope some one can help me with this one.

I have been trying to make the sub-categories appear in the product listing and the detailed product information with no luck :(

i know i can do that with the categories side box, but i want them to appear in the center column.

you can take a look at the site right here:

http://fashiononline.com.mx/index.php?main_page=index&cPath=23

TNX

12 Mar 2007, 2:10 PM
#2
biscayne avatar

biscayne

New Zenner

Join Date:
Oct 2006
Location:
the Netherlands
Posts:
32
Plugin Contributions:
0

Re: Sub-categories in center column appearing in different pages

I suppose you got this resolved
in this part of your page:

<!-- BOF: Display grid of available sub-categories, if any -->
<div class="categoryListBoxContents" style="width:16%;"><a href="http://fashiononline.com.mx/index.php?main_page=index&cPath=22_93" class="linkGridCategory">Polos</a></div>

<div class="categoryListBoxContents" style="width:16%;"><a href="http://fashiononline.com.mx/index.php?main_page=index&cPath=22_96" class="linkGridCategory">Playeras</a></div>
<div class="categoryListBoxContents" style="width:16%;"><a href="http://fashiononline.com.mx/index.php?main_page=index&cPath=22_24" class="linkGridCategory">Camisas</a></div>
<div class="categoryListBoxContents" style="width:16%;"><a href="http://fashiononline.com.mx/index.php?main_page=index&cPath=22_27" class="linkGridCategory">Pantalones</a></div>
<div class="categoryListBoxContents" style="width:16%;"><a href="http://fashiononline.com.mx/index.php?main_page=index&cPath=22_87" class="linkGridCategory">Pants</a></div>
<div class="categoryListBoxContents" style="width:16%;"><a href="http://fashiononline.com.mx/index.php?main_page=index&cPath=22_88" class="linkGridCategory">Beachwear</a></div>
<br class="clearBoth" />
<div class="categoryListBoxContents" style="width:16%;"><a href="http://fashiononline.com.mx/index.php?main_page=index&cPath=22_29" class="linkGridCategory">Sweaters</a></div>
<div class="categoryListBoxContents" style="width:16%;"><a href="http://fashiononline.com.mx/index.php?main_page=index&cPath=22_89" class="linkGridCategory">Chamarras</a></div>
<div class="categoryListBoxContents" style="width:16%;"><a href="http://fashiononline.com.mx/index.php?main_page=index&cPath=22_86" class="linkGridCategory">Accesorios</a></div>
<br class="clearBoth" /> <!-- EOF: Display grid of available sub-categories -->

Is this categoryListBoxContents part of your template ?

12 Mar 2007, 4:32 PM
#3
jorge avatar

jorge

New Zenner

Join Date:
Jun 2005
Posts:
5
Plugin Contributions:
0

Re: Sub-categories in center column appearing in different pages

Well Zencart allows you to show the subcategories but just when you are located in a top category. That code is generated by zencart (i added some custom CSS things).

What i'm unable to do this far is to make the store shows the sub-categories when you are browsing the products inside one subcategory or when you are looking at a product detailed information.

I know i could paste the code at the top and that will solve the problem, but if i have to change the subcategories i will have to update manually subcategories.

I also tried to cut and paste the tags which generate that code into the pages i wanted to show them, but it didn't work :(