fashionpup Posted May 1, 2013 Share Posted May 1, 2013 Hi there I have my categories set out such that it's clothing>boy>girl How do I disable the images and disable the sub categories from showing? I have attached a screenshot. Thank you. Link to comment Share on other sites More sharing options...
jaro61 Posted May 1, 2013 Share Posted May 1, 2013 Hi In your theme directory modify category.tpl. {* comment out *} code: <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}" class="img"> {if $subcategory.id_image} <img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {else} <img src="{$img_cat_dir}default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {/if} </a> <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" class="cat_name">{$subcategory.name|escape:'htmlall':'UTF-8'}</a> {if $subcategory.description} <p class="cat_desc">{$subcategory.description}</p> {/if} </li> and <h3>{l s='Subcategories'}</h3> it is about 78 row. 1 Link to comment Share on other sites More sharing options...
fashionpup Posted May 1, 2013 Author Share Posted May 1, 2013 Thank you Link to comment Share on other sites More sharing options...
vekia Posted May 1, 2013 Share Posted May 1, 2013 Hello thanks for sharing the solution and for information that everything is okay, now i can go ahead and mark thread as solved regards Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now