Skip to content

Magento : Custom Email Template on Custom Module

here the XML guide

<template>
    <email>
        <{section_name}_{group_name}_{fields_name} translate="label" module="mymodule">
        <label>Custom Email Template</label>
        <file>mymodule/custom_email.html</file>
        <type>html</type>
        </{section_name}_{group_name}_{fields_name}>
    </email>
</template>

 

<{fields_name} translate="label">
  <label>Email Template</label>
  <frontend_type>select</frontend_type>
  <source_model>adminhtml/system_config_source_email_template</source_model>
  <sort_order>5</sort_order>
  <show_in_default>1</show_in_default>
  <show_in_website>1</show_in_website>
 <show_in_store>1</show_in_store>
</{fields_name}>

 

Share

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *