$attribute = Mage::getModel('eav/config')->getAttribute('customer','subscription_length');
$optionArray = array();
foreach ($attribute->getSource()->getAllOptions(true, true) as $option) {
$optionArray[$option['value']] = $option['label'];
}
Magento - Custom Customer attributes - How to get them in a block or phtml
- By Heather Mello
- Apr 4, 2016