Posted By

webgraphic on 09/08/11


Tagged

magento


Versions (?)

Magento: check if specific category ID is active/current


 / Published in: PHP
 

  1. in_array(YOUR_CATEGORY_ID, Mage::getSingleton('catalog/layer')->getCurrentCategory()->getPathIds()?true:false

Report this snippet  

You need to login to post a comment.