Get product type from product ID
Tweet, share & co
tweet
•
fb share
•
g+ share
Tags
catalog • id • model • product
Description
Get product type from product ID
Code
$product = Mage::getModel('catalog/product')->load($product_id);
$productType = $product->getTypeId();