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?


1 Answer 1


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();

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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