Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/shop/pages/category.tpl
<table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
    <td>
    {section name=categoryInfo loop=$categoryInfo}
    <img src="../category_images/{$categoryInfo[categoryInfo].category_full_image}"  title="{$categoryInfo[categoryInfo].category_description}" alt="{$categoryInfo[categoryInfo].category_name}" />
    <br />
    <p>{$categoryInfo[categoryInfo].category_description}</p>
{/section}

    {if $totalSubCategories>0}
    <div id="sub_category_box">
    <strong>Available Sub Categories</strong><br />
    {section name=subCategories loop=$subCategories}
    &raquo;&nbsp; <a href="category.php?category_id={$subCategories[subCategories].category_id}&category_name={$subCategories[subCategories].category_name}">{$subCategories[subCategories].category_name}</a><br />
{/section}
{/if}
</div>
    </td>
 </tr>
 <tr>
    <td>
    {if $totalFeaturedProducts==-1} <!-- set this to > 0 if you want to show featured products -->
    {include file='shop/featured_products.tpl'}{/if}</td>
  </tr>
 
  <tr>
    <td><div id="section_heading">All products under {$category_name}</div>
    {if $totalProducts>0}{include file='shop/all_products.tpl'}{else}Sorry, no product found under this category{/if}</td>
  </tr>
</table>
Return current item: Simple PHP Shopping cart - asaancart