获取用户邮寄地址
//获取用户默认邮寄地址
public function productAddress(){
if (Mage::getSingleton('customer/session')->isLoggedIn()) {
foreach(Mage::getSingleton('customer/session')->getCustomer()->getAddresses() as $address){
$customerAddress[] = $address->toArray();
}
}
return $customerAddress;
}