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,

No comments

Leave a Reply

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