How to set different themes for logged in users?

To set custom theme for login user use following code:

if(Mage::getSingleton(‘customer/session’)->isLoggedIn()):
Mage::getDesign()->setPackageName(‘package_name’)->setTheme(‘themename’);
endif;

Tags: Magento1,

Related Posts

Call static block in Magento
Add JQuery in Magento
Clearing Magento Log Data

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *