Questions tagged [custom-field]

The tag has no usage guidance.

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

How to use and save custom order item field/attribute

I have created a custom field (customer_sku) in sales_order_item, sales_invoice_item, sales_shipment_item and quote_item. How can I add this field to the complete order process? Thx, Christian
0
votes
0answers
14 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 ...
0
votes
0answers
25 views

Magento 2.3 - How to save customer address custom field in order and also sent on the order emails?

I have a custom field in customer address, that I want to: 1. Be available in Checkout Shipping/Billing 2. Get saved on Order 3. Be available as a parameter for email templates I have managed to ...
1
vote
2answers
61 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 ...
1
vote
0answers
20 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 ...
0
votes
0answers
13 views

Magento Payflow pro: add a new field in request

We have Payflow pro-integration. We enabled Magento to debug mode and from the log, the requests we send to PayPal don't include a PHONENUM field. Phone number is mandatory in our customer form, is ...
0
votes
1answer
106 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?
1
vote
1answer
21 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', ...
0
votes
0answers
85 views

Add Custom Field in Registration Form as “Personal Information”, not as Additional

I followed the "standard" procedure to add custom field, like these: How to Add New Fields on Registration page in magento2? (NOT valid, explation below) Magento 2.3 - How to Add New Fields on ...
2
votes
2answers
175 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 ...
3
votes
1answer
140 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 ...
1
vote
1answer
256 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 ...
0
votes
0answers
51 views

Magento 2 How to add the house number text field above the address on the checkout page and display in order in admin

I want to create the Flat/House number text field on the checkout page and it should be display in admin also, in Order section and as well as on invoice. Kindly share code if anyone have. Thank in ...
0
votes
0answers
26 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 ...
0
votes
0answers
42 views

Magento 2 custom checkbox in checkout

I have created a custom checkbox on checkout page using layout processor. Now I want to save its value in db and then retrieve in sales order admin view. Please help. screenshot=> https://nimb.ws/...
0
votes
0answers
154 views

Magento 2 : How to add field in customer group create / edit form in backend?

I wish to add custom field (boolean value select) to customer group form in backend. I have created below plugin for that, Field is added to form, but its not reflecting value in edit form, neither ...
0
votes
0answers
10 views

Created a custom field in Product Edit Form via UI Component, Need a clear answer as to how to save value to database, and call value on front end

I figured out how to create a module. And I figured out how to add a custom field to product edit form per https://devdocs.magento.com/guides/v2.3/howdoi/customize-form-configuration.html This is ...
1
vote
2answers
1k 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 ...
1
vote
0answers
11 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
1
vote
1answer
100 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( '...
0
votes
1answer
283 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:...
1
vote
1answer
40 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 &...
0
votes
1answer
81 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
0
votes
0answers
46 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 ...
1
vote
0answers
83 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\...
0
votes
0answers
16 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 ...
0
votes
0answers
25 views

How to add custom fields to the registration form?

Any resources, tutorials on how to add custom fields to the registration form and have them emailed along with the new registration?
0
votes
1answer
44 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 ...
1
vote
2answers
254 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"> ...
1
vote
0answers
277 views

Magento 2 data migration errors how to solve

We have installed migration tool in the Magento 2.3.1 EE (composer require magento/data-migration-tool:2.3.1 ) would like migrate M1 commerce edition (1.14.3.1) to Magento 2.3.1 EE. When we execute ...
0
votes
0answers
78 views

Magento2 How to query value in catalog_eav_attribute?

I've added a new value in catalog_eav_attribute, similar to Use for Promo Rule Conditions or Used in Product Listing. How do I call that property of the attribute in a phtml view template? For ...
1
vote
1answer
439 views

Magento 2 Add Custom fields to Bundle Product add options

want to do this I have followed similar (Magento 2 add new custom option text field) topic but it's about custom options for simple products. Somebody in commets say's that he achieved this for ...
0
votes
1answer
402 views

Magento 2 Load database value to custom field in product attribute

I am adding a custom field to product attributes with a plugin providing the adminhtml display. I have it visible in Store -> Attributes -> Product -> Edit attribute and it works okay to save, but ...
2
votes
1answer
369 views

How to Modify Discount amount of cart price rule on cart page in magento 2

I would like to modify Discount Amount of cart price rule on the cart page. Actually Magento apply rule using class Magento\SalesRule\Model\RulesApplier and function is protected function ...
2
votes
1answer
285 views

Magento 2 WYSIWYG field in custom admin form

I'm trying to add some fiels dynamically with Ui interface in a custom admin form. in order_ticket_form.xml <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/...
3
votes
2answers
110 views

How to add a div in summary magento 2

I need to add a div inside the summary section. please guide me how to achieve the expected result. Also please check with below image to view summary section. Thanks
3
votes
1answer
681 views

Magento 2 Export CSV on Sales Order Grid with Custom Fields

I succesfully added some custom fields on Sales Order Grid. If I export "Excel XML" is working fine but with "CSV" custom fields are blank. I have compared the following files: Magento\Ui\Model\...
4
votes
3answers
83 views

Magento2 : How to add new text field in Store->Configuration->General->store Email Address?

Its being created under System->Config->General->Customers: <code> <config> <system> <section id="trade_customer" translate="label" type="text" sortOrder="100" ...
2
votes
0answers
40 views

How to create system configuration for fileds of the custom table which is imports that fields using csv via import in admin configuration? Magento2.3 [closed]

I have created the module to import CSV to a custom table. the columns of table should dynamically be added to the import.xml and not by code to import the CSV and not by code.in Magento 2 for example,...
0
votes
1answer
1k views

Magento2: How can I add custom Drop down field in registration form

I want to add a drop down field (Account type) and get this value in admin just like other fields values. How can I add custom field in registration form
1
vote
0answers
85 views

Override category H1 with custom attribute - Magento 2

I would like to create a new field for category pages which I can use to override the default H1 on front-end. Currently if have a category called 'Stuff', my breadcrumb is 'Stuff' and my H1 is '...
2
votes
1answer
70 views

Save value of custom field in minicart to order Magento 2

I have added one field "Special instructions" (textarea) in mini cart which I want to get saved in order details when customer put the order. In which observer can I get the value of this field? and ...
1
vote
0answers
78 views

Add new column in Category Product Grid

I need to add additional information to the catalog_category_product table. This information is to be entered and saved in the category product grid, in a column similar to Position. Task I've ...
0
votes
2answers
40 views

how to i add custom field in checkout page magento 2

I want to add a custom field in the checkout page Magento 2 how I will add and also store that field values anyone could help?
4
votes
1answer
603 views

How to add datepicker field in Checkout?

I want to add a date picker field into the checkout page but I have no idea where to start. I have tried this Add date picker in checkout page but it's not working for me. We are having the below ...
1
vote
3answers
168 views

How to save advance inventory custom field value in db in Magento 2

How to save advance inventory custom field value in DB on Magento 2 events.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
1answer
174 views

Magento 2: Image Field Checkbox Not Working

I'm new to Magento, i have a image field, when i upload image and edit it, like next time i want to remove the uploaded image, i checked the checkbox and hit the save button, but image do not delete, ...
1
vote
0answers
26 views

How to save Custom Order attribute when inputting via cart?

I have created a custom order field using the below code: <?php require_once('app/Mage.php'); Mage::app()->setCurrentStore(Mage::getModel('core/store')- >load(Mage_Core_Model_App::...
1
vote
0answers
89 views

How to add new custom field in checkout/shipping page and save it in db in Magento2.2.5?

I want to add new custom field in checkout/shipping and want to save them in the following tables in Magento 2.2.5: sales_order sales_order_address sales_order_grid I have referred this link https://...
2
votes
2answers
894 views

How to add custom field in registration form and add jquery validation in Magento2.2.5?

How to add custom field in registration form and save in database and add jquery validation in Magento2.2.5? Any help would be appreciated