Whats the best way to get a collection with products which are in stock and have a positive qty.
I already use the following to filter in stock
, but this give me also products with qty=0, because I allow backorders
Mage::getSingleton('cataloginventory/stock')
->addInStockFilterToCollection($collection);
Best Answer
How about his - you check that the quantity is greater than 0:
EDIT:
Ok, so I suppose you need to grab the configurable products, and then for each item check if they are in stock? Unfortunately I do not have any stores with configurable items to test this on.