hi,
please help me for show category tree....
i want show category and subcategory and sub-subcategory
for example:
cat 1
cat 2
sub cat 1
sub cat 2
cat 3
sub cat 1
sub cat 2
sub-sub cat 1
sub-sub cat 2
cat 4
i want show in <ul><li> and design is over. But I don't know what code should take to display it:
With the following code, I could only display the category without its subcategories:
{assign var="all_categories" value=0|fn_get_plain_categories_tree:false} <div class="cat-menu"> <span href="" class="cat-menu-span"><img src="..."></span> <div class="content"> <ul> <li><a><span class="img"><img src="..."></span><span rel="{$cat.category_id}" class="text" >{__("all_categories")}</span></a></li> <li><a>{$cat.category}</a></li>
please help me.