Check configurable product or not product detail page Magento

Add the below given code on catalog/product/view.phtml

<?php if($_product->getTypeId() == “configurable”) echo “Its a configurable product”; ?>

 

Share