I need to get custom attributes from my customers using the $order object.

I tried to do something like $order->getCustomerCustomAttribute(); for a custom_attribute but it didn`t worked. Is there a specific format to get it?


To get customer infromation from order, you need to do this code.

$customer_id = $order->getCustomerId();
$customer = Mage::getModel('customer/customer')->load($customer_id);
echo $customer->getCustomAttribute();
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.