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 ?

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 '16 at 7:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.