Get Current Category Id in Magento
Use the below code to get the current category id category ID in magento echo Mage::getModel('catalog/layer')->getCurrentCategory()->getId(); Cheers! Amjath
Read MoreUse the below code to get the current category id category ID in magento echo Mage::getModel('catalog/layer')->getCurrentCategory()->getId(); Cheers! Amjath
Read MoreUse the below code to get the category url from the category ID in magento $category_id = 14; Mage::getModel("catalog/category")->load($category_id)->getUrl(); Cheers! Amjath
Read More