Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2006
    Posts
    121
    Plugin Contributions
    0

    help question Expanding category depth on 'New Products' displayed

    I'm trying to find a switch that enables me to include products from embedded categories in the 'New Products' module below index listings.

    Took me some time to realize that the products shown in the 'New Products' module beneath a category listing only display new products placed in the subcategory directly below the listed category. Products within second level subcategories are not displayed.

    To illustrate; I've set up a category with two subcategories, in one of them I've made two other subcategories (with products of course ;-).

    Top>Category1>Subcategory1>Products
    Top>Category1>Subcategory2>Subcategory3>Products
    Top>Category1>Subcategory2>Subcategory4>Products

    When listing Category1 with the 'New Products' module enabled only the new products in Subcategory1 are displayed. Products in Subcategories 3 and 4 are omitted.
    I expected to find a switch with the 'Admin/Config/Max values' to alter this behavior to extending the selection to embedded categories (change 1 into 2) but have not found it.

    Is it possible to adjust this somewhere in the database or code to include products lower in the hierarchie?
    Last edited by davale; 20 Mar 2007 at 11:58 PM.

  2. #2
    Join Date
    Apr 2006
    Posts
    121
    Plugin Contributions
    0

    Default Re: Expanding category depth on 'New Products' displayed

    Using ZC1.3.6 by the way. Should have mentioned that.

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

    Default Re: Expanding category depth on 'New Products' displayed

    There is not a switch for that ... currently that is the way it is setup ...

    You would need to recode for this to manage the categories and products at deeper levels ...
    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!

  4. #4
    Join Date
    Apr 2006
    Posts
    121
    Plugin Contributions
    0

    Default Re: Expanding category depth on 'New Products' displayed

    Would this be very difficult and require highly developed PHP skills? Where do I start with this?

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

    Default Re: Expanding category depth on 'New Products' displayed

    I coded it once before ... but I would have to recode it to rember the changes ...

    You would need to look for where the code is pulling the products based on the current categories_id ...
    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!

  6. #6
    Join Date
    Apr 2006
    Posts
    121
    Plugin Contributions
    0

    Default Re: Expanding category depth on 'New Products' displayed

    Would it be possible to 'borrow' the code from the index ('home page') listing? It's here where the 'New Products' module selects products from all categories. Isn't this the place to start?

 

 

Similar Threads

  1. v150 New image displayed on mouse over on category page
    By coreyalderin in forum General Questions
    Replies: 4
    Last Post: 3 Dec 2012, 12:55 AM
  2. Category depth using SSU, need opinions
    By swamyg1 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 30 Nov 2012, 09:45 PM
  3. Category Depth Issue/Error
    By chadderuski in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 15 Dec 2010, 05:42 PM
  4. 'new products' not relevent to displayed category
    By trillian in forum General Questions
    Replies: 3
    Last Post: 8 Nov 2007, 03:36 AM
  5. Category sidebox not expanding leaf when directly linking to category.
    By castylx in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 Nov 2006, 10:56 PM

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