Questions tagged [custom-field]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
18 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
0
votes
0answers
15 views

My custom customer_address field is not copied customer address

I have created one custom checkout field in the checkout address form. I have successfully saved value in quote_address and sales_order_address both tables. But not save customer address Eav attribute ...
0
votes
0answers
18 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&...
0
votes
1answer
18 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.
0
votes
2answers
96 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 ...
0
votes
0answers
29 views

Add Cardholder Name to cc-form Custom Payment Method

Currently i have successfully implemented a custom payment method into Magento 2. However the cc-form build into Magento 2 does not include Cardholder Name or a similar field. As such I changed this ...
0
votes
0answers
24 views

Cannot create field in customer_form.xml with source model Magento\Eav\Model\Entity\Attribute\Source\Table

I'm trying to create additional tabs in adminhtml > customer > edit and have done so successfully. However, I'm trying to "move" a field from the "Account Information" tab to ...
0
votes
0answers
15 views

Magento 2 checkout custom field get carrier model

I have create custom field to checkout shipping address it working fine storing data in to database .I want get custom filed in fedex carrier model file How to show a custom attribute in the admin ...
1
vote
1answer
347 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=&...
0
votes
0answers
36 views

PDF file upload as Category Attribute in admin category page? -magento2

Plz Help Me For this i want to create Attibute For Category Which Is Pdf File Upload And Render In Frontend Side.
0
votes
1answer
61 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 ...
0
votes
1answer
218 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 ...
0
votes
0answers
73 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 ...
0
votes
1answer
121 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 ...
0
votes
1answer
57 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\...
0
votes
1answer
71 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"> ...
0
votes
1answer
41 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 ...
0
votes
1answer
47 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 ...
0
votes
0answers
23 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.
0
votes
1answer
102 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 ...
0
votes
0answers
35 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 ...
0
votes
1answer
32 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?
1
vote
0answers
138 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 ...
2
votes
4answers
2k 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
95 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
1answer
734 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?
0
votes
1answer
88 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', ...
2
votes
3answers
2k 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
2k 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
1k 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
32 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 ...
1
vote
2answers
5k 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
14 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
195 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
666 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
53 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
255 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
1
vote
0answers
108 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
392 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
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 ...
0
votes
1answer
157 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
653 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
532 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 ...
2
votes
3answers
1k 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
849 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
1k 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
444 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
385 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
2k 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
258 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" ...