Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [custom-field]

The tag has no usage guidance.

1
vote
2answers
73 views
+50

Magento 2.3 How to pass custom input field data to the sidebar Summary

I have created a custom input field attribute which will show up once a specific custom Shipping method is selected. I have it working already. And now I want the data from the custom input field to ...
0
votes
0answers
8 views

auto populate custom order filed value from old order in admin order edit process magento 2

I want to show my custom field to be populated automatically like the default magento fields gets populated in magento2 order edit process.How can I achieve this.
0
votes
0answers
14 views

How to add Company name, phone no and email field in custom payment method?

I have created one payment method and I want to add input field like name, email and phone no. Any help would be appreciated.
0
votes
0answers
22 views

Custom form field not showing validation message

I have created one custom form and implemented magento validation. Magento validation works for all fields but message of one field is not displaying. I have added datepicker in this field. Below is ...
0
votes
2answers
67 views

Magento 2 : how to convert custom quote field to order field

I added a new field "management_fee" on table "quote" properly. I add this field on "sales_order" field too. I would like to update this field on sales_order table while quote is converting to order. ...
0
votes
0answers
44 views

Magento 2: Add custom field in checkout page

Can anyone please guide me how to add custom field in magento2 checkout page under the shipping step. And store the attribute value into the database.
1
vote
0answers
14 views

Create custom extra new field in Magento 1.9 admin panel

I'm trying to add one more one more field to upload aadhaar card image. I tried doing it by adding attribute but it didn't work, And also I tried to duplicate the below code in /app/code/local/...
0
votes
1answer
83 views

Magento 2.2.6 : Add custom field in product attribute add form - Is not render the database value on edit

I added a custom field inside my product attributes and it's render and save OK, but when I reload the attribute form, the value of my custom field is empty. If I enter to the form data inside the ...
4
votes
1answer
68 views

How to add form element CANVAS using ui component magento admin form

I want to add Canvas field element using UI component admin form. My requirement is i have a ui component form i want to add Canvas field. check below screen shoot. As per above screen-shoot i ...
0
votes
0answers
26 views

Add Customer Note (comments) on billing Address and Save it

I have installed Magebase Extension for add order comment. It is working fine, But the comment is showing on Shipping method section. I have successfully added the comment on billing address by: ...
0
votes
1answer
22 views

How to add new field in product attribute options in Magento 2

I want to add custom field for attribute options in Magento 2 how can I do?
2
votes
0answers
104 views

How to create dynamic rows field in custom Ui component form

I want to create field in custom ui form to add dynamic row and delete that row.. I know how to add dynamic row field in STORE > Configuration but I don't know how to add in UI component form. Then ...
1
vote
0answers
91 views

Magento 2 : How to get Additional Information in payment info for custom payment method?

I have created custom payment module. Under that module i have display three additional information field. How to get that additional data from frontend to backend?
4
votes
2answers
88 views

Custom field of mobile number is not showing on registration page in Magento 2.2.5

I want to add mobile no field in registration form. here is the code InstallData.php <?php /** * Copyright © 2016 Rouven Alexander Rieker * See LICENSE.md bundled with this module for license ...
0
votes
2answers
99 views

How to add Customer custom field then display it in registration form

I want to know how to create custom field for customer and display that custom field in the registration page using plugin interpertor.
1
vote
0answers
24 views

How to add custom field in order_sales table and used it?

i need to add new field in order_sale tables. I create a initialSchema and add field in database (office_id). But i don't use this filed in order create, no matter where it is created. Please tell ...
1
vote
1answer
813 views

Magento 2.2.5 : Add custom field in product attribute add form

Go to : Store -> Attributes -> Product -> Edit attribute I want to add custom dropdown as like Used in Product Listing dropdown. I added it. But, It's display in Properties tab instead of ...
0
votes
1answer
35 views

Retrieve custom fields from customer table using SQL

I have two custom fields in my customer table, namely nickname and sponsor. I would like to create an sql query to select the two custom fields that I have in the table. What kind of query should I do?...
2
votes
0answers
56 views

Magento 2.2: How to save data from custom field in sales_order_address table?

I added a custom field in checkout and want to save data in sales_order_address table. I successfully saved that data in quote, sales_order and sales_order_grid tables. Here is my UpgradeSchema.php ...
0
votes
0answers
16 views

Get customer data in Additional template file in customer account edit

I have added custom field to customer account create using customer_account_create.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
1answer
30 views

Magento 2 custom Checkout Step

I am creating a custom checkout step in Magento to allow customers to pick a delivery date based on their postcode, I have already created the extra step, but I want to be able to pass the postcode ...
1
vote
0answers
90 views

Magento 1.9: Add custom text box on invoice page for partial capture

I have created a payment module with auth-capture option and its working properly in Magento 1.9. The requirement is to capture a portion of the amount without changing the quantity. For this I have ...
0
votes
1answer
545 views

Magento 2 - Custom Field on Checkout save value and Backend [duplicate]

I have written a module which adds a field in my checkout page and I want to connect it to the database in order to see it from the backend. I have used as a base this one module https://github.com/...
0
votes
0answers
24 views

$value = $address->getExtensionAttributes()->getCustomField();

I have follow the instructions of Official Docs and I add a field in the checkout of my site. https://devdocs.magento.com/guides/v2.0/howdoi/checkout/checkout_new_field.html Although I cannot see ...
0
votes
0answers
24 views

Add a generic field in admin form

Does someone know or have already done how to add a generic field in form admin and NOT in Stores configuration something like in : Catalog->product->{Click on edit product}->Customizable Options. ...
0
votes
1answer
280 views

Remove Validation for Last Name Field from all places

I want to remove validation from lastname field from admin panel as well as frontend in magento 2.1.12.Please tell me solution.
0
votes
1answer
242 views

add custom field in checkout page magento 1.9?

i want to add a custom field in checkout page in magento 1.9 . The custom field should ask where do you hear about us? and should have options as radio button such as fb,google,friend etc. i want to ...
0
votes
0answers
61 views

Magento2 : How to get system.xml field path in Block

I have a module that add configuration fields in system.xml. system.xml <field id="bla" translate="label" type="text" sortOrder="22" showInDefault="1" showInWebsite="0" showInStore="...
0
votes
1answer
207 views

Magento2 checkout page add custom text field

Can anyone helps me how to add a custom text field and value save in database: I have followed the below link text field is created but the value is not saving in database: How to add custom checkout ...
0
votes
1answer
290 views

Redirect Magento2 404 page to the register page

I'm using Magento 2 to create my site. I want to dynamically assign a sponsor to the register of a new customer. I had create a customer custom field named nickname on the database. In practice I want ...
1
vote
0answers
75 views

Magento 2.2: Want to add a category tree like structure field in admin custom module [duplicate]

I have created 2 custom admin module, I want to add a category like tree structure in my module 2, that will take values from module 1. Or can create multiselect for show as below senario: ┳ ...
0
votes
1answer
112 views

$fieldset->addField not showing value

This is my code: $fieldset->addField( 'pdf_url', 'file', ['name' => 'custom_url', 'label' => __('Custom Url'), 'title' => __('Custom Url'), 'required' =...
0
votes
1answer
505 views

addColumn with select options in generated admin field

I want to know if someone has already added a select field in a generated admin fields Vendor/Name/Block/Adminhtml/Menu/Field/AdditionalMenu.php <?php namespace Vendor\Menu\Block\Adminhtml\Menu\...
0
votes
1answer
22 views

New field created is not being displayed in the backend order

I created a new field for the client to fill the same in the checkout. I created it from the following code in an sql file: <?php $installer = $this; $installer->startSetup(); $...
0
votes
3answers
938 views

Magento 2 : Save date and MultiSelect field value added in Ui_Component

I've been facing issue with saving date field value. I've added custom date field in sales_rule form , Field is added but can't able to save its value to DB. Previously i added text field and its ...
1
vote
2answers
1k views

Billing Address Custom Field

Magento ver. 2.2.2 I added an extra attribute for Customer Address. It works as aspected in customer address edit (frontend and backend). In checkout page: For Shipping Address everything is ...
0
votes
1answer
664 views

Magento 2 : How to Add Custom Input Field in Customer Registration Form

I want to add an extra field on the customer registration form and its value must be saved in database after its subimission. How can I do that?
0
votes
0answers
175 views

Magento 2.2.2 How to add custom fields in backend (add new product page)

I want to create few custom fields (text field, dropdown, checkbox and multiselect) in backend add new product page. The dropdown field will be under Attribute set field. Checkbox will be under ...
0
votes
1answer
115 views

How to move the field error element “.Mage-error” outside of the “.field” element? Magento 2.2

I am new to Magento, and am using Magento 2.2. How can we move the error message that is generated to the outside of it's field parent. Please note that I am looking for a way to do it through my ...
0
votes
2answers
341 views

Magento 1.9 custom multiselect field renderer - how to?

In my customization I need a multiselect field in form so I added new field and created a renderer hoping it will work and I've done it this way: ... form.php $fieldset->addField('test', '...
0
votes
0answers
349 views

Magento 2 : How to Add Custom Input Fields in Registration Form

I need to add more fields in customer registration form in Magento 2.2.0. I have added some fields from backend but more fields are required for my website. How can I do that?
0
votes
2answers
193 views

Magento 2 custom attribute colunm in admin customer grid

I am trying to add custom attribute column in admin customer grid in Magento 2 but I got below error. main.CRITICAL: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ip_country' in 'order ...
0
votes
1answer
1k views

How Do we can give dynamic data for a form field in admin form(ui-component) in magento 2

I need to add note to the form field using notice tag. for example <notice translate="true">Image size should be equal to some(here I need to pass dynamic value)</notice> form.xml &...
1
vote
3answers
627 views

how to display the address fields in the registration form

I was looking but I can not find a solution that will work. During registration on Magento 2.1.11, I would like to display the following additional fields: address (required) mobile phone (required) ...
0
votes
1answer
450 views

How to add custom fields In manage products general tab?

I want to create some extra fields in catalog->manage product-> general tab section. give me some suggestion
5
votes
1answer
315 views

Magento2 Add legends between fields on customer form adminhtml (customer attributes)

I photoshoped what I want: I create a repo for that extension, so you can see all the code: https://github.com/slayerbleast/CustomerAttributes What I did: I added some customerAttributes: ...
0
votes
2answers
433 views

Adding New Field to Signup Form in Magento 2

I was added new field called "How did you get to know about us?" to my Signup From. using following code and it's appeared on Signup Page but when I signup that field doesn't show in the All customers ...
1
vote
0answers
57 views

Magento 2 How can i Change Sortorder in fornted order_view.xml in order_total

I want to change sorting order in order_total block in frontend order view page. can any one tell me how i can change sorting order.
2
votes
1answer
601 views

How to change field order in checkout and change label names

I need to change magento 2 checkout field order and rename existing input field labels in default shipping address form. How can I change field order in checkout page? I've tried from editing ...
2
votes
1answer
809 views

Magento2: Dependency in admin form field

I am trying to add field dependency on magento2. i follow this thread but its not working for me. I am not sure if i miss something. Here is code which i have implement. use Magento\Backend\Block\...