Jump to content

Removing Subcategorie Images


Recommended Posts

I would like to remove the "No image available block"

URL: https://consoleproducts.nl/12-playstation-4

 

I tried removing this piece of code in a FTP client but this didn't work

themes > *name of theme* > category.tpl

 

<div id="subcategories">
<p class="subcategory-heading">{l s='Subcategories'}</p>
<ul class="clearfix">
{foreach from=$subcategories item=subcategory}
<li>
                <div class="subcategory-image">
<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}" title="{$subcategory.name|escape:'html':'UTF-8'}" class="img">
</a>
                    </div>
<h5><a class="subcategory-name" href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}">{$subcategory.name|truncate:25:'...'|escape:'html':'UTF-8'|truncate:350}</a></h5>
{if $subcategory.description}
<div class="cat_desc">{$subcategory.description|truncate:15:'...'}</div>
{/if}
</li>
{/foreach}
</ul>
</div>
 
Thanks in advance!
Edited by Aart95 (see edit history)
Link to comment
Share on other sites

Are you sure you're removing it from the correct theme? Also, after modifying the tpl, make sure you clear cache

Yes i'm sure it's from the right theme. By clearing my cache, what cache do you mean? The only cache i cleared so far is the browser cache

Link to comment
Share on other sites

×
×
  • Create New...