Get product type from product ID

Tweet, share & co

tweet fb share g+ share

Tags


Description

Get product type from product ID

Code

$product = Mage::getModel('catalog/product')->load($product_id);
$productType = $product->getTypeId();

Comments