category

Display subcategotri Detail of Parent categotris, Show Description of categotri

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();?>”>

      getName() ;?>

      //Get Category Name

<?php } } echo ‘

‘ ; ?>

About Author:

Kalpesh Chavada

Kalpesh Chavada is Our Founder & CEO of Akshar Group Technologies. He is serving with 11+ years of experience in different technologies like Magento, WordPress, Laravel, jQuery, Shopify, Branding, and Digital Marketing. He is very good with creative logic and always ready to take on challenges.

Kalpesh Author