Hi,
I would like to rewrite the collection that is returned by Mage::getResourceModel('sales/order_collection');
My goal is to rewrite this resource so that i can filter out the collection for particular Store.
Any ideas on how to do it? I tried directly rewrite collection of the sales/order module but no success. I was able to rewrite sales/order itself but not the collection, because when i call getCollection() it returns "Fatal error: Call to undefined method Mage_Sales_Model_Mysql4_Order::getCollection() "
Any idea will help.
Thank you,
Margots