1

Magento get Email template System Configuration Value

<customeremail>
    <label>Customer Email</label>
    <frontend_type>Select</frontend_type>
    <source_model>adminhtml/system_config_source_email_template</source_model>
    <sort_order>3</sort_order>
    <show_in_default>1</show_in_default>
    <show_in_website>1</show_in_website>
    <show_in_store>1</show_in_store>
    <comment>Customer Email</comment>                   
</customeremail>

I called this way:

Mage::getStoreConfig ( 'mps_proxelle/enable/customeremail' );

But it prints 1 only. How to get Value in phtml ?

1 Answer 1

0

Actually it print email template id. Now you have to load email template with this id like :

Mage::getModel('core/email_template')->load(Mage::getStoreConfig('mps_proxelle/enable/customeremail'));
1
  • No it's not print anything
    – Magento 2
    Nov 4, 2016 at 7:51

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .