我使用这一守则:
$customerCollection = Mage::getResourceModel( customer/customer_collection )
->addNameToSelect()
->addAttributeToSelect( email )
->joinAttribute( postcode , customer_address/company , default_billing , null, left )
->joinAttribute( postcode , customer_address/postcode , default_billing , null, left )
->joinAttribute( billing_city , customer_address/city , default_billing , null, left )
->joinAttribute( billing_region , customer_address/region , default_billing , null, left )
->joinAttribute( billing_country_id , customer_address/country_id , default_billing , null, left );
如何获得注册客户的公司名称?
感谢。