How to add product qty to your product collection

March 25, 2013 15:14

Sometimes you have to add the product qty to your product collection which is not included in default. Normally people will get the collection first, then run the below code per product: If you have more than 10000 records, it spends too much time by additional SQL query and increase server loading. Actually you can [...]