标签: php zend-framework magento
我有自定义地址属性。在后端,订单页面我需要获取该属性值。
答案 0 :(得分:0)
试试这个
$orderId = '100000001'; $order = Mage::getModel('sales/order')->loadByIncrementId($orderId); $customAttributeValue = $order->getShippingAddress()->getAttributeText('your_custom_attribute');