Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / View Subcategories without opening new page?

View Subcategories without opening new page?

Locked

Views: 1,580

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
18 Jan 2008, 9:21 PM
#1
emilfalcon avatar

emilfalcon

New Zenner

Join Date:
Sep 2007
Posts:
26
Plugin Contributions:
0

View Subcategories without opening new page?

Hi, is there a way to view the subcategories in the menu without it opening a new page?

The problem is that the site I am working on has 5-6 top-level categories (which contain no products), each of which contain many subcategories (which do contain products). Now when the user clicks on the top-level category it opens up a blank page (since no products), and the user has to click on one of the subcategory to see products! How can I circumvent this? What's the idea behind showing blank pages for categories with no products (but having other subcategories with products within it)? I've disabled the Features/New/Upcoming products boxes, not sure if that makes a difference.

19 Jan 2008, 3:49 AM
#2
stampsville avatar

stampsville

Zen Follower

Join Date:
Jul 2004
Posts:
123
Plugin Contributions:
0

Re: View Subcategories without opening new page?

Hi Emil,

That was the problem I was having and just recently came across the perfect solution for my site.

Categories Menu, YahooTreeMenu With AJAX
it's available in the downloads here:

http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_52&products_id=236

I use it on my site and does the basic at the moment. I only have it going one level deep at the moment. I will be doing a category restructure in the next couple of weeks that will be up to 5 levels deep.

Hope this is what you were looking for. . .

22 Jan 2008, 11:52 PM
#3
emilfalcon avatar

emilfalcon

New Zenner

Join Date:
Sep 2007
Posts:
26
Plugin Contributions:
0

Re: View Subcategories without opening new page?

Very useful, thanks! This method should probably be used by default instead of the current category listing, as it provides substantial improvements. Only downside is that it can cause certain issues if breadcrumbs are enabled (some categories might appear in the breadcrumbs that don't appear in the categories view)