Magento获取当前栏目ID:
$_cat= new Mage_Catalog_Block_Navigation();
$curent_cat= $_cat->getCurrentCategory();
$curent_cat_id= $curent_cat->getId();
或者
Mage::registry('current_category')->getEntityId()

Magento获取当前栏目名称:

$category= Mage::registry('current_category')->getName();

返回对象:Mage::getModel('catalog/layer')->getCurrentCategory()->getName();

05-11 20:12