B-219 Sec-55 Noida, India
+918010221733

Get Current Category Id in Magento

$layer = Mage::getSingleton(‘catalog/layer’);
$_category = $layer->getCurrentCategory();
$currentCategoryId= $_category->getId();
(Visited 47 times, 1 visits today)

Leave a reply