Quote:
Originally Posted by kpriest
Similar, but hopefully simpler situation:
I need this to work in reverse - If there are subcategories, DO NOT SHOW the icon. If there are no subcategories (Lowest level) SHOW the icon.
|
just change
{if $tmp} [img]{if $current_category.icon_url}{$current_category.icon _url}{else}{$xcart_web_dir}/icon.php?categoryid={$cat}{/if}[/img] {/if}
to
{if ne $tmp} [img]{if $current_category.icon_url}{$current_category.icon _url}{else}{$xcart_web_dir}/icon.php?categoryid={$cat}{/if}[/img] {/if}
in skin1/customer/main/subcategories.tpl template