<?php echo Mage::getModel(‘catalog/product’)->load($_product->getId())->getShortDescription() ?>
Monthly Archives: October 2012
Fetch the categories associated with the products on listing page magento
<?php
$_productCollection=$this->getLoadedProductCollection();
foreach ($_productCollection as $product):
foreach($product->getCategoryIds() as $category):
$categoryIds[] = $category;
endforeach;
endforeach;
print_r( $categoryIds );
?>
jquery get the height of the div
alert(jQuery(‘.div-class’).height());