I'm trying to add a custom phtml file in the Product Page before Product Name/Title.
For that I've created a
custom.phtml file in the path-
"...> Magento_Catalog > templates > custom.phtml".
After that I added a block in catalog_product_view.xml:
<block class="Magento\Framework\View\Element\Template" name="blockname" template="Magento_Catalog::custom.phtml"/>
What I'm missing here? please guide me to show my custom.phtml file content on product page before the product title.