14

How can I change the email header template

{{template config_path="design/email/header_template"}}

or footer template

{{template config_path="design/email/footer_template"}}
20

You can override these templates in your custom theme and edit the html as per your requirement.

app/design/frontend/Vendor/themename/Magento_Email/email/header.html
app/design/frontend/Vendor/themename/Magento_Email/email/footer.html
  • it worked like a charm, thank you! – Alessio Apr 17 '20 at 9:05
8

You can override your core header and footer template into your theme folder,

vendor/magento/module-email/view/frontend/email/header.html

To your theme,

app/design/frontend/{Vendorname}/{thememane}/Magento_Email/email/header.html

Same Process for Footer.html file.

app/design/frontend/{Vendorname}/{thememane}/Magento_Email/email/footer.html

Run

php magento setup:upgrade
php magento setup:static-content:deploy

Clear cache.

  • Grazie per la risposta il mio percorso è / public_html / app / design / frontend / Magento / luma I have to create the folders / public_html / app / design / frontend / Vendor / luma / Magento_Email / email / header.html and footer.html – Alessandro Aug 4 '17 at 8:02
  • Adminhtml custom email template not set header footer. Can you please. @Rakesh Sir – Ravi Soni Oct 1 '18 at 6:57
4

This setting available in:

Content -> Configuration -> Default Store View -> Transactional Emails

0

In Magento 2.3.5 you can set it here: Content -> Design -> Configuration --> /YOUR STORE/ --> Transactional emails

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.