Magento 2 Email Templates Customization Files and Location

Magento 2 provides a range of email templates that can be customized to match your brand’s style and messaging. Here are the files and locations where you can customize Magento 2 email templates:

  1. HTML Email Templates: The HTML email templates are located in the following directory:
    bash
    app/code/Magento/Email/view/frontend/email/

    In this directory, you’ll find HTML files for the different types of emails that Magento 2 sends, including order confirmation, shipment confirmation, invoice, credit memo, and more. To customize these templates, you can copy the relevant file to your theme directory and make your changes.

  2. Text Email Templates: The text email templates are located in the following directory:
    bash
    app/code/Magento/Email/view/frontend/email/

    In this directory, you’ll find TXT files for the different types of emails that Magento 2 sends. To customize these templates, you can copy the relevant file to your theme directory and make your changes.

  3. Email Logo: The email logo is located in the following directory:
    bash
    app/design/frontend/{Vendor}/{theme}/Magento_Email/web/images/logo_email.png

    To customize the email logo, replace the default logo with your own logo in this directory.

  4. Email CSS: The email CSS is located in the following directory:
    bash
    app/design/frontend/{Vendor}/{theme}/Magento_Email/web/css/email-inline.css

    To customize the email CSS, you can override this file in your theme directory and make your changes.

By customizing the Magento 2 email templates, you can create a consistent and professional look and feel for your brand across all of your email communications with customers.