-1

我有一个自定义地址属性。在后端,订单页面我需要获取该属性值。

4

1 回答 1

0

试试这个

$orderId = '100000001';

$order = Mage::getModel('sales/order')->loadByIncrementId($orderId);

$customAttributeValue = $order->getShippingAddress()->getAttributeText('your_custom_attribute');
于 2013-01-01T06:15:54.600 回答