Zen Cart Logo
Forums / General Questions / Weird behavior of Categories menu

Weird behavior of Categories menu

Locked

Views: 653

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
21 Oct 2010, 1:49 AM
#1
ticosusa avatar

ticosusa

New Zenner

Join Date:
Oct 2010
Location:
Costa Rica
Posts:
10
Plugin Contributions:
0

Weird behavior of Categories menu

I am presently using: v1.3.9g with the estorenow template. So this is the situation:

I have categories on the left hand side box. For example I had the shoes category listed by brand, everything cool, now when I add a subcategory it disappears from the menu box and instead it displays the only the subcategories such as Man and Woman.

The image I am attaching shows how Adidas and AF1 vanished from the menu tree which starts with the following brand Air Jordan. The site is at http://www.nikeguru.com

Thanks in advance!

21 Oct 2010, 2:42 AM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Weird behavior of Categories menu

Yes, that is weird behavior.
The only thing I can say from here is that the template has customized tpl_categories.php to show the categories in nested <ul> lists, but the nesting is not correctly done. The sub-subcats (Men, Women) are in the same list with the subcats (Air Jordan, etc.) instead of being in a lower nested list. The list items with subcats have an empty <ul></ul> if they are not open to the subs.

These inconsistencies make me suspect that there is also some coding problem with the categories box that is hiding subcats with subcats. You should ask the template's maker what is causing this behavior, and request that they correct the list nesting. I might be able to see the problem if you post the file.
Alternatively, you could replace the template's categories box with Categories Dressing, which has correctly nested lists and is known to function properly.

21 Oct 2010, 2:51 AM
#3
ticosusa avatar

ticosusa

New Zenner

Join Date:
Oct 2010
Location:
Costa Rica
Posts:
10
Plugin Contributions:
0

Re: Weird behavior of Categories menu

Thanks for the reply. How do I proceed with the replacement?

21 Oct 2010, 3:03 AM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Weird behavior of Categories menu

Download Categories Dressing from Free Addons, and follow the instructions in the readme. You would first want to save the template version of tpl_categories.php somewhere else (like your local computer) just in case you need it for something.