Wednesday 4 June 2014

How to set different themes for logged in users?

Here is the way to do this........
 
if(Mage::getSingleton('customer/session')->isLoggedIn()){
Mage::getDesign()->setPackageName('package_name')->setTheme('themename');}
 
reference: http://jaseir.com/magento/how-to-set-different-themes-for-logged-in-users/
 

1 comment:

  1. where to add this code?? i mean asking about the path for adding the above code to set different theme for logged in users.

    ReplyDelete