Add a custom field's in registration form with relationshipAdd new field in magento(1.9) customer registrationShow fields in register form of checkout onepage when the user is not guestvalidating is_unique property for custom attribute in customer registration formcan´t save new field in magento(1.9) customer registration checkout formDisplay Customer Attribute (Drop-down) in Admin EmailHow to add multiselect attribute to customer registration form?How to add validation for telephone number in magento customer registration formCustom field value not saving during checkout registrationMagento 1.9 getCompanyName from registration form fieldHow to add Custom option Text Field in Sale grid Magento 1How to call and place customer dropdown attribute in Customer Registration Page and One Step Checkout?
Does a humanoid possessed by a ghost register as undead to a paladin's Divine Sense?
Nested Unlocked Packages requires Installation of Base Packages?
Is a switch from R to Python worth it?
New workplace asking for bank pin and account number
Write The Shortest Program To Check If A Binary Tree Is Balanced
How to realistically deal with a shield user?
List: Behavioural characteristics of key Ito processes used in finance
Traveling from Germany to other countries by train?
Why am I not getting stuck in the loop
Is space radiation a risk for space film photography, and how is this prevented?
Changing Row Keys into Normal Rows
Getting an entry level IT position later in life
A verb for when some rights are not violated?
Will a research paper be retracted if the code (which was made publically available ) is shown have a flaw in the logic?
What was the role of Commodore-West Germany?
Why does capacitance not depend on the material of the plates?
Ubuntu show wrong disk sizes, how to solve it?
Whats the difference between <processors> and <pipelines> in Sitecore configuration?
If someone else uploads my GPL'd code to Github without my permission, is that a copyright violation?
What could prevent players from leaving an island?
Is there a way to improve my grade after graduation?
Does the length of a password for Wi-Fi affect speed?
Why do scoped enums allow use of | operator when initializing using previously assigned values?
What is it exactly about flying a Flyboard across the English channel that made Zapata's thighs burn?
Add a custom field's in registration form with relationship
Add new field in magento(1.9) customer registrationShow fields in register form of checkout onepage when the user is not guestvalidating is_unique property for custom attribute in customer registration formcan´t save new field in magento(1.9) customer registration checkout formDisplay Customer Attribute (Drop-down) in Admin EmailHow to add multiselect attribute to customer registration form?How to add validation for telephone number in magento customer registration formCustom field value not saving during checkout registrationMagento 1.9 getCompanyName from registration form fieldHow to add Custom option Text Field in Sale grid Magento 1How to call and place customer dropdown attribute in Customer Registration Page and One Step Checkout?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I need a little help ..
I need to create a new field in the registration form, and this field needs to be dynamic.
I enter the panel and add the options that I want to appear in this form, and in the registration page the user chooses one of this information.
I need 2 tables to make this query, just by business rule.
Can someone help me?
magento-1.9 customer-attribute dropdown-attribute
add a comment |
I need a little help ..
I need to create a new field in the registration form, and this field needs to be dynamic.
I enter the panel and add the options that I want to appear in this form, and in the registration page the user chooses one of this information.
I need 2 tables to make this query, just by business rule.
Can someone help me?
magento-1.9 customer-attribute dropdown-attribute
add a comment |
I need a little help ..
I need to create a new field in the registration form, and this field needs to be dynamic.
I enter the panel and add the options that I want to appear in this form, and in the registration page the user chooses one of this information.
I need 2 tables to make this query, just by business rule.
Can someone help me?
magento-1.9 customer-attribute dropdown-attribute
I need a little help ..
I need to create a new field in the registration form, and this field needs to be dynamic.
I enter the panel and add the options that I want to appear in this form, and in the registration page the user chooses one of this information.
I need 2 tables to make this query, just by business rule.
Can someone help me?
magento-1.9 customer-attribute dropdown-attribute
magento-1.9 customer-attribute dropdown-attribute
edited Aug 14 '17 at 20:13
PЯINCƏ
8,6823 gold badges11 silver badges50 bronze badges
8,6823 gold badges11 silver badges50 bronze badges
asked Aug 14 '17 at 19:22
Willian SugiyamaWillian Sugiyama
35 bronze badges
35 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You have to follow this answer, then you replace the install script with this one:
<?php
$this->addAttribute('customer', 'license_number', array(
'type' => 'int',
'label' => 'License Number',
'input' => 'select',
'position' => 120,
'required' => false,//or true
'is_system' => 0,
'source' => 'eav/entity_attribute_source_table',
'option' => [
'values'=> [
0 => 'Information 1',
1 => 'Information 2',
2 => 'Information 3',
]
],
));
$attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'license_number');
$attribute->setData('used_in_forms', array(
'adminhtml_customer',
'checkout_register',
'customer_account_create',
'customer_account_edit',
));
$attribute->setData('is_user_defined', 0);
$attribute->save();
Nb: The attribute wil be stored in eav_attribute table.
can how i create a table with that?
– Willian Sugiyama
Aug 14 '17 at 20:47
I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..
– Willian Sugiyama
Aug 14 '17 at 20:53
the solution that i gave you adds the field and attribute ineav_attribute
table
– PЯINCƏ
Aug 14 '17 at 22:03
add a comment |
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%2f189117%2fadd-a-custom-fields-in-registration-form-with-relationship%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have to follow this answer, then you replace the install script with this one:
<?php
$this->addAttribute('customer', 'license_number', array(
'type' => 'int',
'label' => 'License Number',
'input' => 'select',
'position' => 120,
'required' => false,//or true
'is_system' => 0,
'source' => 'eav/entity_attribute_source_table',
'option' => [
'values'=> [
0 => 'Information 1',
1 => 'Information 2',
2 => 'Information 3',
]
],
));
$attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'license_number');
$attribute->setData('used_in_forms', array(
'adminhtml_customer',
'checkout_register',
'customer_account_create',
'customer_account_edit',
));
$attribute->setData('is_user_defined', 0);
$attribute->save();
Nb: The attribute wil be stored in eav_attribute table.
can how i create a table with that?
– Willian Sugiyama
Aug 14 '17 at 20:47
I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..
– Willian Sugiyama
Aug 14 '17 at 20:53
the solution that i gave you adds the field and attribute ineav_attribute
table
– PЯINCƏ
Aug 14 '17 at 22:03
add a comment |
You have to follow this answer, then you replace the install script with this one:
<?php
$this->addAttribute('customer', 'license_number', array(
'type' => 'int',
'label' => 'License Number',
'input' => 'select',
'position' => 120,
'required' => false,//or true
'is_system' => 0,
'source' => 'eav/entity_attribute_source_table',
'option' => [
'values'=> [
0 => 'Information 1',
1 => 'Information 2',
2 => 'Information 3',
]
],
));
$attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'license_number');
$attribute->setData('used_in_forms', array(
'adminhtml_customer',
'checkout_register',
'customer_account_create',
'customer_account_edit',
));
$attribute->setData('is_user_defined', 0);
$attribute->save();
Nb: The attribute wil be stored in eav_attribute table.
can how i create a table with that?
– Willian Sugiyama
Aug 14 '17 at 20:47
I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..
– Willian Sugiyama
Aug 14 '17 at 20:53
the solution that i gave you adds the field and attribute ineav_attribute
table
– PЯINCƏ
Aug 14 '17 at 22:03
add a comment |
You have to follow this answer, then you replace the install script with this one:
<?php
$this->addAttribute('customer', 'license_number', array(
'type' => 'int',
'label' => 'License Number',
'input' => 'select',
'position' => 120,
'required' => false,//or true
'is_system' => 0,
'source' => 'eav/entity_attribute_source_table',
'option' => [
'values'=> [
0 => 'Information 1',
1 => 'Information 2',
2 => 'Information 3',
]
],
));
$attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'license_number');
$attribute->setData('used_in_forms', array(
'adminhtml_customer',
'checkout_register',
'customer_account_create',
'customer_account_edit',
));
$attribute->setData('is_user_defined', 0);
$attribute->save();
Nb: The attribute wil be stored in eav_attribute table.
You have to follow this answer, then you replace the install script with this one:
<?php
$this->addAttribute('customer', 'license_number', array(
'type' => 'int',
'label' => 'License Number',
'input' => 'select',
'position' => 120,
'required' => false,//or true
'is_system' => 0,
'source' => 'eav/entity_attribute_source_table',
'option' => [
'values'=> [
0 => 'Information 1',
1 => 'Information 2',
2 => 'Information 3',
]
],
));
$attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'license_number');
$attribute->setData('used_in_forms', array(
'adminhtml_customer',
'checkout_register',
'customer_account_create',
'customer_account_edit',
));
$attribute->setData('is_user_defined', 0);
$attribute->save();
Nb: The attribute wil be stored in eav_attribute table.
edited Aug 14 '17 at 22:04
answered Aug 14 '17 at 20:12
PЯINCƏPЯINCƏ
8,6823 gold badges11 silver badges50 bronze badges
8,6823 gold badges11 silver badges50 bronze badges
can how i create a table with that?
– Willian Sugiyama
Aug 14 '17 at 20:47
I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..
– Willian Sugiyama
Aug 14 '17 at 20:53
the solution that i gave you adds the field and attribute ineav_attribute
table
– PЯINCƏ
Aug 14 '17 at 22:03
add a comment |
can how i create a table with that?
– Willian Sugiyama
Aug 14 '17 at 20:47
I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..
– Willian Sugiyama
Aug 14 '17 at 20:53
the solution that i gave you adds the field and attribute ineav_attribute
table
– PЯINCƏ
Aug 14 '17 at 22:03
can how i create a table with that?
– Willian Sugiyama
Aug 14 '17 at 20:47
can how i create a table with that?
– Willian Sugiyama
Aug 14 '17 at 20:47
I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..
– Willian Sugiyama
Aug 14 '17 at 20:53
I need to create 2 tables, like a hive of activity, and hive of activity erp.. But i don't know how to start..
– Willian Sugiyama
Aug 14 '17 at 20:53
the solution that i gave you adds the field and attribute in
eav_attribute
table– PЯINCƏ
Aug 14 '17 at 22:03
the solution that i gave you adds the field and attribute in
eav_attribute
table– PЯINCƏ
Aug 14 '17 at 22:03
add a comment |
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%2f189117%2fadd-a-custom-fields-in-registration-form-with-relationship%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