Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2008
    Location
    Memphis, USA
    Posts
    299
    Plugin Contributions
    0

    Default Showing category description above products pages

    How do I show the category descriptions above the product pages? I have looked on the forum but I cant find the override file or how to put one there.
    Can someone walk me through the process?

    Thanks in advance!

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

    Default Re: Showing category description above products pages

    You could use your templates and overrides and customize the file:
    /includes/templates/templates_default/tpl_modules_category_icon_display.php

    and copy to:
    /includes/templates/your_template_dir/tpl_modules_category_icon_display.php

    and add the code in RED:
    Code:
    <div align="<?php echo $align; ?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $_GET['cPath'], 'NONSSL') . '">' . $category_icon_display_image . $category_icon_display_name .  '</a>'; ?></div>
    <div><?php echo zen_output_string(zen_categories_lookup($current_category_id, 'categories_description')); ?></div>
    
    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: v1.5.5]
    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. #3
    Join Date
    Jan 2008
    Location
    Memphis, USA
    Posts
    299
    Plugin Contributions
    0

    Default Re: Showing category description above products pages

    Ajeh I tried that but I still cant get the descriptions to show up. I cleared the cache on my browser. By the way the aziendia template did not have the /includes/templates/your_template_dir/tpl_modules_category_icon_display.php so I had to add it from the default template.

  4. #4
    Join Date
    Jan 2008
    Location
    Memphis, USA
    Posts
    299
    Plugin Contributions
    0

    Default Re: Showing category description above products pages

    Quote Originally Posted by coucho View Post
    Ajeh I tried that but I still cant get the descriptions to show up. I cleared the cache on my browser. By the way the aziendia template did not have the /includes/templates/your_template_dir/tpl_modules_category_icon_display.php so I had to add it from the default template.
    I had to remove the /includes/templates/your_template_dir/tpl_modules_category_icon_display.php file from the aziendia files because the homepage would show up but when clicking on a product the screen would white out. Interestingly if you click on the liquid coffee category it works fine w/o any mods to the file system.

  5. #5
    Join Date
    Jan 2008
    Location
    Memphis, USA
    Posts
    299
    Plugin Contributions
    0

    Default Re: Showing category description above products pages

    Quote Originally Posted by coucho View Post
    I had to remove the /includes/templates/your_template_dir/tpl_modules_category_icon_display.php file from the aziendia files because the homepage would show up but when clicking on a product the screen would white out. Interestingly if you click on the liquid coffee category it works fine w/o any mods to the file system.
    found the solution go to categories then hit edit instead of the meta tag

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

    Default Re: Showing category description above products pages

    Thanks for the update and for posting the solution that worked for you ...
    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: v1.5.5]
    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!

 

 

Similar Threads

  1. Move images above category description revisited
    By catach in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Sep 2011, 09:24 PM
  2. Products showing up twice on category pages
    By jmsnyder23 in forum General Questions
    Replies: 2
    Last Post: 7 Jun 2010, 08:34 PM
  3. Category pages stopped showing products...
    By jami1955 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 Mar 2010, 04:22 PM
  4. Category description not showing up when i have any products in the category
    By tyankee in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 7 Sep 2009, 05:59 PM
  5. Category Pictures Above the Description?
    By GGWS in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Sep 2006, 03:59 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR