X-cart V4.7.8 Customer Head Menu
<li><a href=”javascript:;”>Eyeglasses</a> <ul class=”dropdown”> {foreach from=$categories_menu_list item=c} <li><a href=”home.php?cat={$c.categoryid}”>{$c.category}{if $c.top_product_count} ({$c.top_product_count}){/if}</a> {if $c.childs} {foreach from=$c.childs item=sc name=sc} {if $smarty.foreach.sc.first}<ul class=”dropdown”>{/if} <li><a href=”home.php?cat={$sc.categoryid}”>{$sc.category}{if $sc.top_product_count} ({$sc.top_product_count}){/if}</a> {if $sc.childs} {foreach from=$sc.childs item=ssc name=ssc} {if $smarty.foreach.ssc.first}<ul class=”dropdown”>{/if} <li><a href=”home.php?cat={$ssc.categoryid}”>{$ssc.category}{if $ssc.top_product_count} ({$ssc.top_product_count}){/if}</a> {if $ssc.childs} {foreach… Read moreX-cart V4.7.8 Customer Head Menu