I want to create a phtml file and create a dynamic block with that one to put on CMS pages - Take it as product information blocks where i want to display the product name, the price, the URL - nothing more.
Is it possible to make that with something like the standard magento 2 block variable and link that to a phtml file?
I got something like this in mind:
Magento 2 Block
{{widget type="Magento\Cms\Block\Widget\Block" template="widget/static_block/product-info.phtml" product-id="30"}}
And then get the information within the phtml
file via the used product-id on the block variable but I also got no clue how to approach that.