Forums / General Questions / Max Number of "Sub-Categories" Displayed Per-Page

Max Number of "Sub-Categories" Displayed Per-Page

Started by zapme1 on 27 Mar 2011, 3:32 PM · Views: 1,061

Results 1 to 5 of 5
27 Mar 2011, 3:32 PM
#1
zapme1 avatar

zapme1

Zen Follower

Join Date:
Jan 2011
Location:
Ohio
Posts:
114
Plugin Contributions:
0

Max Number of "Sub-Categories" Displayed Per-Page

This is probably not normally needed, but I'm building a store that will have one Top Category which has more then 70 Sub-Categories!

This is a unique setup, where for display purposes, each product has its own sub-category...

Anyway, I have the sub-category images set to 4-across, but with more then 70 (possibly 100 or more in the end), this makes a very long page!

Question:
How can I limit the number of sub-category images that are displayed at one time on a page?

Thanks in advance.... :yes:

28 Mar 2011, 12:28 AM
#2
zapme1 avatar

zapme1

Zen Follower

Join Date:
Jan 2011
Location:
Ohio
Posts:
114
Plugin Contributions:
0

Re: Max Number of "Sub-Categories" Displayed Per-Page

Well, been looking for some "display-max" code, but not getting too far! :(

Anyone have any suggestions? Using ZC 1.3.9h with a custom template!

9 Feb 2012, 11:15 AM
#3
pacu avatar

pacu

New Zenner

Join Date:
Aug 2011
Posts:
6
Plugin Contributions:
0

Re: Max Number of "Sub-Categories" Displayed Per-Page

zapme1:

Well, been looking for some "display-max" code, but not getting too far! :(

Anyone have any suggestions? Using ZC 1.3.9h with a custom template!

Hey, have you resolved this issue. I am looking for the same thing.
Cheers

Pacu

31 Jan 2013, 5:55 AM
#4
wildfashions avatar

wildfashions

New Zenner

Join Date:
Oct 2007
Posts:
43
Plugin Contributions:
0

Re: Max Number of "Sub-Categories" Displayed Per-Page

ANYONE resolved this yet? Cant find a solution anywhere!

Wild Fashions (Alternative)
Using Zen Cart 1.38 and Purple Lily Template

31 Jan 2013, 6:21 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Max Number of "Sub-Categories" Displayed Per-Page

What exactly do you envision the "fix" should do? Just stop after displaying the first 10 categories? Or add all the complexities of pagination and corresponding navigation links? Or display just a "selected" group of categories? and how do you envision "choosing" which categories should be displayed vs not?
What's the business problem you're trying to solve with having a large number of categories so big that navigation is a problem ... vs presenting them another way?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.