I want to swap the order of the first name and last name fields on the account creation page.

screenshot create new customer account

I would like to provide input fields tailored to Japanese. Please tell me if you know how to do it.

  • Don't understand. What do you want? please explain – Amit Bera Jul 12 '18 at 4:09
  • I would like to change the order of input fieald the first name and the last name. – mr.hironobu Jul 12 '18 at 4:22

As you want to change the order of entering the first name and the last name to the account creation page, So you have to do some changes at the template(.phtml) level.

First, let you know that Magento manages the position of first and last name statically at the code level for this form.See at view/frontend/templates/widget/name.phtml.

From this phtml code, hope you will understand by change code position you easily swipe the positions

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.