Thread: root cat
View Single Post
  #9  
Old 10-28-2009, 09:00 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: root cat

Ok try in subcategories template used to show subcats

<ul>
{if $cat eq "rings"}
{foreach from=$allsubcategories item=c}
{if $c.parentid eq "gemstone rings"}
<li>$c.category</li>
{/if}
{/foreach}
{elseif $cat eq "earrings"}
{foreach from=$allsubcategories item=c}
{if $c.parentid eq "gemstone earrings"}
<li>$c.category</li>
{/if}
{/foreach}
{/if}
</ul>

Replace cat names with cat numbers
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote