We are running into problems with the I-ways PayPal Module with email templates that use

<div>{{block class="Magento\\Cms\\Block\\Block" area="frontend" block_id="agb_email_german"}}</div>

(see also Magento 2: How to call CMS Block in email templates?)

In Magento 2.3.

I was wondering if that is the right way to include a static block or if there is a better way, especially because of the upcoming strict mode changes.

1 Answer 1


I personally always advocate to use Block classes in email templates, exactly for the purpose you are describing: Having a CMS Block, so that the merchant is able to manage content from within the Magento Admin Panel, without needing to override the email template itself.

In the DevDoc mentioned, I'm not seeing the impact of the strict mode on this block syntax ...

  • 1
    Turns out the problem was only with this module. Another PayPal Plus module works fine.
    – Alex
    Sep 30, 2020 at 20:21

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.