Add/Edit Address - Fields - Change Display Order

Posted: May 02, 2018 at 6:28 PM Quote #203899
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.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: May 14, 2018 at 12:13 PM Quote #204291
You can update this file: Shared/_CreateOrUpdateAddress.cshtml
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
http://www.pasalubongtreats.com - An online store for Philippine delicacies
http://www.callingmarket.com - Marketplace for US Wireless/Mobile Refills
Posted: May 14, 2018 at 10:17 PM Quote #204301
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.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
http://www.pasalubongtreats.com - An online store for Philippine delicacies
http://www.callingmarket.com - Marketplace for US Wireless/Mobile Refills
Posted: August 23, 2018 at 11:58 AM Quote #210973
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. :)
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
TW
NOP User, Not Developer :)
Posted: August 23, 2018 at 1:11 PM Quote #210975
I'm totally agree with Jack.
County list should be before state list as state list is depend on Country name.
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Up-vote the answer, if it helps you! :)


Thank You
Raju Paladiya
-------------------------------------------------------
Project Leader and senior nopCommerce Developer
nopAccelerate - Faster, Reliable & Scalable nopCommerce

http://www.nopAccelerate.com | http://www.xcellence-it.com
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2018
Learn more