Posted about 4 years ago. Visible to the public.

Getting the Theme In Use

How to get the theme for each component, works on the active store:

Copy
Mage::getSingleton('core/design_package')->getTheme('locale'); Mage::getSingleton('core/design_package')->getTheme('template'); Mage::getSingleton('core/design_package')->getTheme('skin'); Mage::getSingleton('core/design_package')->getTheme('layout'); Mage::getSingleton('core/design_package')->getTheme('default');

Owner of this card:

Avatar
Mike Whitby
Last edit:
about 4 years ago
by Mike Whitby
Posted by Mike Whitby to Magento
This website uses cookies to improve usability and analyze traffic.
Accept or learn more