Jak dodać PHTML za pomocą XML Magento 2
<referenceContainer name="after.body.start">
<block class="Magento\Framework\View\Element\Template"
name="custom.file"
before="-"
template="Magento_Theme::html/custom.phtml"
/>
</referenceContainer>
Combative Crocodile