0

I'm trying to preview email adminhtml template to front-end but its not working, I have tried below code.

{{block class='Magento\\Framework\\View\\Element\\Template' area='frontend'  template='Magento_Sales::email/shipment/track.phtml' }}

1 Answer 1

1

If you want to preview your email template created from the backend of Magento 2.

Please navigate to Marketing>Email Templates

I hope this will help you.

For you guys out there Just correct me if I'm wrong

Thanks

enter image description here

5
  • hai, i want to preview email template in front end not backend preview. How can call preview in frontend block or any other solution is there
    – kamal
    Feb 21, 2018 at 10:01
  • Hello Not sure. but please do try reading this one: gordonlesti.com/magento-2-email-template-block-directives Feb 21, 2018 at 10:06
  • Hai Maze, thanks for your response , itz possible to do that view front end email template preview @ MazeStricks
    – kamal
    Feb 21, 2018 at 12:51
  • Hello @KamalakannanRavichandran you're welcome. I think it is possible Feb 21, 2018 at 13:08
  • Hai @ MazeStricks , Let me know how to do give any idea or already u did it plz shared your code
    – kamal
    Feb 22, 2018 at 4:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.