これは私のコードですが、在庫のある製品のみを取得します。売り切れ分も含めて全商品揃えたいです。何か考えはありますか?
$productCount = 5;
$storeId = Mage::app()->getStore()->getId();
$productsBestSellerMens = Mage::getResourceModel('reports/product_collection')
->addOrderedQty()
->addAttributeToSelect('*')
->setStoreId($storeId)
->addCategoryFilter($mensID)
->setPageSize($productCount);