0

we have requirement to change order of address fields like below at back-end order.

Sort Order should be like below:

  • Street Address
  • Country
  • State/Province
  • City
  • Zip/Postal Code
  • Phone Number

Default/current address fields order is like below attached screen-shot enter image description here

  • @Dhiren Vasoya : Do you have any solution for same? if you know any solution then please post here. Thanks! – Pramod Kharade Jan 29 '18 at 13:25
1

On magento 2, you can override the Magento/Customer template. In our case, we have a custom copy of a Cleversoft theme so most of our overrides are done in the app/design/frontend file space.

In our case, we created the following directory heirarchy:

app/design/frontend/Cleversoft/custom/Magento_Customer/templates/address/

then copy the file from vendor/magento/module-customer/view/frontend/templates/address/edit.phtml into that folder. Edit the order and re-build. (magento setup:upgrade && magento setup:di:compile && magento setup:static-content:deploy)

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.