How to select from magento EAV tables when flat catalog product data is on
问题 I have this code for selecting best selling products from Magento: $productCollection = Mage::getResourceModel('reports/product_collection') ->addOrderedQty($startTime, $currentTime) ->addAttributeToSelect('*') ->setStoreId($storeId) ->addStoreFilter($storeId) ->setOrder('ordered_qty', 'desc') ->setPageSize($this->limit()); } and it works fine, until I set "use flat catalog product" in backend to yes. Is there any way to tell magento to not use flat tables, and use EAV instead? Can any one