andreiven Posted February 16, 2017 Share Posted February 16, 2017 (edited) It seems there is this module that displays a list of categories from the shop inside the footer of the page. The problem is it is a loong list because subcategories were also included in this list. I don't like this at all. I tried making changes to blockcategories_footer.tpl to no avail. <ul class="tree {if $isDhtml}dhtml{/if}"> {foreach from=$blockCategTree.children item=child name=blockCategTree} {if $smarty.foreach.blockCategTree.last} {include file="$branche_tpl_path" node=$child last='true'} {else} {include file="$branche_tpl_path" node=$child} {/if} {if ($smarty.foreach.blockCategTree.iteration mod $numberColumn) == 0 AND !$smarty.foreach.blockCategTree.last} </ul> is there a way to make it so only the parent categories show up in the footer categories list? Like a $blockCategTree.parent or something.. Edited February 17, 2017 by andreiven (see edit history) 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