{* Шаблон блока развернутого дерева категорий *} {if $big_categories_tree && $big_categories_tree_count>0}
{section name=h loop=$big_categories_tree} {if $big_categories_tree[h].categoryID != 1} {section name=j loop=$big_categories_tree max=$big_categories_tree[h].level} {/section}
{if $smarty.const.CONF_SHOW_COUNTPROD eq 1}  {$big_categories_tree[h].products_count}{/if}{$big_categories_tree[h].name}
{if $smarty.section.h.index ne $big_categories_tree_count-1}
{/if} {/if} {/section}
{else}
{$smarty.const.STRING_NO_CATEGORIES}
{/if} {* Ниже закомментирован альтернативный блок категорий с картинками *} {* {if $big_categories_tree && $big_categories_tree_count>0}
{section name=h loop=$big_categories_tree} {if $big_categories_tree[h].categoryID != 1} {section name=j loop=$big_categories_tree max=$big_categories_tree[h].level}{/section}
{if $smarty.section.j.index==$big_categories_tree[h].level-1}{else}{/if}{if $smarty.const.CONF_SHOW_COUNTPROD eq 1}  {$big_categories_tree[h].products_count}{/if}{$big_categories_tree[h].name}
{/if} {/section}
{else}
{$smarty.const.STRING_NO_CATEGORIES}
{/if} *}