Проверить настройки Skip to content

Ссылка, путь к дизайну и теме Magento

Как узнать название дизайна, темы в Magento. Подборка простых методов.

Mage::getSingleton('core/design_package')->getPackageName();

Mage::getDesign()->getPackageName();

Mage::getSingleton('core/design_package')->getTheme('frontend')

Mage::getDesign()->getTheme('frontend');

Mage::getStoreConfig('design/package/name');

Mage::getStoreConfig('design/theme/skin');

Mage::getSingleton('core/design_package')->getTheme('frontend');

Mage::getSingleton('core/design_package')->getTheme('template');

Mage::getSkinUrl('your_image_folder_under_skin/image_name.png');

Mage::getSingleton('core/design_package')->getSkinBaseDir();

Magento 1.*