View Single Post
  #1  
Old 08-23-2010, 11:08 AM
 
keress@lkcwebdesign.com keress@lkcwebdesign.com is offline
 

Newbie
  
Join Date: Aug 2010
Posts: 5
 

Default Getting subcategory descriptions to display

For 4.3.2 how do I get the subcategory descriptions to display as on this page:

http://www.berryhilldrip.com/CategoryProductList.jsp?cat=Garden+and+Home+Irriga tion

I found an answer here on the forums to this question, but it seems to be for a different version and was calling for different files than I seem to be using.

I've found skin1/customer/main/subcategories_t.tpl that seems to be controlling the page displaying a category and all its subcategories. Here's the section of code I need to edit:

Code:
<span class="subcategories" style="min-width: {$subcat_div_width}px; width: {$subcat_div_width}px; min-height: {$subcat_div_height}px;"> {if $subcategory.is_icon} <a href="home.php?cat={$subcategory.categoryid}"><img src="{$subcategory.icon_url|amp}" alt="{$subcategory.category|escape}" width="{$subcategory.image_x}" height="{$subcategory.image_y}" /></a> {else} <img src="{$ImagesDir}/spacer.gif" alt="" width="1" height="{$subcat_img_height}" /> {/if} <br /> <a href="home.php?cat={$subcategory.categoryid}">{$subcategory.category|escape}</a><br /> <!-- NEED SOMETHING HERE TO CALL IN THE SUBCATEGORY DESCRIPTION --> <div class="subcategory-descr"> { {if $config.Appearance.count_products eq "Y"} {if $subcategory.product_count} {$lng.lbl_N_products|substitute:products:$subcategory.product_count} {elseif $subcategory.subcategory_count} {$lng.lbl_N_categories|substitute:count:$subcategory.subcategory_count} {/if} {/if} </span>
__________________
x-cart 4.3.2
Easy Variant View
Reply With Quote