JeffC
0
Q:

magento getcollection get first

// this gets all the products
$productCollection = Mage::getResourceModel('catalog/products_collection');
// this line gets just the first product
$firstItem = $productCollection->getFirstItem(); 
0

New to Communities?

Join the community