Forums / General Questions / Menu shows one category's children on homepage

Menu shows one category's children on homepage

Views: 785

Results 1 to 12 of 12
22 May 2012, 2:54 PM
#1
rand486 avatar

rand486

New Zenner

Join Date:
Apr 2011
Posts:
19
Plugin Contributions:
0

Menu shows one category's children on homepage

Something small I've been trying to figure out, but finding difficult because I'm new to ZenCart and its lingo (well versed in the web dev world though).

I have two categories: "Personal" and "Commercial", which have different category layouts under them. Since most of our customers are not corporations, I'd like the homepage to have "Personal" already open, with the subcategories showing. If the user clicks "Commercial", the "Personal" Section collapses, and "Commercial" opens.

Currently, it just shows "Personal" and "Commercial", and they open up if clicked. How do I get my eStore to start with "Personal" open?

22 May 2012, 2:59 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Menu shows one category's children on homepage

Go to the Configuration ... Layout Settings ...

Set the Category you want to see for:

Main Page - Opens with Category
0= Top Level Categories
Or enter the Category ID#
Note: Sub Categories can also be used Example: 3_10

and turn on the setting for:

Categories - Always Show on Main Page
Always Show Categories on Main Page
0= off
1= on
Default category can be set to Top Level or a Specific Top Level

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

22 May 2012, 3:10 PM
#3
rand486 avatar

rand486

New Zenner

Join Date:
Apr 2011
Posts:
19
Plugin Contributions:
0

Re: Menu shows one category's children on homepage

Thanks for responding so quickly! I checked the Layout Settings, and they were already set to the correct numbers. Is it possible a template override is ignoring this? I inherited this project from another web developer, so I can't be certain of what changes were made.

22 May 2012, 3:24 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Menu shows one category's children on homepage

Most likely ... can you test by switching to the Classic Template and see what happens?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

22 May 2012, 3:30 PM
#5
rand486 avatar

rand486

New Zenner

Join Date:
Apr 2011
Posts:
19
Plugin Contributions:
0

Re: Menu shows one category's children on homepage

Great idea - switched to classic, and it still didn't expand.

What files affect the menu layout? I can check to see if an add-on overwrote the original.

22 May 2012, 3:32 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Menu shows one category's children on homepage

Do you have an URL to you site that we can perhaps peek at? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

22 May 2012, 3:35 PM
#7
rand486 avatar

rand486

New Zenner

Join Date:
Apr 2011
Posts:
19
Plugin Contributions:
0

Re: Menu shows one category's children on homepage

<Removed the link>

(This is the development site - there is a live version as well, but I am not making changes there)

22 May 2012, 3:35 PM
#8
gjh42 avatar

gjh42

Black Belt

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

Re: Menu shows one category's children on homepage

I checked the Layout Settings, and they were already set to the correct numbers. What exactly were those settings? What is the category id for your Personal category?

22 May 2012, 3:39 PM
#9
rand486 avatar

rand486

New Zenner

Join Date:
Apr 2011
Posts:
19
Plugin Contributions:
0

Re: Menu shows one category's children on homepage

Oh! Got it!

I'm so very sorry, I misread, and confused the two settings "Categories - Always Open to Show SubCategories" and "Always Show on Main Page".

Smacks forehead There's my moment of the day. Gonna have to grab some more coffee, it seems.

Thanks again!

22 May 2012, 3:39 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Menu shows one category's children on homepage

You have the setting for:

Main Page - Opens with Category

set to 69?

And you have the setting for:

Categories - Always Open to Show SubCategories

set to 1?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

22 May 2012, 3:41 PM
#11
rand486 avatar

rand486

New Zenner

Join Date:
Apr 2011
Posts:
19
Plugin Contributions:
0

Re: Menu shows one category's children on homepage

Yes, those were the settings I needed. It's all good now, just had a moment of illiteracy haha.

Thanks very much for the extremely fast and thorough help!

22 May 2012, 3:42 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Menu shows one category's children on homepage

You are most welcome ... thanks for the update that this is working now ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!