Quantcast
Channel: Amjath.com
Viewing all articles
Browse latest Browse all 14

Get Current Category Id in Magento

$
0
0

Use the below code to get the current category id category ID in magento

 echo Mage::getModel('catalog/layer')->getCurrentCategory()->getId(); 

Cheers!
Amjath


Viewing all articles
Browse latest Browse all 14

Trending Articles