Get product type from product SKU
Tweet, share & co
tweet
•
fb share
•
g+ share
Tags
attribute • catalog • product • sku
Description
Get product type from product SKU
Code
$product = Mage::getModel('catalog/product')->loadByAttribute('sku',$product_sku);
$productType = $product->getTypeId();