Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Skip One-Category Sub-Categories?

Skip One-Category Sub-Categories?

Locked

Views: 988

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
1 Mar 2009, 10:21 PM
#1
dmfelder avatar

dmfelder

Zen Follower

Join Date:
Nov 2006
Posts:
102
Plugin Contributions:
0

Skip One-Category Sub-Categories?

Is it possible to skip a 1-category sub-category and jump to the next level of sub-categories?

Example: Top level has 3 categories (A,B,C). Category A has 1 sub-category (D). Category D has 2 sub-categories (E,F).

Is there a way to jump straight to sub-categories E & F by clicking on A?

I know some people will tell me to delete D, but within a year, there will be other categories at that level.

ALL I found on this subject was an unanswered link from 2 years ago: https://www.zen-cart.com/forum/showthread.php?t=51574&highlight=skip+category

Thanks.

1 Mar 2009, 11:56 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Skip One-Category Sub-Categories?

There is no functionality to do this in core Zen Cart. You would need to tweak the includes/modules/pages/index/main_template_vars.php file, and in particular the nested categories section. It might prove very easy, but I have a sneaking suspicion that it will turn out to be a mini minefield.

2 Mar 2009, 4:40 AM
#3
dmfelder avatar

dmfelder

Zen Follower

Join Date:
Nov 2006
Posts:
102
Plugin Contributions:
0

Re: Skip One-Category Sub-Categories?

Thanks. That's what I assumed. I have one follow-up question.

Let's assume I simply delete D today, so when I click on A it goes straight to E and F. When the time comes that I have additional sub-categories/products, is there an easy way to drop E and F down one level and plug in D and "G" (G=future category) above E and F?