cancel
Showing results for 
Search instead for 
Did you mean: 

Change the order for the "State/Province" and "Country" fields to select the country first

Change the order for the "State/Province" and "Country" fields to select the country first

Hi everyone,

 


In most of the pages in Magento, we can find the "State/Province" before the "Country" field. Since the "State/Province" depends on the country, that is confusing since the customer has go to next field and select the country, and then go back to the previous field and select the state/province.

 

This is not correct in the most important page in the storefront, the onepage checkout:

 

Screen Shot 2017-01-10 at 11.28.04 AM.png

 

And you can also see the wrong order in some pages of the admin panel:

 

Screen Shot 2017-01-10 at 11.24.44 AM.png

 

In other pages, like the shopping cart page, the order is correct:

Screen Shot 2017-01-10 at 11.27.49 AM.png

 

It would be better if the country can be selected first, then the state/province and finally the ZIP/Postal Code (just like the shopping cart page).

 

12 Comments
Gabriel Guarino
Moderator

@erfanimani: Thanks for your overview and for describing what you found in the core and database.

 

I also agree with the latest comments from this topic, following @beejhuff seems to be the right solution.

theMageComp
Trusted Contributor

Magento1 and Magento 2 , there is one functoinaltiy called top destination to select in country option.

Selected countries in this option, will show those countries on top in dropdown.

https://docs.magento.com/m2/ce/user_guide/images/images/config-general-general-country-options.png