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
    Commented Feb 21, 2018 at 10:01
  • Hello Not sure. but please do try reading this one: gordonlesti.com/magento-2-email-template-block-directives Commented 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
    Commented Feb 21, 2018 at 12:51
  • Hello @KamalakannanRavichandran you're welcome. I think it is possible Commented 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
    Commented Feb 22, 2018 at 4:51

Your Answer

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

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