Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    231
    Plugin Contributions
    0

    Default Display sub-category images

    When I click on a category that has NO items but DOES have subcategories, then the images and names of the sub-categories are displayed on the centre area.

    When I click on a category that DOES have items and also has subcategories, then the images of the sub-categories are NOT displayed on the centre area.

    I would like the images of the sub-catagories always displayed (except on the home page). Is there a setting for this? I cannot find it, and YES I've searched and searched!

    Thanks a lot!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Display sub-category images

    Quote Originally Posted by ttfan View Post
    When I click on a category that DOES have items and also has subcategories, then the images of the sub-categories are NOT displayed on the centre area.
    That's because Zen Cart does *NOT* support having both products and categories at the same level.

    A category can ONLY hold either subcategories OR products. Never both.

    If you have your data fudged to hold both at the same level, you should be seeing warnings in your admin area, and should move those products out to their own subcategory instead.
    .

    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.

  3. #3
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    231
    Plugin Contributions
    0

    Default Re: Display sub-category images

    Thank you, that would explain it!

    So if I move the items out of the main category, the sub-categories should display?

    I guess I'll need to create an 'all products' subcategory as well as the the categories with selected items...

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Display sub-category images

    Um, why do you think you need an "all products" category?
    .

    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.

 

 

Similar Threads

  1. v151 Display images of Sub-Sub category in Main page while navigating.
    By Javier Romero in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 May 2013, 10:02 AM
  2. Replies: 1
    Last Post: 1 May 2013, 10:20 PM
  3. How to NOT display sub sub category images?
    By magneteye in forum General Questions
    Replies: 19
    Last Post: 11 Apr 2009, 05:09 AM
  4. display of sub-category > product x3 images
    By bigbadboy in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Apr 2008, 07:07 PM
  5. How do I display sub category images?
    By marinochka13 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Feb 2008, 07:49 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