Guest User

Untitled

a guest
Oct 18th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. $collection = Mage::getModel('sales/order')->getCollection();
  2. $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