Need to change shipping address layout on checkout page.
- Remove middle name to shipping address form.
- Display last name just after first name.
How i can remove middle name to shipping address form.
How to add put firstname and lastname input in new created because of I need to display last name just after firstname.
in short i need to it display in two column (firstname and lastname) like this
How can achieve task ? any have solve this ?
Best Answer
You could overwrite the template layout. This'll give you the most flexibility but may or may not have undesired consequences.
In the
shipping-address/form.html
knockout template there is this code:You can remove this and overwrite it with snippets as such:
This will require to you put in logic for each field, it will also make it difficult to have dynamic fields.