Add/Edit Address - Fields - Change Display Order

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Whenever Customers Add/Edit any Address, the address fields are displayed in the following order:

  Country:
  State/province:
  City:
  Address 1:
  Address 2:
  Zip/Postal Code:

How can I change/customize that order?
How can I display the fields in a STANDARD way like:

  Address 1:
  Address 2:
  City:
  State/province:
  Zip/PostalCode:
  Country:
  
  
Note: We are using nopCommerce (no-source-code version) ver 4.0 so changes must be done within the cshtml pages.
5 years ago
You can update this file: Shared/_CreateOrUpdateAddress.cshtml
5 years ago
I failed to mention that it would be better to make a copy of the file and put it inside the theme folder \shared so you don't touch the main file.
5 years ago
I was also looking into this, but I didnt consider the fact that the country is entered first from a drop down list. and the state is dependent on the countries drop down list.
Example; Choose USA
Then all the states for usa are in the state drop down list. If you didnt choose a country prior to the state/province... The list dont drop down. Its stuck at Select Something

Therefore you need the country field to be listed before the state.
Just to save some people the time to figure that one out themselves. :)
5 years ago
I'm totally agree with Jack.
County list should be before state list as state list is depend on Country name.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.