Add Customer Attributes through Admin Form Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Create a sortable and filterable custom attribute to stand-alone entitycreate custom attribute for root category in adminFresh install, no plug ins, fatal error on category management pageUnable to search orders in admin order Grid by custom column(s) createdhow to update Select Attribute (add more option ) via Magento-upgrade-scripthow can i add shipping carrier column in admin pageMagento 2.2.1: Add Custom Upload file attribute in CheckoutMagento - Add customer attribute to order gridmagento 2.2.5: Adding Custom Attribute to Customer Edit Form in AdminAdd custom attributes in Customer form registration
How were pictures turned from film to a big picture in a picture frame before digital scanning?
What is Adi Shankara referring to when he says "He has Vajra marks on his feet"?
Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?
Why are vacuum tubes still used in amateur radios?
How to report t statistic from R
How many time has Arya actually used Needle?
Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?
Why are my pictures showing a dark band on one edge?
What does Turing mean by this statement?
Did any compiler fully use 80-bit floating point?
How does Belgium enforce obligatory attendance in elections?
Is it fair for a professor to grade us on the possession of past papers?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Is there hard evidence that the grant peer review system performs significantly better than random?
If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?
How does light 'choose' between wave and particle behaviour?
How to write capital alpha?
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
Draw 4 of the same figure in the same tikzpicture
Sum letters are not two different
Unit testing extension method adding view location expander
How to run automated tests after each commit?
What does this say in Elvish?
Lagrange four-squares theorem --- deterministic complexity
Add Customer Attributes through Admin Form
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Create a sortable and filterable custom attribute to stand-alone entitycreate custom attribute for root category in adminFresh install, no plug ins, fatal error on category management pageUnable to search orders in admin order Grid by custom column(s) createdhow to update Select Attribute (add more option ) via Magento-upgrade-scripthow can i add shipping carrier column in admin pageMagento 2.2.1: Add Custom Upload file attribute in CheckoutMagento - Add customer attribute to order gridmagento 2.2.5: Adding Custom Attribute to Customer Edit Form in AdminAdd custom attributes in Customer form registration
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to build a extension where I can dynamically add new Customer Attributes just like I would do with Product Attributes. The thing is that I'm new to Admin Grid and I'm not finding the a few references such as required fields for a customer attribute and how to sync frontend_type with Options Tab. So far this is what I got:
// controllers/AttributesController.php
protected function editAction()
$attributeId == 0)
Mage::register('entity_attribute', $attributeModel);
Mage::register('customer_attribute_data', $attributeModel);
$this->loadLayout();
$this->_setActiveMenu('customer');
$content = $this->getLayout()->createBlock('dev_customerattributes/adminhtml_attributes_edit');
$left = $this->getLayout()->createBlock('dev_customerattributes/adminhtml_attributes_edit_tabs');
$this->_addContent($content)->_addLeft($left);
$this->renderLayout();
else
Mage::getSingleton('adminhtml/session')->addError('Customer attribute does not exist');
$this->_redirect('*/*/');
// Block/Adminhtml/Attributes/Edit.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
public function __construct()
$this->_objectId = 'attribute_id';
$this->_blockGroup = 'dev_customerattributes';
$this->_controller = 'adminhtml_attributes';
parent::__construct();
$this->_updateButton('save', 'label', 'Save Todo');
$this->_updateButton('delete', 'label', 'Delete Todo');
public function getHeaderText()
if (Mage::registry('customer_attribute_data') && Mage::registry('customer_attribute_data')->getId())
return $this->__('Edit Customer Attribute "%s"', $this->htmlEscape(Mage::registry('customer_attribute_data')->getData('attribute_code')));
else
return $this->__('Add Customer Attribute');
// Block/Adminhtml/Attributes/Edit/Form.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
protected function _prepareForm()
$form = new Varien_Data_Form(array(
'id' => 'edit_form',
'action' => $this->getUrl('*/*/save', array('attribute_id' => $this->getRequest()->getParam('attribute_id'))),
'method' => 'post'
));
$form->setUseContainer(true);
$this->setForm($form);
return parent::_prepareForm();
// Block/Adminhtml/Attributes/Edit/Tabs.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
public function __construct()
parent::__construct();
$this->setId('customerattributes_tabs');
$this->setDestElementId('edit_form');
$this->setTitle($this->__('Attribute Information'));
protected function _beforeToHtml()
$this->addTab('main_section', array(
'label' => 'Attribute Properties',
'title' => 'Attribute Properties',
'content' => $this->getLayout()
->createBlock('dev_customerattributes/adminhtml_attributes_edit_tab_main')
->toHtml()
));
$this->addTab('options_section', array(
'label' => 'Attribute Options',
'title' => 'Attribute Options',
'content' => $this->getLayout()
->createBlock('dev_customerattributes/adminhtml_attributes_edit_tab_options')
->toHtml()
));
return parent::_beforeToHtml();
// Block/Adminhtml/Attributes/Edit/Tab/Main.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Tab_Main extends Mage_Adminhtml_Block_Widget_Form
protected function _prepareForm()
$form = new Varien_Data_Form();
$this->setForm($form);
$fieldset = $form->addFieldset('todo_form', array('legend' => 'ref info'));
$fieldset->addField('attribute_code', 'text', array(
'label' => 'Attribute Code',
'class' => 'required-entry',
'required' => true,
'name' => 'attribute_code'
));
$fieldset->addField('attribute_label', 'text', array(
'label' => 'Attribute Label',
'class' => 'required-entry',
'required' => true,
'name' => 'attribute_label'
));
$fieldset->addField('frontend_label', 'text', array(
'label' => 'Frontend Label',
'class' => 'required-entry',
'required' => true,
'name' => 'frontend_label'
));
$fieldset->addField('frontend_input', 'select', array(
'label' => 'Frontend Input',
'class' => 'required-entry',
'required' => true,
'name' => 'frontend_input',
'value' => 'select',
'values' => Mage::getModel('eav/adminhtml_system_config_source_inputtype')->toOptionArray()
));
if (Mage::registry('customer_attribute_data'))
$form->setValues(Mage::registry('customer_attribute_data')->getData());
else
return parent::_prepareForm();
// Block/Adminhtml/Attributes/Edit/Tab/Options.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Tab_Options extends Mage_Eav_Block_Adminhtml_Attribute_Edit_Options_Abstract
magento-1.9 database attributes customer-attribute eav
add a comment |
I'm trying to build a extension where I can dynamically add new Customer Attributes just like I would do with Product Attributes. The thing is that I'm new to Admin Grid and I'm not finding the a few references such as required fields for a customer attribute and how to sync frontend_type with Options Tab. So far this is what I got:
// controllers/AttributesController.php
protected function editAction()
$attributeId == 0)
Mage::register('entity_attribute', $attributeModel);
Mage::register('customer_attribute_data', $attributeModel);
$this->loadLayout();
$this->_setActiveMenu('customer');
$content = $this->getLayout()->createBlock('dev_customerattributes/adminhtml_attributes_edit');
$left = $this->getLayout()->createBlock('dev_customerattributes/adminhtml_attributes_edit_tabs');
$this->_addContent($content)->_addLeft($left);
$this->renderLayout();
else
Mage::getSingleton('adminhtml/session')->addError('Customer attribute does not exist');
$this->_redirect('*/*/');
// Block/Adminhtml/Attributes/Edit.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
public function __construct()
$this->_objectId = 'attribute_id';
$this->_blockGroup = 'dev_customerattributes';
$this->_controller = 'adminhtml_attributes';
parent::__construct();
$this->_updateButton('save', 'label', 'Save Todo');
$this->_updateButton('delete', 'label', 'Delete Todo');
public function getHeaderText()
if (Mage::registry('customer_attribute_data') && Mage::registry('customer_attribute_data')->getId())
return $this->__('Edit Customer Attribute "%s"', $this->htmlEscape(Mage::registry('customer_attribute_data')->getData('attribute_code')));
else
return $this->__('Add Customer Attribute');
// Block/Adminhtml/Attributes/Edit/Form.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
protected function _prepareForm()
$form = new Varien_Data_Form(array(
'id' => 'edit_form',
'action' => $this->getUrl('*/*/save', array('attribute_id' => $this->getRequest()->getParam('attribute_id'))),
'method' => 'post'
));
$form->setUseContainer(true);
$this->setForm($form);
return parent::_prepareForm();
// Block/Adminhtml/Attributes/Edit/Tabs.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
public function __construct()
parent::__construct();
$this->setId('customerattributes_tabs');
$this->setDestElementId('edit_form');
$this->setTitle($this->__('Attribute Information'));
protected function _beforeToHtml()
$this->addTab('main_section', array(
'label' => 'Attribute Properties',
'title' => 'Attribute Properties',
'content' => $this->getLayout()
->createBlock('dev_customerattributes/adminhtml_attributes_edit_tab_main')
->toHtml()
));
$this->addTab('options_section', array(
'label' => 'Attribute Options',
'title' => 'Attribute Options',
'content' => $this->getLayout()
->createBlock('dev_customerattributes/adminhtml_attributes_edit_tab_options')
->toHtml()
));
return parent::_beforeToHtml();
// Block/Adminhtml/Attributes/Edit/Tab/Main.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Tab_Main extends Mage_Adminhtml_Block_Widget_Form
protected function _prepareForm()
$form = new Varien_Data_Form();
$this->setForm($form);
$fieldset = $form->addFieldset('todo_form', array('legend' => 'ref info'));
$fieldset->addField('attribute_code', 'text', array(
'label' => 'Attribute Code',
'class' => 'required-entry',
'required' => true,
'name' => 'attribute_code'
));
$fieldset->addField('attribute_label', 'text', array(
'label' => 'Attribute Label',
'class' => 'required-entry',
'required' => true,
'name' => 'attribute_label'
));
$fieldset->addField('frontend_label', 'text', array(
'label' => 'Frontend Label',
'class' => 'required-entry',
'required' => true,
'name' => 'frontend_label'
));
$fieldset->addField('frontend_input', 'select', array(
'label' => 'Frontend Input',
'class' => 'required-entry',
'required' => true,
'name' => 'frontend_input',
'value' => 'select',
'values' => Mage::getModel('eav/adminhtml_system_config_source_inputtype')->toOptionArray()
));
if (Mage::registry('customer_attribute_data'))
$form->setValues(Mage::registry('customer_attribute_data')->getData());
else
return parent::_prepareForm();
// Block/Adminhtml/Attributes/Edit/Tab/Options.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Tab_Options extends Mage_Eav_Block_Adminhtml_Attribute_Edit_Options_Abstract
magento-1.9 database attributes customer-attribute eav
add a comment |
I'm trying to build a extension where I can dynamically add new Customer Attributes just like I would do with Product Attributes. The thing is that I'm new to Admin Grid and I'm not finding the a few references such as required fields for a customer attribute and how to sync frontend_type with Options Tab. So far this is what I got:
// controllers/AttributesController.php
protected function editAction()
$attributeId == 0)
Mage::register('entity_attribute', $attributeModel);
Mage::register('customer_attribute_data', $attributeModel);
$this->loadLayout();
$this->_setActiveMenu('customer');
$content = $this->getLayout()->createBlock('dev_customerattributes/adminhtml_attributes_edit');
$left = $this->getLayout()->createBlock('dev_customerattributes/adminhtml_attributes_edit_tabs');
$this->_addContent($content)->_addLeft($left);
$this->renderLayout();
else
Mage::getSingleton('adminhtml/session')->addError('Customer attribute does not exist');
$this->_redirect('*/*/');
// Block/Adminhtml/Attributes/Edit.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
public function __construct()
$this->_objectId = 'attribute_id';
$this->_blockGroup = 'dev_customerattributes';
$this->_controller = 'adminhtml_attributes';
parent::__construct();
$this->_updateButton('save', 'label', 'Save Todo');
$this->_updateButton('delete', 'label', 'Delete Todo');
public function getHeaderText()
if (Mage::registry('customer_attribute_data') && Mage::registry('customer_attribute_data')->getId())
return $this->__('Edit Customer Attribute "%s"', $this->htmlEscape(Mage::registry('customer_attribute_data')->getData('attribute_code')));
else
return $this->__('Add Customer Attribute');
// Block/Adminhtml/Attributes/Edit/Form.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
protected function _prepareForm()
$form = new Varien_Data_Form(array(
'id' => 'edit_form',
'action' => $this->getUrl('*/*/save', array('attribute_id' => $this->getRequest()->getParam('attribute_id'))),
'method' => 'post'
));
$form->setUseContainer(true);
$this->setForm($form);
return parent::_prepareForm();
// Block/Adminhtml/Attributes/Edit/Tabs.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
public function __construct()
parent::__construct();
$this->setId('customerattributes_tabs');
$this->setDestElementId('edit_form');
$this->setTitle($this->__('Attribute Information'));
protected function _beforeToHtml()
$this->addTab('main_section', array(
'label' => 'Attribute Properties',
'title' => 'Attribute Properties',
'content' => $this->getLayout()
->createBlock('dev_customerattributes/adminhtml_attributes_edit_tab_main')
->toHtml()
));
$this->addTab('options_section', array(
'label' => 'Attribute Options',
'title' => 'Attribute Options',
'content' => $this->getLayout()
->createBlock('dev_customerattributes/adminhtml_attributes_edit_tab_options')
->toHtml()
));
return parent::_beforeToHtml();
// Block/Adminhtml/Attributes/Edit/Tab/Main.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Tab_Main extends Mage_Adminhtml_Block_Widget_Form
protected function _prepareForm()
$form = new Varien_Data_Form();
$this->setForm($form);
$fieldset = $form->addFieldset('todo_form', array('legend' => 'ref info'));
$fieldset->addField('attribute_code', 'text', array(
'label' => 'Attribute Code',
'class' => 'required-entry',
'required' => true,
'name' => 'attribute_code'
));
$fieldset->addField('attribute_label', 'text', array(
'label' => 'Attribute Label',
'class' => 'required-entry',
'required' => true,
'name' => 'attribute_label'
));
$fieldset->addField('frontend_label', 'text', array(
'label' => 'Frontend Label',
'class' => 'required-entry',
'required' => true,
'name' => 'frontend_label'
));
$fieldset->addField('frontend_input', 'select', array(
'label' => 'Frontend Input',
'class' => 'required-entry',
'required' => true,
'name' => 'frontend_input',
'value' => 'select',
'values' => Mage::getModel('eav/adminhtml_system_config_source_inputtype')->toOptionArray()
));
if (Mage::registry('customer_attribute_data'))
$form->setValues(Mage::registry('customer_attribute_data')->getData());
else
return parent::_prepareForm();
// Block/Adminhtml/Attributes/Edit/Tab/Options.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Tab_Options extends Mage_Eav_Block_Adminhtml_Attribute_Edit_Options_Abstract
magento-1.9 database attributes customer-attribute eav
I'm trying to build a extension where I can dynamically add new Customer Attributes just like I would do with Product Attributes. The thing is that I'm new to Admin Grid and I'm not finding the a few references such as required fields for a customer attribute and how to sync frontend_type with Options Tab. So far this is what I got:
// controllers/AttributesController.php
protected function editAction()
$attributeId == 0)
Mage::register('entity_attribute', $attributeModel);
Mage::register('customer_attribute_data', $attributeModel);
$this->loadLayout();
$this->_setActiveMenu('customer');
$content = $this->getLayout()->createBlock('dev_customerattributes/adminhtml_attributes_edit');
$left = $this->getLayout()->createBlock('dev_customerattributes/adminhtml_attributes_edit_tabs');
$this->_addContent($content)->_addLeft($left);
$this->renderLayout();
else
Mage::getSingleton('adminhtml/session')->addError('Customer attribute does not exist');
$this->_redirect('*/*/');
// Block/Adminhtml/Attributes/Edit.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
public function __construct()
$this->_objectId = 'attribute_id';
$this->_blockGroup = 'dev_customerattributes';
$this->_controller = 'adminhtml_attributes';
parent::__construct();
$this->_updateButton('save', 'label', 'Save Todo');
$this->_updateButton('delete', 'label', 'Delete Todo');
public function getHeaderText()
if (Mage::registry('customer_attribute_data') && Mage::registry('customer_attribute_data')->getId())
return $this->__('Edit Customer Attribute "%s"', $this->htmlEscape(Mage::registry('customer_attribute_data')->getData('attribute_code')));
else
return $this->__('Add Customer Attribute');
// Block/Adminhtml/Attributes/Edit/Form.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
protected function _prepareForm()
$form = new Varien_Data_Form(array(
'id' => 'edit_form',
'action' => $this->getUrl('*/*/save', array('attribute_id' => $this->getRequest()->getParam('attribute_id'))),
'method' => 'post'
));
$form->setUseContainer(true);
$this->setForm($form);
return parent::_prepareForm();
// Block/Adminhtml/Attributes/Edit/Tabs.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
public function __construct()
parent::__construct();
$this->setId('customerattributes_tabs');
$this->setDestElementId('edit_form');
$this->setTitle($this->__('Attribute Information'));
protected function _beforeToHtml()
$this->addTab('main_section', array(
'label' => 'Attribute Properties',
'title' => 'Attribute Properties',
'content' => $this->getLayout()
->createBlock('dev_customerattributes/adminhtml_attributes_edit_tab_main')
->toHtml()
));
$this->addTab('options_section', array(
'label' => 'Attribute Options',
'title' => 'Attribute Options',
'content' => $this->getLayout()
->createBlock('dev_customerattributes/adminhtml_attributes_edit_tab_options')
->toHtml()
));
return parent::_beforeToHtml();
// Block/Adminhtml/Attributes/Edit/Tab/Main.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Tab_Main extends Mage_Adminhtml_Block_Widget_Form
protected function _prepareForm()
$form = new Varien_Data_Form();
$this->setForm($form);
$fieldset = $form->addFieldset('todo_form', array('legend' => 'ref info'));
$fieldset->addField('attribute_code', 'text', array(
'label' => 'Attribute Code',
'class' => 'required-entry',
'required' => true,
'name' => 'attribute_code'
));
$fieldset->addField('attribute_label', 'text', array(
'label' => 'Attribute Label',
'class' => 'required-entry',
'required' => true,
'name' => 'attribute_label'
));
$fieldset->addField('frontend_label', 'text', array(
'label' => 'Frontend Label',
'class' => 'required-entry',
'required' => true,
'name' => 'frontend_label'
));
$fieldset->addField('frontend_input', 'select', array(
'label' => 'Frontend Input',
'class' => 'required-entry',
'required' => true,
'name' => 'frontend_input',
'value' => 'select',
'values' => Mage::getModel('eav/adminhtml_system_config_source_inputtype')->toOptionArray()
));
if (Mage::registry('customer_attribute_data'))
$form->setValues(Mage::registry('customer_attribute_data')->getData());
else
return parent::_prepareForm();
// Block/Adminhtml/Attributes/Edit/Tab/Options.php
class Developer_CustomerAttributes_Block_Adminhtml_Attributes_Edit_Tab_Options extends Mage_Eav_Block_Adminhtml_Attribute_Edit_Options_Abstract
magento-1.9 database attributes customer-attribute eav
magento-1.9 database attributes customer-attribute eav
asked 4 mins ago
cslogiccslogic
1357
1357
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270820%2fadd-customer-attributes-through-admin-form%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270820%2fadd-customer-attributes-through-admin-form%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown