Jump to content


Photo

How To Load Email Template By Template ID In Magento 2

Magento magento 2 magento 2 ecommerce magento 2 tutorials magento 2 devlopment

  • Please log in to reply
No replies to this topic

#1 Meetanshi

Meetanshi

    Advanced Member

  • Members
  • PipPipPip
  • 535 posts

Posted 04 June 2021 - 07:37 AM

Magento 2 offers many default email templates for the body section of the individual email message. From that, a store owner may need to load email template by template id in Magento 2 to send customers an email with a customized email template.

 

You can load the default or custom template using the ID and get the template text by creating an object of Helper Class and call the function.

 


looking for the best presta addons with outstanding support? check this: PrestaShop Modules