Display subcategory Detail of Parent categories, Show Description of category
php
load(83); // Category id
$subcats = $cat->getChildren();
echo '
‘ ; foreach(explode(‘,',$subcats) as $subCatid)
{ $i++; $_category = Mage::getModel(‘catalog/category')
->load($subCatid);
$catdesc = $_category->getDescription();
$catdesc1 = implode(‘ ‘, array_slice(explode(‘ ‘,
$catdesc), 0, 100)); //get limit words in description if(
$_category->getIsActive()) {?>
<img src='getThumbnail() ?>' width='200? height='200? />
//Get image of Category
<a href='getURL();?>'>code
getName() ;?>
//Get Category Name
<?php } } echo '
' ; ?>Share this playbook
