Saving extra data with an order in Magento

After a lot of trial and error – a lot of error – I think I have it now. To begin with the sales_flat_order_grid is updated in Mage_Sales_Model_Mysql4_Order_Abstract::updateGridRecords(), by following the trail I worked out it inspects both the “main” table (sales_flat_order) and the main table + “_grid” (sales_flat_order_grid), takes the intersect of their columns … Read more