- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2021
10:11 AM
06-04-2021
10:11 AM
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.
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2021
07:20 AM
06-05-2021
07:20 AM
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.
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2021
04:05 AM
06-29-2021
04:05 AM
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.