0

On Terms and Conditions we try to pull in a static block

{{block class="Magento\Cms\Block\Block" block_id="terms_and_conditions"}}

{{block id='terms_and_conditions'}}

Screen

Both variants are displayed as code and the static block content is not resolved.

Why is this?

edit There is this module: https://github.com/UnimixPro/magento2_CheckoutAgreement

I believe it worked out of the box in earlier Magento versions.

4
  • you try this link click Commented Oct 28, 2020 at 9:07
  • This seems to copy the terms, not including them to avoid duplicating the legal terms in the admin panel. I believe this was working in older Magento versions.
    – Alex
    Commented Oct 28, 2020 at 10:31
  • The module you linked does nothing. Is just a stub. As you can clearly see here github.com/UnimixPro/magento2_CheckoutAgreement/blob/master/… they expect to write your own code Commented Oct 28, 2020 at 12:08
  • I believe it does something here return $this->_filterProvider->getPageFilter()->filter($result);
    – Alex
    Commented Oct 28, 2020 at 12:36

0

Your Answer

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