Magento seems to have lots of email templates to send a variety of different messages based on user activities: registration, password recovery, order, shipment, etc.
Where can I find all the email templates so I can customize them ALL and never miss one of them to avoid looking bad when the user sees a poorly worded default template?
Are they all located in one location / directory?
Root template <Magento_Theme_module_dir>/view/base/templates/root. phtml is the root template for all storefront pages in the Magento application. This file can be overridden in a theme just like any other template file.
To locate the template that is responsible for a specific part of the storefront or Admin, you can use Magento built-in template hints. To enable template hints: Click Stores > Settings > Configuration > ADVANCED > Developer.
In order to manage the transactional emails in Magento 2 go to Admin Panel > Marketing > Communications > Email Templates. Then, choose an email template you want to edit or you can add a new one by pressing the Add New Template button.
Email templates are stored in the <module_dir>/view/<area>/email directory of their respective modules. For example, the template for the new order transactional email for the Sales module is located in <Magento_Sales_module_dir>/view/frontend/email/order_new.
app/locale/en_US/template/email/
is the default place/locale. You should not customize them in the filesystem, or if you do, plan on protecting & merging when you upgrade.
You can customize them (albeit somewhat wonkily) via System > Transactional Emails. In this area you select the base file for your locale and alter the content, which is then stored in the database.
for Magento 1.9.x.x
app/locale/lang_CODE/template/email
for Magento 2.x
app/design/frontend/YOURPACKAGE/YOURTHEME/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With