Questions tagged [custom-field]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
32 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
20 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
34 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
34 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
18 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 ...
0
votes
0answers
24 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
15 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
23 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
26 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
216 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
68 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
29 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 ...
0
votes
0answers
83 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
56 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
58 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
49 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
84 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
133 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
50 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
28 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
2answers
199 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
0
votes
0answers
28 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 '...
4
votes
1answer
55 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
42 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
32 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?
3
votes
1answer
257 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
2answers
62 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
67 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
13 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
40 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
230 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
2
votes
5answers
206 views

How to add custom css and js file in Magento 2?

I want to add my custom css and js files in my catalog page. Please let me know how to add in header. I added catalog_product_view.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3....
0
votes
0answers
21 views

Magento 1.9 add custom field to multiple templates

I have a custom field that I would like to add to all areas in the admin panel where you can change the quantity of a product. I currently am of the impression that I have to rewrite each template ...
0
votes
1answer
236 views

Magento 2 - Add extra column to shipping methods

I have a custom shipping method. By default, the Shipping Methods show 3 columns - Price, Method and Carrier. I want to add another column that shows the estimated time of delivery. How can I ...
2
votes
2answers
374 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
94 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
88 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
250 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
108 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
22 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
220 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
25 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
32 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
32 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
101 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
52 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
219 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
35 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
730 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
34 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.