As this is a very useful thing to do when customising a Magento template / theme and I could find nothing on-line to quickly demonstrate how to do this here you go:
<?php $storeCopyright = Mage::getStoreConfig(‘design/footer/copyright’); echo $storeCopyright; ?>
If you need to add this to a CMS page then you can use this to retrieve the store information.
{{config path=”design/footer/copyright”}}
<?php echo $this->getLayout()->getBlock('footer')->getCopyright() ?>
<?php echo Mage::getStoreConfig("design/footer/copyright"); ?>
Комментарии
Отправить комментарий