Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24
  1. #11
    Join Date
    Jun 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Catagory Description not showing

    I think maybe I have missed something obvious, does the catagory description only show if there are no items in that catagory?
    I went to my other site, www.heavenlysoaps.co.uk and added a catagory bath melts and added a description, but no items, the catagory description showed for this. So I went to another product bath bombs where the catagory description was not showing, deleted the items listed in it, and the catagory description then appeared.

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

    Default Re: Catagory Description not showing

    This code is used when there are not products ...
    Could you check the file:
    /includes/templates/templates_default/templates/tpl_index_product_list.php

    Do you see this code in it around lines 30 to 35:
    Code:
    <?php
    // categories_description
        if ($current_categories_description != '') {
    ?>
    <div id="indexProductListCatDescription" class="content"><?php echo $current_categories_description;  ?></div>
    <?php } // categories_description ?>
    This code is used when there are products ...
    Could you look in this file around lines 58-63:
    /includes/templates/templates_default/templates/tpl_index_categories.php
    Code:
    <?php
    // categories_description
        if ($current_categories_description != '') {
    ?>
    <div id="categoryDescription" class="catDescContent"><?php echo 'MY DESCRIPTION: ' . $current_categories_description;  ?></div>
    <?php } // categories_description ?>
    Now check your overrides for these two files ... is the code there? Is the code commented out?
    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!

  3. #13
    Join Date
    Jun 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Catagory Description not showing

    Ooh, that second file, index_categories.php, mine is different, the bit that is different is I don't have this bit in it

    ?php echo 'MY DESCRIPTION:

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

    Default Re: Catagory Description not showing

    Sorry I put that in there so you could see the difference when each peice of code runs at various points of the Product Listings when the categories_description runs ...
    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. #15
    Join Date
    Jun 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Catagory Description not showing

    Apart from that one line in the code where there are products listed, I have the same code, do I need to add that bit that is missing perhaps?

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

    Default Re: Catagory Description not showing

    You don't need it ... that was just so you could see which one was running when you should see the description ... one would have the text and the other would not ...
    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!

  7. #17
    Join Date
    Apr 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Catagory Description not showing

    I am having the same exact issue. I do have a custom template installed and when my categories are empty, they will display the description but once i add a product the description disappears. Any luck finding a fix for this?

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

    Default Re: Catagory Description not showing

    Check your template ... there are a lot of custom ones that mark out the oddest things ...

    A search with the Developers Tool Kit for:
    categories_description

    might help spot if this is commented out ...

    Also check your View Source ... if you see the description in there, then you have something in the stylesheet hiding it ...
    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!

  9. #19
    Join Date
    Jun 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Catagory Description not showing

    This has just got even more strange, because one catagory IS showing the catagory description and it does have items in that catagory

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

    Default Re: Catagory Description not showing

    That is the point of my comment that I added to the code ...

    The code runs two ways based on is there a categories_description or isn't there ...

    One of two files are running:
    /includes/templates/template_default/templates/tpl_index_categories.php

    /includes/templates/template_default/templates/tpl_index_product_list.php

    You are not getting the categories_description based on a change to the file ...

    Check the files to see if you have the code or if it is commented out ... be sure to check your template files too for overrides of these ...
    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!

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Product Image not showing....either is catagory info!
    By MamaT in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 3 Dec 2008, 02:09 AM
  2. New Catagory option not showing
    By Ragenther in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 25 Nov 2008, 09:56 AM
  3. Catagory Photos not showing up please help?
    By touchclothing in forum General Questions
    Replies: 1
    Last Post: 22 Apr 2008, 09:09 AM
  4. Catagory is not showing subfolders
    By milobloom in forum General Questions
    Replies: 1
    Last Post: 16 Jan 2008, 08:23 PM
  5. Catagory Images not showing????
    By wickedklown in forum General Questions
    Replies: 1
    Last Post: 11 Jul 2006, 11:59 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