ShirtSeller Posted September 13, 2012 Share Posted September 13, 2012 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 More sharing options...
Dh42 Posted September 13, 2012 Share Posted September 13, 2012 It would be in the category.tpl file Link to comment Share on other sites More sharing options...
ShirtSeller Posted September 13, 2012 Author Share Posted September 13, 2012 (edited) Thanks dh42, I've edited the category.tpl down to almost nothing and they are still there. Edited September 13, 2012 by ShirtSeller (see edit history) Link to comment Share on other sites More sharing options...
ShirtSeller Posted September 13, 2012 Author Share Posted September 13, 2012 On 9/13/2012 at 7:55 PM, ShirtSeller said: 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 More sharing options...
Dh42 Posted September 13, 2012 Share Posted September 13, 2012 Clear you site's cache and turn force compile on and turn the sites cache off, see if that helps. Link to comment Share on other sites More sharing options...
ShirtSeller Posted September 13, 2012 Author Share Posted September 13, 2012 Force compile did it, thanks so much! Joe Link to comment Share on other sites More sharing options...
Recommended Posts