I created a customer attribute and it works fine. I can see the attribute on backend and can select the values from backend. Unfortunately, the attribute value is not visible on frontend. Please find my code below which is added in sql file.
$installer = $this;
$installer->startSetup();
$setup = Mage::getModel('customer/entity_setup', 'core_setup');
$setup->addAttribute('customer', 'customer_type', array(
'label' => 'Customer Type',
'input' => 'select',
'type' => 'int',
'required' => 0,
'user_defined' => 1,
'visible' => true,
'source'=> 'mymodule/entity_customertype'
));
Mage::getSingleton('eav/config')
->getAttribute('customer', 'customer_type')
->setData('used_in_forms', array('adminhtml_customer','customer_account_create','customer_account_edit','checkout_register'))
->save();
$installer->endSetup();
How can I make the attribute value visible on Product Detail page on frontend?