Diese Funktion gibt eine Liste von Bestsellern aus.
Snippet Code
$collection = Mage::getResourceModel('sales/report_bestsellers_collection') ->setModel('catalog/product') ->addStoreFilter(Mage::app()->getStore()->getId()) //if you want the bestsellers for a specific store view. if you want global values remove this ->setPageSize(5)//set the number of products you want ->setCurPage(1); foreach ($collection as $_product){ $realProduct = Mage::getModel('catalog/product')->load($_product->getProductId()); // DO something with $realProduct; }