Questions tagged [custom-field]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
56 views

Magento 2 How to create Custom Field on Customer Address form and save it's value

I want to create custom field on Customer address form as per below screenshot currently I create field but did not save it's value. I have create field using three point: Create Customer_address ...
Keval Chauhan's user avatar
0 votes
0 answers
52 views

Display Latitude and Longitude in billing and shipping address and display value on admin panel order section

Add new fields(Latitude, Longitude) in billing address and shipping address and display both custom fields and it's value on following sections: Admin Order Section Order notification and email ...
Deep Shah's user avatar
  • 525
0 votes
3 answers
54 views

How to persist the value of a custom field on the customer_entity table?

I'm new to Magento 2 and to this forum. I'm trying to add a newsletter subscription on the customer menu, just after the core one. For that, i created a module "ACME_Newsletter" I added a ...
jlegrand79's user avatar
0 votes
0 answers
34 views

Magento 2 -custom field Product Price in admin

how can create new field sku,price,sale price and a button update price dynamically, admin have option set and update price dynamically. i have tried below code etc/adminhtml/system.xml.? help me how ...
Irshad Magento's user avatar
0 votes
0 answers
138 views

Magento2 admin , how can create new custom product field "sku,"price", "sale price" and a button for "update price" dynamically

I want when admin select custom field product sku, able to Change price, sale price and a button for update price dynamically. I created only field by etc/adminhtml/system.xml but unable to its ...
Ahmad Magento player's user avatar
0 votes
0 answers
17 views

How to save custom field data of Add New Terms and Condition backend form in checkout_agreement table in magento 2?

I have added a new custom field in backend (Stores->Terms & Condition->Add New Condition) default Add New or Edit Terms and Condition form.Also added a new field in checkout_agreement table....
Niharika's user avatar
0 votes
1 answer
119 views

How to add a product chooser to a Magento 2 widget

I want to add product chooser field like this I am using this code but its not working anyone please help me. helper = $helper; $this->_allProducts = $allProducts; $this->...
Arun Suryavanshi's user avatar
0 votes
0 answers
25 views

How can we add magento pagebuider for any textarea field in system.xml i.e for store->configuration->tab->field?

I want to add magento page builder for my custom textarea field in system.xml
Niharika's user avatar
1 vote
2 answers
378 views

Inventory Stock item

I am trying to add a custom field to the MSI source item. Please check the following screenshot- I have overwrite product_form.xml in app/Vendor/Module/view/adminhtml/ui_component/product_form.xml as ...
SANDIP BHOSALE's user avatar
0 votes
1 answer
176 views

Magento 2 How to validate newly added field in cart price rule

I have added a new field in the Cart Price Rule form as below. I have saved the value in the table as a new column <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi=&...
Jancy Abraham's user avatar
0 votes
1 answer
97 views

Mandatory custom field in the payment choice process

I'm trying to add a checkbox in the payment selection process. The checkbox appears correctly. I can't get it to be handled as mandatory. What am I doing wrong? This is my code: $jsLayout['components']...
Roberto Torresani's user avatar
1 vote
0 answers
101 views

how to add product comments in product display page and save in database?

I want to add product comment options in PDP and save that in database and pull back and show that in shopping cart page. How can I do it?
Mohmad Ashik M A's user avatar
0 votes
2 answers
411 views

How can I hide fields "from" and "to" if I choose "no" in the select field?

I have three custom attributes in the edit product page. I need hide fields "From" and "To" if choose value "No" in the select and vice versa. How can I do it? Thanks ...
Матвей Бойко's user avatar
0 votes
1 answer
92 views

how to create a custom field and save in custom tab in order view magento 2

I want to create a custom field in the custom tab in order view the below comments and save the value and also add in user role permission only admin see and add the value here Magento 2
AWAIS BIN AHMED's user avatar
1 vote
0 answers
1k views

Magento 2: Get custom field value from checkout in observer

I have created a custom field on checkout before shipping method like this: etc/di.xml : <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&...
mechanic's user avatar
  • 350
0 votes
1 answer
288 views

Set expiration date for customer passwords

I want to create a new field in Stores -> Customers -> Customer Configuration -> Password Options for expiration in days for customer password.
Edgar López's user avatar
2 votes
2 answers
990 views

Get selected country id and region name in class LayoutProcessor of custom module

I have a custom module app/code/Learning/FirstUnit/ and in that i have LayoutProcessor.php file in app/code/Learning/FirstUnit/Plugin. Please see the below code in LayoutProcessor.php <?php ...
Abilash Erikson's user avatar
1 vote
2 answers
2k views

Magento 2.4 Custom Field in Shipping Address Not Saving in database

I am trying to add a custom field in shipping information however the field is not stored in address_quote table where I have created the column. Can someone guide me through? di.xml <?xml version=&...
Dexter's user avatar
  • 3,593
0 votes
1 answer
101 views

how to add multi store functionality

i am using Magento 2 , and in my case i have added the ui_components fields , it works fine , but the value entered is applicable to all store view , i want to add multi-store functionality to those ...
magentoAff's user avatar
0 votes
1 answer
1k views

How to get custom field values from quote table in observer?

I have added a custom field in checkout form and saved that values in quote table. And also displayed in the backend in order details. Now I want to send that custom field value in email. I have used ...
Rishi Saravadaa's user avatar
0 votes
0 answers
280 views

Adding a new field to one page checkout

I have a special field (Customer reference no, field id = cus_ref_no) that i need to add to checkout. it is not related to shipping and billing. I have been following the answer from here, but for ...
Marguerita's user avatar
0 votes
1 answer
290 views

Magento2.3.5 New Column to cms page store with declarative Schemas no saving

I have added a new column with declarative schema found here: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/declarative-schema/db-schema.html Is all added to the table cms_page_store and ...
Juliano Vargas's user avatar
0 votes
1 answer
287 views

Cannot instantiate interface Company\Module\Api\Quote\Data\AddressInterface

Iam using Magento 2.3.5-p2. I add custom field in the cart and checkout page which is successfully showing there. In app\code\Company\Module\etc\di.xml <preference for="Magento\Quote\Api\Data\...
Wakanina's user avatar
  • 764
0 votes
1 answer
223 views

how to upload image in custom from in magento 2.4

How to upload image array in custom from in Magento 2.4 <div class="file-item-container mb-2"> <div class="row"> ...
Ravindrasinh Zala's user avatar
0 votes
1 answer
216 views

How to get custom admin field value of specific Storeview in magento 2.3.2

I want to add a custom text area for contact info for a particular store view from configuration and get that custom field value and display it on the contact us page in Magento 2.3.2. so can anyone ...
Deep Shah's user avatar
  • 525
0 votes
2 answers
679 views

How can I update a custom addres field from quote addres to sales order address when creating a multishipping order

I have inserted custom address fields in quote address trough fielset.xml successfully but it is not working for sales order address, it is not filling custom fields on database. This is when using ...
marcolesh's user avatar
0 votes
0 answers
58 views

How to use custom fields of category in static blocks, magento 2.3.5

I want to add a custom attribute for category, then use that custom attribute value in a static block and call that static block in a phml file of custom theme file.
Raju's user avatar
  • 1
0 votes
1 answer
575 views

How to add field value while creating a simple product Programmatically in Magento 2?

I have successfully created simple product Programmatically using magento 2. But i have created a filed in back end and add that in product but how to fill that data when creating a product. I have ...
Prits's user avatar
  • 626
0 votes
0 answers
154 views

Magento 2 custom field not exists in request

I have added a custom row builder using phtml (template) to product creation form. However, when I submit the form, it does not send my custom input values to the server. my phtml file is like the ...
Mahdi's user avatar
  • 13
0 votes
1 answer
128 views

Module to Add/Manage Custom Fields?

Is there a Magento2 module similar to Wordpress' Advanced Custom Fields that allows admins to add and manage custom fields to CMS and other pages through the GUI?
Sam's user avatar
  • 163
1 vote
1 answer
252 views

Magento2.3.5 Custom checkout field custom validation Amazon Error

I have a custom field and customScope added with LayoutProcessor which works fine! But I need to add custom validation stop submission if my custom doesn't meet the requirements : Is just trowing ...
Juliano Vargas's user avatar
2 votes
5 answers
5k views

How to add new custom fields in existing GraphQL API (Query and Mutuation)?

I have basic knowledge about GraphQL. Now, I would like to convert my knowledge into action. For that, I want to know about few things like how can I add my custom field to any GraphQL Query and ...
Pratik Navapara's user avatar
2 votes
1 answer
451 views

Magento 2 custom form in shipping address before-form not validating for registered customers

I have added a custom form in the shipping address before-form handle. This form is validating for a guest checkout process but not working for logged in customers who have already added address ...
Radhu's user avatar
  • 159
0 votes
1 answer
1k views

Magento2 - How to save custom field under admin_user table in database?

I have created a custom field in admin user creation form ,how to save that field in admin_user table in Magento2?
Jothi Subramanian's user avatar
0 votes
1 answer
224 views

Magento 2 admin fieldset form input float issue

I have created admin form with fieldsets. The issue is it isn't accepting float values and rounding them to integer values. $fieldset->addField( 'free_over', 'text', ...
Arsalan Ul Haq's user avatar
2 votes
3 answers
3k views

How to display custom field into admin order view page?

I created reward_point in the sales_order table, whenever someone purchased a few points stored in that field. Now I need to display that point into the admin order view page, I already override ...
Sagar Parikh's user avatar
3 votes
1 answer
3k views

How to add Custom Field at Product Edit/Save Page?

I want to add Custom Field at Product Edit Page(Admin Side) like related/upsell/crosssell product i want to add Custom Products for it, found much similar solution but it's not working at all,If you ...
Yash Panchal's user avatar
1 vote
1 answer
2k views

How to add custom button under the phone number field in one page checkout in Magento 2?

I need to add a button under the phone number filed in the shipping address section in a one-page checkout and the button should be visible only when the user enters the phone number. Based on the ...
Arul's user avatar
  • 309
0 votes
0 answers
189 views

How to add a custom text field inside product edit page?

I want to add a text field which would actually store a link to my vendors' product URL. It will be used by management only and should not be visible to customers. How to do that? I am using Magento ...
W.M.'s user avatar
  • 101
1 vote
2 answers
7k views

Magento 2 : Add custom block in ui form field

I want to call custom block to call my custom .phtml in ui-form field. How to do that? My form field : <field name="title"> <argument name="data" xsi:type="array"> <item ...
Niket's user avatar
  • 157
1 vote
0 answers
25 views

Magento 2 layoutprocessor checkout

Is it possible to show the custom field for guest users instead for all users. I gave created a custom field using layoutprocessor
Jack Brooks's user avatar
1 vote
1 answer
348 views

Magento 2 : Label not display after add field with custom type

In admin form, I created custom field type and then, add html content by custom phtml file. But, after that label not display with custom field type. Custom Field Type : $fieldset->addType( '...
Niket's user avatar
  • 157
0 votes
1 answer
1k views

Magento 2 custom module ui component admin form add fieldset within a field

Can one have a Fieldset within a field ?. E.G: <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
Juliano Vargas's user avatar
1 vote
1 answer
61 views

How to Remove Zipcode, State and Company from Magento 2.3

As per the title, you can realize that its a very old and repetitive question, but actually I could not find a solid answer !! I want your help (step by step) how to "remove/disable" the Zipcode &...
mohammad ramadan's user avatar
0 votes
1 answer
441 views

Magento 2: import product with many other data fields

I want to import many products with many custom fields. How can I do that, I hope anyone helps me, Thank in advance. Here is notice when I import product with many custom field
MichaelHa's user avatar
  • 671
1 vote
0 answers
201 views

Magento 2 WYSIWYG in repeater field

I am trying to make a (very simplified) page builder for just the homepage in Magento 2.3. I figured out how to build a repeating field from a serialized array, like this : <field ...
Litsher - Nathan's user avatar
1 vote
0 answers
602 views

Magento 2.3.2 Invalid entity_type specified: Magento\Quote\Api\Data\AddressInterface on checkout

I have created a custom select field on the checkout address form. a field is displayed fine but when clicking on next button getting error "Invalid entity_type specified: Magento\Quote\Api\Data\...
Chirag Patel's user avatar
  • 6,076
0 votes
0 answers
19 views

Custom Fields Best Practise

I'm very new to Magento development, but i've migrated over from wordpress development. One of the things I love most about wordpress development is how easy it is to make almost everything on the ...
S_R's user avatar
  • 101
0 votes
1 answer
549 views

How to create a custom system field in magento 1?

Magento 1.9 I want to create a new tab in System > Configuration. In this tab, I need a group tab and in this group tab i want a textarea which is connected to a field of my database. If i edit my ...
Theo Cerutti's user avatar
1 vote
2 answers
1k views

In magento 2, how to edit the uploaded image field

In magento 2, how to edit the uploaded image field I follow this blog https://blog.qaisarsatti.com/magento_2/magento-2-ui-component-image-upload/ ui-component <field name="promo_image"> ...
Divya Sekar's user avatar
  • 1,441