cancel
Showing results for 
Search instead for 
Did you mean: 

how to add custom customer attribute's field to the checkout page?

how to add custom customer attribute's field to the checkout page?

It should also be persisted on guest checkout, bellow email field and displayed in admin checkout.

I've found some tutorials about customer_address_entity's custom attributes,but I need to add attribute to customer_entity.

 

 

2 REPLIES 2

Re: how to add custom customer attribute's field to the checkout page?

Hello @davidztabadaa2 

 

https://github.com/danielmagestore/magento2-customer-attributes
https://github.com/Technogex/customer-attribute


Did you try this module?

Was my answer helpful? You can accept it as a solution.
175+ professional extensions for M1 & M2 with free lifetime updates!

Re: how to add custom customer attribute's field to the checkout page?

Add the field to layout. Add a JS mixin to modify data submission. Load your mixin. Add the field to address model. Access the value of the custom field on server side.