call category list in footer using magento
In this post we will show you call category list in footer using magento, hear for call category list in footer using magento we will give you demo and example for implement.
How to call category list in footer using magento
we will show you category list call in footer using magento. For category list call in footer using magento you need this code.
<?php $helper = $this->helper('catalog/category'); $getstorecategories = $helper->getStoreCategories(); $geturl = $getname = ""; foreach ($getstorecategories as $_categoryval) { $geturl = Mage::getModel('catalog/category')->setData($_categoryval->getData())->getUrl(); $getname = $_categoryval->getName(); ?> <a href="<?php echo $geturl; ?>" title="<?php echo $getname; ?>"><?php echo $getname; ?></a> <?php } // end foreach ?>
Hope this code and post will helped you for implement category list call in footer using magento. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve onlincode. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs onlincode.org