In magento 1 we can add CMS blocks like this {{block type="cms/block" block_id="my_block"}}, I've tried this in Magento 2 but does not work. Is there a way of adding a CMS into an email template? For instance /vendor/magento/module-sales/view/frontend/email/order_new.html

  • share you file path which you want to add block. Sep 30, 2016 at 11:02
  • Do you have ask question about override order_new.html something ? Sep 30, 2016 at 11:05
  • Just now you have post question about override email template, i have give answer but you have delete just now Sep 30, 2016 at 11:11
  • I don't know what you're talking about. Sep 30, 2016 at 11:12
  • @André, Please describe your question. What you want ? And Also post some your codding issue. Sep 30, 2016 at 11:13

1 Answer 1


Should create new custom theme

And then, copy the default email template to your custom theme:


Add cms block to email template

{{block class="Magento\\Cms\\Block\\Block" area='frontend' block_id="my_block"}}

We can see more:


  • working fine! thanks Apr 5, 2019 at 12:25

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.