Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    May 2005
    Posts
    139
    Plugin Contributions
    0

    Default Limiting Categories displayed

    Is there a way to limit the number of categories rows displayed per page? I can't seem to find this setting anywhere, and there are too many categories which makes the page load quite slow.
    Kind Regards,
    Andrew

    $15 USD A Month Donor To Zen - Please Join The Other Donors

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Limiting Categories displayed

    and there are too many categories which makes the page load quite slow.
    The text listings of categories does not cause slow page loading - look at your image file sizes and the # of images loading on a page
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2005
    Posts
    139
    Plugin Contributions
    0

    Default Re: Limiting Categories displayed

    Hi Kobra,

    Does this mean that there is no way to restrict the number showing? The images aren't huge in size, but because there are so many this is why it slows it down. These images are actually linked to the actual product images as well, so resizing the images just for the categories pages would mean duplicating images on the server which I would rather avoid if possible.
    Kind Regards,
    Andrew

    $15 USD A Month Donor To Zen - Please Join The Other Donors

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Limiting Categories displayed

    Post a url to this so we can view what it is that you are seeing
    Zen-Venom Get Bitten

  5. #5
    Join Date
    May 2005
    Posts
    139
    Plugin Contributions
    0

    Default Re: Limiting Categories displayed

    Kind Regards,
    Andrew

    $15 USD A Month Donor To Zen - Please Join The Other Donors

  6. #6
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Limiting Categories displayed


  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Limiting Categories displayed

    To limit the product listings:

    Admin > config > maximum values > Products Listing- Number Per Page > set to a value like "10"

    Your images for this are relatively small in dimensions like 80x100 or so but the file size for these range from 5k to 15k - where only about 2-3k is required for a small image like this.

    There is a 3 image system that is native to Zen Cart to mitigate this and still have larger images with the necessary detail. Or there is a mod - image handler - that will assist in using a single image.

    After all this - even your home page loads slow - I would suspect that you are on an overloaded server and you may be able to request being relocated to another less loaded server or look at alternative hosting.
    Zen-Venom Get Bitten

  8. #8
    Join Date
    May 2005
    Posts
    139
    Plugin Contributions
    0

    Default Re: Limiting Categories displayed

    Quote Originally Posted by kobra View Post

    Admin > config > maximum values > Products Listing- Number Per Page > set to a value like "10"
    This is already set to 10. I had fiddled around with this before I posted this, and thought it must have been for something else as it made no changes to the page.

    Quote Originally Posted by kobra View Post
    Your images for this are relatively small in dimensions like 80x100 or so but the file size for these range from 5k to 15k - where only about 2-3k is required for a small image like this.
    These images are actually also displayed when you click on that category, so the larger sizing is needed there. Otherwise I have two seperate images which both show the same perfume. So actual size of the dimensions needs to be larger.

    Quote Originally Posted by kobra View Post
    After all this - even your home page loads slow - I would suspect that you are on an overloaded server and you may be able to request being relocated to another less loaded server or look at alternative hosting.
    The loading time of the home page is fine, it is only this page that is effected.

    Thanks :)
    Kind Regards,
    Andrew

    $15 USD A Month Donor To Zen - Please Join The Other Donors

  9. #9
    Join Date
    May 2005
    Posts
    139
    Plugin Contributions
    0

    Default Re: Limiting Categories displayed

    Quote Originally Posted by misty View Post
    Thanks Misty, but this is actually a different problem to mine.
    Kind Regards,
    Andrew

    $15 USD A Month Donor To Zen - Please Join The Other Donors

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Limiting Categories displayed

    This is already set to 10. I had fiddled around with this before I posted this, and thought it must have been for something else as it made no changes to the page.
    I just adjusted this on a stock Zen Cart install to 5 and it limited the display to 5.
    I would suggest that you look at what you might have changed to not allow this function to work.
    These images are actually also displayed when you click on that category, so the larger sizing is needed there. Otherwise I have two seperate images which both show the same perfume. So actual size of the dimensions needs to be larger.
    The default method calls for three images of the same item but in 3 sizes - and I referenced the Image Handler module that you can also use to mediate one image.
    The loading time of the home page is fine, it is only this page that is effected.
    If this is OK for you the so be-it...I would not stay on a site that loads this slow.
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Limiting number of center box sub-categories
    By Music Man in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 30 Mar 2015, 08:47 PM
  2. Limiting zone rate shipping to categories question
    By dustbowl in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 9 Mar 2014, 09:30 PM
  3. Categories Sidebox limiting to 40 categories
    By firstimpression in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Jul 2011, 02:59 AM
  4. limiting Categories images on home page
    By bigum in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 May 2008, 03:46 AM
  5. Limiting number of Categories on Main Page
    By testuser in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 May 2007, 08:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg