Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Help Displaying Sub Category Products

    Does anyone know what file I should look at so I can alter the way my categories display products? When I click on a category, I want it to display all products from the sub categories in a random order (20 per page)

    I need my jewelery and my lingerie categories to display the products in their sub categories, in the same way all my other main categories do (my other main categories do not have sub-cats just products).

    I know the 'what's hot this Month' shows random products from the sub-cats but how would I get it to show all products from the sub categories in a random order (20 per page) and act as though there were no sub cats?

    At least, what files should I be looking to modify as I can't figure out what files control this behaviour.

    Thanks to anyone who can point me in the right direction.

  2. #2
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Help Displaying Sub Category Products

    It's also doing it in Womenswear, Menswear and Childrenswear. It never used to do this :-(

  3. #3
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Help Displaying Sub Category Products

    OK, figured this out. I had overridden my previously modified default_filter.php which has specific code written to display sub category products at random, from within the parent category.

    I have now merged these files and it's sorted.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Help Displaying Sub Category Products

    Thanks for the update that you fixed your customized code to work correctly with subcategories ...
    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!

  5. #5
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Help Displaying Sub Category Products

    I'm just having one slight niggle now, can't get the default sort order to work correctly. Outlined here if anyone cares to help :-)

    http://www.zen-cart.com/forum/showthread.php?t=70194 (page 4)

    I see you actually had a lot of input in the start of that thread Linda.

 

 

Similar Threads

  1. Sub category images not displaying
    By bddots in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 May 2011, 07:42 PM
  2. Displaying the latest product of a particular category into sub category
    By BB3G in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 16 Mar 2010, 09:38 PM
  3. Displaying Sub Categories on the top of a Category Page
    By missesbeehaven in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Jun 2009, 11:08 PM
  4. Hide Sub-Sub Category and Products
    By 1408329330 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 25 Feb 2009, 05:45 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