Tuesday 19 March 2013

Find Controller on Front End

Find Product View Page:




Mage::registry('current_product')

Find controller

Mage::app()->getFrontController()->getRequest()->getRouteName() == 'catalog'

No comments:

Post a Comment