Magento-2 customer address Gender Prefix – Mr.;Mrs. field display by default as drop-down ,but I want to display it as radio button in customer address form like checkout shipping, billing address, customer registration.
Anyone have done this ?
checkoutcustomer-addressmagento2
Magento-2 customer address Gender Prefix – Mr.;Mrs. field display by default as drop-down ,but I want to display it as radio button in customer address form like checkout shipping, billing address, customer registration.
Anyone have done this ?
Best Answer
Create a gender.phtml file under
and add the following code:
This will display the gender field in Customer Registration and in customer's account Edit Account Information as radio. Hope that helps!