Jump to content

[Solved] Where can I remove the subcategory thumbnails


Recommended Posts

You must edit you category.tpl within you themes directory!

 

Find:

 

{if $subcategory.id_image}

<img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />

{else}

<img src="{$img_cat_dir}default-medium.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />

{/if}

 

Replace with:

 

{*if $subcategory.id_image}

<img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />

{else}

<img src="{$img_cat_dir}default-medium.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />

{/if*}

 

Obviously back up before any code changes!

 

Hope this helps.

Link to comment
Share on other sites

great thank you ...

 

Is there also a way how I can delete the subcategorie names?

 

Because now I dont see the images , but I see the names..

 

The sub categories are also in my menu . so they dont have to be there

Link to comment
Share on other sites

  • 1 month later...
  • 8 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...