0

I want to provide another option for email template without creating the etc/config.xml or etc/system.xml, because i just need to add the new email option to the dropdown without creating new input field in store configuration. I tried it like this, but no luck:

etc/email_templates.xml

<?xml version="1.0"?>

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Email:etc/email_templates.xsd">
    <template id="test_email_template" label="Test" file="test.html" type="html" module="Test_Test" area="frontend"/> 
</config>
5
  • try this link magento.stackexchange.com/a/307810/82670
    – Msquare
    Nov 10, 2020 at 9:25
  • In which dropdown you want to show more options? Nov 10, 2020 at 12:37
  • @DhirenVasoya in store configuration email templates dropdown, for example store > configuration > sales > sales emails Nov 10, 2020 at 12:41
  • You need to add totally your custom or you want modify old? Nov 10, 2020 at 12:42
  • @DhirenVasoya modify the old ones Nov 10, 2020 at 12:46

1 Answer 1

0

You want to modify the old template then you need to do this things :

 1. Go To Admin.
 
 2. Marketing Menu -> Email Templates.

 3. Click on "Add New Template"

 4. Now select which you want to modify and load that template and save it.

 5. Now go to the configuration and you will find that newly created template into your dropdown.

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.