0

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 fields and save them in db?

2 Answers 2

1

For Custom attribute you needto use layoutprocessor and custom extension attribute.

Here is the good example, you can use it.

https://github.com/dckapblog/Custom-field-in-checkout-page

1
  • Not working in Magento 2.4.* May 20, 2021 at 8:47
0

I followed this tutorial and its worked for me.

https://webkul.com/blog/add-custom-field-checkout-address-form-magento2/

8

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.