Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Display images of Sub-Sub category in Main page while navigating.

Display images of Sub-Sub category in Main page while navigating.

Views: 1,038

Results 1 to 5 of 5
1 May 2013, 6:07 PM
#1
javier_romero avatar

javier_romero

New Zenner

Join Date:
May 2013
Location:
Madrid, Spain
Posts:
9
Plugin Contributions:
0

Display images of Sub-Sub category in Main page while navigating.

Hello I am having a problem showing Subcategories in main-page while navigating.

I already have the "Show SubCategories on Main Page while navigating" option set to 1 in the admin panel.

Just to be clear and so you can see the problem this is my store:

http://arteenvidrio.com/tienda/index...=index&pg=home

The thing is that when you clic on a main category like this one:

http://arteenvidrio.com/tienda/index...=store&cPath=1

You are able to see the subCategories listed in the main-page but when you clic on a SubCategory (called "colagantes" inside the make categroy) like this one:

http://arteenvidrio.com/tienda/index...tore&cPath=1_5

I am not able to see the Sub-subCategories listed the same way they get listed when clicking on a main category.

Is there any way I can get this to show? editing code or by any setting in the adminn that I am missing somehow.

Thanks in advance.

1 May 2013, 9:21 PM
#2
javier_romero avatar

javier_romero

New Zenner

Join Date:
May 2013
Location:
Madrid, Spain
Posts:
9
Plugin Contributions:
0

Re: Display images of Sub-Sub category in Main page while navigating.

I have decided not to used categories inside a subcategories to solve this problem so right now the links that I wrote in the previews post don't work but it would be nice if someone knows how to solve this issue.

thanks

1 May 2013, 9:34 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Display images of Sub-Sub category in Main page while navigating.

The behavior you want works in a stock Zencart installation: http://www.stevesh.com/demo/index.php?main_page=index&cPath=33_34 , so there's something about your site that isn't working properly. What happens if you switch temporarily to the Classic template ?

3 May 2013, 8:11 AM
#4
javier_romero avatar

javier_romero

New Zenner

Join Date:
May 2013
Location:
Madrid, Spain
Posts:
9
Plugin Contributions:
0

Re: Display images of Sub-Sub category in Main page while navigating.

stevesh:

The behavior you want works in a stock Zencart installation: http://www.stevesh.com/demo/index.php?main_page=index&cPath=33_34 , so there's something about your site that isn't working properly. What happens if you switch temporarily to the Classic template ?

Hello there, thanks a lot for your replay and for showing me how it works on your own store. I tried switching to classic but that didn't do it so I decided to just do a clean instalation and that did the trick.

Now I am running into a different problem and maybe you can give me hand.

I am trying to change image size of the subcategories that show here:

http://www.arteenvidrio.com/store/index.php?main_page=index&pg=store&cPath=1&zenid=6a07db71e99cbad0d69016b096f41918

I have already tried chaning in the admin the following values:

Subcategory image witdth
Sucategory image height

Top Subcategory image witdth
Top Sucategory image height

And none of them do the thick.

Thanks!

3 May 2013, 9:02 AM
#5
javier_romero avatar

javier_romero

New Zenner

Join Date:
May 2013
Location:
Madrid, Spain
Posts:
9
Plugin Contributions:
0

Re: Display images of Sub-Sub category in Main page while navigating.

Hello again, I have managed to fix it. I did the change in category_row.php file in the template directory:

$categories->fields['categories_image'], $categories->fields['categories_name'], 250, 150) .

and that did the trick!