Magento – Magento2 checkout page add custom text field

checkoutcustom-fieldmagento2

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?

Best Answer

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

Related Topic