3

I enabled Gender and Date of Birth from Customer Configuration in back-end. Those fields are showing in registration page but I also want to add those fields in checkout page too where customer enters address information.

1

You need to create a module for the new field(s). I used this tutorial to add a date of birth field to my shipping step. The tutorial is for adding a custom field to shipping address but the basics are the same.

(One of the files he uses is missing in the tutorial but it is in the 'sample' that he links at the end)

To find out how to save the data i would like to refer you to this article:

Here

  • Hi, I've added a new field in checkout, but now, where a get this information to handle it? Can you help me with it? Thanks. – lpFranz Jul 18 '18 at 12:26
  • I added some info on saving in the last line of my answer ^ – Sanne Jul 18 '18 at 12:41

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.