When I am Trying to call Custom Template file test.phtml on product view page Template file i.e on wrapper.phtml template file is called but, when I am trying to output product details from my custom test.phtml I am unable to output,So any help how to get product details on my Custom test.phtml
File path:
app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/view/options/wrapper.phtml
<?php include ($block->getTemplateFile('Magento_Catalog::product/view/options/test.phtml')) ?>
My Custom Template File Path:
app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/view/options/test.phtml
But I was unable to load product details when I write code on test.phtml file
Thanks