Dear Prestashop experts,
I'm also having the same problem with tmcategories.
Tried hardcoding the links between the <ul></ul> but no success. Even tried {literal} but no luck.
This is the code for tmcategories.tpl:
<!-- TM categories -->
<div id="tmcategories_wrap">
<div id="tmcategories">
<ul id="cat">
{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}
{/foreach}
</ul>
</div>
</div>
<!-- /TM categories -->
And this is the code for category-tree-branch.tpl:
<li {if $node.children|@count > 0}class="sub"{/if}>
<a href="{$node.link}" {if isset($currentCategoryId) && ($node.id == $currentCategoryId)}class="selected"{/if}
title="{$node.desc|escape:html:'UTF-8'}">
{$node.name|escape:html:'UTF-8'}</a>
{if $node.children|@count > 0}
<ul class="subcat">
{foreach from=$node.children item=child name=categoryTreeBranch}
{if isset($smarty.foreach.categoryTreeBranch) && $smarty.foreach.categoryTreeBranch.last}
{include file="$branche_tpl_path" node=$child last='true'}
{else}
{include file="$branche_tpl_path" node=$child last='false'}
{/if}
{/foreach}
</ul>
{/if}
</li>
Really appreciate your help for this - Thanks!