質問

I want to call phtml file in static block that uses page builder in Magento 2 EE.

役に立ちましたか?

解決

In magento2 EE we cant call phtml in block or dynamic block as it uses page builder,we need to create custom content-type follow below tutorial to create custom-content type link

他のヒント

These steps work for Me:

  1. Add Row
  2. Add HTML Code element.
  3. Call phtml as we do in open source {{block class="Magento\Framework\View\Element\Template" template="Vendor_Module::product.phtml"}} under HTML Code element. `
ライセンス: CC-BY-SA帰属
所属していません magento.stackexchange
scroll top