_getHelper(); $attributes = $helper->parseAttributes($helper->getCustomerCustomAttributes($this->_set)); $customerGroupModel = new Mage_Customer_Model_Group(); $customerGroups = $customerGroupModel->getCollection()->toOptionHash(); $optionsArray = array(); foreach ($customerGroups as $key => $customerGroup){ $optionsArray[] = $customerGroup; } $attributes[] = array( 'label' => 'Group', 'attribute_id' => 9000000, 'attribute_code' => 'group', 'options' => $optionsArray ); return $attributes; } }