Magento Question:
How to set different themes for logged in users?
Answer:
1) if(Mage::getSingleton('customer/session')->isLoggedIn()):
2) Mage::getDesign()->setPackageName('package_name')->setTheme('themename');
3) endif;
2) Mage::getDesign()->setPackageName('package_name')->setTheme('themename');
3) endif;
Previous Question | Next Question |
How to add an external javascript/css file to Magento? | How to get the total price of items currently in the Cart? |