1

I created a new field example in the checkout shipping. enter image description here

label example I can check in the table eav_attribte like the below images.

enter image description here

But in which table I can check it's Input value if I put a value Test for the field example

1

Depends entirely on the setup of your extension

See here for example

https://github.com/DominicWatts/OrderComment

I add an attribute but also I add a column to the sales order grid and the value set at checkout is transferred

This process is quite involved. Try to understand as much as you can from my extension. See setup and observer event.

Once the value is in the order grid table you can filter, search and associate to an order a lot eaiser. Which means loading it via block logic for example is more logical.

| improve this answer | |
  • awesome, working for me ... can you guys please guide me step wise how can understand and make this module.? – irshad Dec 9 '19 at 7:36
1

When you add any custom field in Checkout Page need to add data in mainly two tables.

  • quote

  • sales_order

For more understanding download module from GitHub and make changes as per requirements.

Magento2 Checkout Custom Form

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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