I'm trying to get in the home page 12 bestseller products with this code:
$_productCollection = Mage::getResourceModel('reports/product_collection') ->addAttributeToSelect('*') ->addOrderedQty() ->setStoreId($storeId) ->addStoreFilter($storeId) ->setOrder('ordered_qty', 'desc');
The problem is that with this code I have the bestsellers of all stores.
The parameter ->setStoreId() and ->addStoreFilter don't work.
These products have the status "disabled" in backend.
In the backend go to Reports -> Products -> Products ordered and get this products: