I am creating magento store. I am beginner in magento. I want to get product id and product input type in my phtml file is this possible? please guide me..
I am trying to this way to get product type. but its not working for me
$product=Mage::getModel('catalog/product')->load($product_id);
$productType=$product->getTypeID();
Please guide me...