Jump to content

Remove Category Images


Recommended Posts

Hi All,

 

When I have categories with no sub-categories I have no category images, which is cool but when I have sub-cats in a cat both the category and sub-categories now show images at the top.

 

I would like to remove these images. I'm guessing I can comment out an image source but do not know where to find it. I tried the category.tpl but nothing changed.

 

Any ideas?

 

Joe

Link to comment
Share on other sites

Thanks dh42, I've edited the category.tpl down to almost nothing and they are still there.

 

{include file="$tpl_dir./breadcrumb.tpl"}
{include file="$tpl_dir./errors.tpl"}
{if isset($category)}
{if $category->id AND $category->active}
 <h1>{strip}
  {$category->name|escape:'htmlall':'UTF-8'}
  <span>
   {if $category->id == 1 OR $nb_products == 0}{l s='Right now there are not any products in this category, please check back soon.'}
   {else}
 {if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if} 
 {$nb_products} 
 {if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if}
   {/if}
  </span>{/strip}
 </h1>
 {if $products}
   {include file="$tpl_dir./product-compare.tpl"}
   {include file="$tpl_dir./product-sort.tpl"}
   {include file="$tpl_dir./product-list.tpl" products=$products}
   {include file="$tpl_dir./product-compare.tpl"}
   {include file="$tpl_dir./pagination.tpl"}
  {elseif !isset($subcategories)}
   <p class="warning">{l s='There are no products in this category.'}</p>
  {/if}
{elseif $category->id}
 <p class="warning">{l s='This category is currently unavailable.'}</p>
{/if}
{/if}

Link to comment
Share on other sites

×
×
  • Create New...