Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $collection = Mage::getModel('sales/order')->getCollection();
- $collection->getSelect()->join( array('customer'=>'sales_flat_order_address'), 'main_table.billing_address_id = customer.entity_id', array('customer.*'));
Add Comment
Please, Sign In to add comment