Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [custom-field]

The tag has no usage guidance.

2
votes
2answers
54 views

How to add custom checkbox with event in customer registration Magento 2?

I'm working on creating a custom checkbox with an event <div class="field tcagreecreateaccount required"> <div class="control"> <input type="checkbox" id="...
1
vote
1answer
54 views

How to add second field in registration form in Magento 2?

I added one attribute using this code but when I try to add another attribute then it is not working why? <?php namespace Icore\Module\Setup; use Magento\Customer\Model\Customer; use Magento\...
2
votes
1answer
29 views

How can I add State and Country attribute for customer in Admin, Magento2

I need to create State and Country attribute for customer registration and Admin. How can I Achieving State and Country field functionality in Admin under customer Account Information
5
votes
1answer
162 views

How to add a datepicker in magento 1.9 ( date picker within serialized_array)

app/code/local/Companyname/Deliverydate/Block/Adminhtml/Mappingdate.php <?php class Companyname_Deliverydate_Block_Adminhtml_Mappingdate extends ...
1
vote
0answers
32 views

Unable to create extension attribute for billing address in Magento 2

I have added custom field in magento checkout billing form, to get the value for field, I have added extension attribute <extension_attributes for="Magento\Quote\Api\Data\AddressInterface"> ...
1
vote
0answers
20 views

How to validate custom text field in magento checkout form

I have added custom checkout field in magento 2, and made it required, how can I add more validations and custom messages. Below is my code snippet to make it required: dataScope' => '...
2
votes
1answer
51 views

Magento 1.9 How to add custom field in checkout registration form

I have a question for my magento version 1.9.3.6, I create a module to add a custom field in Customer Registration Form and Checkout Registration Form. config.xml <?xml version="1.0"?> <...
1
vote
0answers
18 views

Admin form placeholder won't show

I dug up the "stack" and found one good example of how to add new attribute to the field but it won't work. $founderFieldset->addType('text', 'Amber_SupaSlid_Block_Adminhtml_Text'); $...
1
vote
0answers
26 views

Magento 2 How to Create Custom Checkout Step and Save its Value In Order [closed]

How to Create a custom checkout step with input field and save its value into the order table i want to only textbox field into the checkout. Thanks in Advance
2
votes
0answers
30 views

Magento 2 I have added the custom field in the product attributes field but that not get save value at edit time in product attributes form

I have add the custom text field at the stores->attributes>product in form field that save into database but when i return edit that attributes that value not set at the edit times. Here is the ...
1
vote
0answers
16 views

Magento 2: How to add array of input fields in admin panel?

I wanna display an array of input fields in Cart Prices Rules page under Condition's tab like this: I have a similar example which does this in stores/configuration section but I wanna achieve this ...
0
votes
0answers
31 views

Magento 1.9 CMS block custom field is not saving values

I already checked all similar posts but still don't know why it won't work for me. Manually added columns into the table "cms_block", also added all required fields in to the form.php and now in admin ...
0
votes
1answer
47 views

Magento 2 - add a custom input field below the cash on delivery radio button and save to quote_payment table

Need to add an input field below the Cash on delivery radio button. Implemented the code by this link where the input is added below COD radio but the value is not added to the database. Can anyone ...
0
votes
0answers
18 views

Magento 2 Add custom field (dropdown value) to CMS page

I want to add a dropdown value to CMS page, and I have found this link https://www.magevision.com/blog/post/add-custom-field-to-cms-page-magento-2/ about how to add a custom field to CMS page, and it ...
2
votes
2answers
206 views

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
15 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
15 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
68 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
256 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. ...
1
vote
0answers
16 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
151 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 ...
5
votes
1answer
196 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
29 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
50 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
158 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
147 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
110 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
316 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
1k 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
51 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
78 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
17 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
33 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
98 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
0answers
746 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
28 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
25 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
341 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
306 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
77 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
316 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
327 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
132 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
133 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
698 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
24 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
1k 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 ...
2
votes
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
780 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?