badmintongrej Posted February 15, 2014 Share Posted February 15, 2014 (edited) Hello every one How do I remove these sub kategories on my main kategory page (look screenshot). But I still want them to be visible in the top horisontal menu. Best regards Jacob Edited February 15, 2014 by badmintongrej (see edit history) Link to comment Share on other sites More sharing options...
Paulito Posted February 15, 2014 Share Posted February 15, 2014 Good morning Using PS 1.5.5.0 Default theme To remove the Sub-categories from the left category block go to: Back office > Modules > Modules > Front office features >Categories block http://screencast.com/t/MJYoqSbN2lD To remove from the sub-categories from the page I believe you need to go to: public_html/Your Shop/themes/default/category.tpl and around line 71 {*Comment Out*} this code {*{if isset($subcategories)} <!-- Subcategories --> <div id="subcategories"> <h3>{l s='Subcategories'}</h3> <ul class="inline_list"> {foreach from=$subcategories item=subcategory} <li class="clearfix"> <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')|escape:'html'}" 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> {/foreach} </ul> <br class="clear"/> </div> {/if}*} Before http://screencast.com/t/JkmCxSNi After http://screencast.com/t/X2tWTcM0S Hope this helps Paul Link to comment Share on other sites More sharing options...
badmintongrej Posted February 15, 2014 Author Share Posted February 15, 2014 Perfect just what I nedded !! thanks man ! 1 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