Zen Cart Logo
Forums / All Other Contributions/Addons / Sub Category Drop Down Menu

Sub Category Drop Down Menu

Views: 3,518

Results 1 to 9 of 9
30 May 2011, 12:43 AM
#1
samhughey avatar

samhughey

New Zenner

Join Date:
Aug 2010
Posts:
24
Plugin Contributions:
0

Sub Category Drop Down Menu

  • I am using 1.3.9h.
  • No upgrade.
  • No addons installed.
  • Customized header, footer, product listing, product display (everything is working just fine).
  • I've searched for this but found nothing, at least nothing which matched my search.
  • No Problems to report.

Please excuse me if this is in the wrong place. What I'm looking for is (if there even is one) a drop down menu displayed on each category page which lists the subcategories. An example of what I'm looking for is found here

When Book (in the sidebar) is clicked on, a list of All Books in that category are listed but the Filter by: drop down menu at the top right lets you select a specific subcategory which shows all in that subcategory when clicked.

Does anyone know of something like this for Zen Cart?

Thanks,
Sam

30 May 2011, 12:52 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,179
Plugin Contributions:
0

Re: Sub Category Drop Down Menu

Click the link on this page called: Free Software Add Ons

Search for: > Category Drop Down

30 May 2011, 12:59 AM
#3
samhughey avatar

samhughey

New Zenner

Join Date:
Aug 2010
Posts:
24
Plugin Contributions:
0

Re: Sub Category Drop Down Menu

haredo,

Thanks for a quick response. That's almost what I'm looking for except for two problems. 1. I would like to have it for sub-categories only and 2. appearing on the Product Listing page above all the products instead of in the sidebar. Sorry to be so picky. However, this is about the closest I've seen so far.

Thanks,
Sam

31 May 2011, 5:52 PM
#5
samhughey avatar

samhughey

New Zenner

Join Date:
Aug 2010
Posts:
24
Plugin Contributions:
0

Re: Sub Category Drop Down Menu

Thanks, I'll look into this. I was thinking about this and realized the functionality is already in Zen Cart. There is a drop down filter by menu but it doesn't have categories or sub-categories in it. Do you (or someone) know how (if) the menu selections can be changed?

Sam

1 Jun 2011, 2:18 AM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Sub Category Drop Down Menu

Categories Dressing is settable to display only certain levels of categories. It is built for the sidebar, but could probably be modified or applied to the center column (I haven't investigated the changes that would be required for this).

1 Jun 2011, 2:32 AM
#7
samhughey avatar

samhughey

New Zenner

Join Date:
Aug 2010
Posts:
24
Plugin Contributions:
0

Re: Sub Category Drop Down Menu

gjh42,

If you ever do investigate this possibility please share it!

Thanks,
Sam

1 Jun 2011, 3:01 AM
#8
gjh42 avatar

gjh42

Black Belt

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

Re: Sub Category Drop Down Menu

You can make the stock subcategory listing act like a dropdown just by adding these rules to your stylesheet:

.categoryListBoxContents {display: none;}
#indexCategories:hover .categoryListBoxContents {display: block; clear: left; background: #aabbcc; margin: 0; padding-bottom: 0.8em;}
.categoryListBoxContents img {display: none;}

To get more attractive and useful function, you can add a div or two to the code so the listing is enclosed in a relevant container, or otherwise alter the structure to fit your purposes.

1 Jun 2011, 9:02 PM
#9
samhughey avatar

samhughey

New Zenner

Join Date:
Aug 2010
Posts:
24
Plugin Contributions:
0

Re: Sub Category Drop Down Menu

gjh42,

I'll give this a try.

Thanks,
Sam