Magento get current category details


Sometimes when you are customizing your Magento files that you want to get current category ID or name. Here ,easy method to get current category ID or name in Magento.This will direct return category ID or name.


About Author

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.