New answers tagged

0 votes

How to override email-inline.css in email template in magento2

You can place your file in <theme_dir>/web/css/email-inline.less, and remove unnecessary styles https://developer.adobe.com/commerce/frontend-core/guide/templates/email/
  • 26
0 votes

Tracking number in Email template magento 2 not working

Use that line tracking number will be show I hope it will be helpful {{layout handle="sales_email_order_shipment_track" shipment_id=$shipment_id order_id=$order_id}} Like that <tr ...
0 votes

magento2 send email programmatically without template

Send email programmatically without email template, code is tested in Magento 2.4 /** * @var \Magento\Framework\Mail\MessageInterfaceFactory */ protected $messageInterfaceFactory; /** * @var \...
0 votes

how to send items details in shipment update email templates in magento 2

You can add the shipment item details using the following layout method in your email template. {{layout handle="sales_email_order_shipment_items" shipment_id=$shipment_id order_id=$...
0 votes

replace email template default header and footer

You can override these template on your theme, so app/design/frontend/YourVendor/yourtheme/Magento_Email/email/header_template.html You can't directly use a block since here we have html template. ...
  • 26
1 vote

overwrite 2 templates file by custom module, still loading the core files

You should override core phtml files in theme dir.

Top 50 recent answers are included