SHARE
TWEET

Untitled

a guest Oct 18th, 2017 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.*'));
RAW Paste Data
Top