[Skip to main content](#vessel-content)

#   Resolved:address fields displayed in wrong order

##

- **[apropos](/forum/user/7089-apropos "View apropos's Profile")**
- [![apropos's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7089-apropos "View apropos's Profile") Topic Author
- [ Offline](/forum/user/7089-apropos)

Less More

- Posts: 4
- Thank you received: 0
-
-

14 years 7 months ago -  14 years 7 months ago [\#47747](#47747) by [apropos](/forum/user/7089-apropos "View apropos's Profile")  *[Resolved:address fields displayed in wrong order](/forum/4-how-to/47747-resolved-address-fields-displayed-in-wrong-order#47747 "I had most things working correctly, then did something (and I don't know what) that screwed up display of my shipping and billing addresses in the checkout process. Now, instead of seeing: Name Street Address City, State Zip  I'm seeing: Name Street Address Zip City State  I tried ordering the custom fields but that seemed only to drive the popup display for adding an address.  Also - I want to display the State Abbreviation (defined in the 3 char code field) rather than the state name and would prefer not to see the Country (Default is US and our organization wouldn't be shipping outside of the US). What is the best way to do this?  Update: I got this working - found a similar post and followed instructions to edit appropriate address&#95;template files.")* was created by *[apropos](/forum/user/7089-apropos "View apropos's Profile")*

I had most things working correctly, then did something (and I don't know what) that screwed up display of my shipping and billing addresses in the checkout process. Now, instead of seeing:
Name
Street Address
City, State
Zip

I'm seeing:
Name
Street Address
Zip City
State

I tried ordering the custom fields but that seemed only to drive the popup display for adding an address.

Also - I want to display the State Abbreviation (defined in the 3 char code field) rather than the state name and would prefer not to see the Country (Default is US and our organization wouldn't be shipping outside of the US). What is the best way to do this?

Update: I got this working - found a similar post and followed instructions to edit appropriate address_template files.

Last edit: 14 years 7 months ago by [apropos](/forum/user/7089-apropos "View apropos's Profile"). Reason: problem resolved

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ3NzQ3LXJlc29sdmVkLWFkZHJlc3MtZmllbGRzLWRpc3BsYXllZC1pbi13cm9uZy1vcmRlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86581
- Thank you received: 14322
-
-

14 years 7 months ago [\#47850](#47850) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Resolved:address fields displayed in wrong order](/forum/4-how-to/47747-resolved-address-fields-displayed-in-wrong-order#47850 "I had most things working correctly, then did something (and I don't know what) that screwed up display of my shipping and billing addresses in the checkout process. Now, instead of seeing: Name Street Address City, State Zip  I'm seeing: Name Street Address Zip City State  I tried ordering the custom fields but that seemed only to drive the popup display for adding an address.  Also - I want to display the State Abbreviation (defined in the 3 char code field) rather than the state name and would prefer not to see the Country (Default is US and our organization wouldn't be shipping outside of the US). What is the best way to do this?  Update: I got this working - found a similar post and followed instructions to edit appropriate address&#95;template files.")*

You won't be able to change the display to have 3 letter codes instead of the name.

The country can be hidden easily with CSS:
\#address_country{ display: none; }

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ3NzQ3LXJlc29sdmVkLWFkZHJlc3MtZmllbGRzLWRpc3BsYXllZC1pbi13cm9uZy1vcmRlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[gkm](/forum/user/30064-gkm "View gkm's Profile")**
- [![gkm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30064-gkm "View gkm's Profile")
- [ Offline](/forum/user/30064-gkm)

Less More

- Posts: 21
- Thank you received: 0
-
-

9 years 4 months ago [\#273757](#273757) by [gkm](/forum/user/30064-gkm "View gkm's Profile")  Replied by *[gkm](/forum/user/30064-gkm "View gkm's Profile")* on topic *[Re: Resolved:address fields displayed in wrong order](/forum/4-how-to/47747-resolved-address-fields-displayed-in-wrong-order#273757 "I had most things working correctly, then did something (and I don't know what) that screwed up display of my shipping and billing addresses in the checkout process. Now, instead of seeing: Name Street Address City, State Zip  I'm seeing: Name Street Address Zip City State  I tried ordering the custom fields but that seemed only to drive the popup display for adding an address.  Also - I want to display the State Abbreviation (defined in the 3 char code field) rather than the state name and would prefer not to see the Country (Default is US and our organization wouldn't be shipping outside of the US). What is the best way to do this?  Update: I got this working - found a similar post and followed instructions to edit appropriate address&#95;template files.")*

Hello Nicolas,
Is the use of the abbreviation of the State in the address possible with HS3?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ3NzQ3LXJlc29sdmVkLWFkZHJlc3MtZmllbGRzLWRpc3BsYXllZC1pbi13cm9uZy1vcmRlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86581
- Thank you received: 14322
-
-

9 years 4 months ago [\#273759](#273759) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Resolved:address fields displayed in wrong order](/forum/4-how-to/47747-resolved-address-fields-displayed-in-wrong-order#273759 "I had most things working correctly, then did something (and I don't know what) that screwed up display of my shipping and billing addresses in the checkout process. Now, instead of seeing: Name Street Address City, State Zip  I'm seeing: Name Street Address Zip City State  I tried ordering the custom fields but that seemed only to drive the popup display for adding an address.  Also - I want to display the State Abbreviation (defined in the 3 char code field) rather than the state name and would prefer not to see the Country (Default is US and our organization wouldn't be shipping outside of the US). What is the best way to do this?  Update: I got this working - found a similar post and followed instructions to edit appropriate address&#95;template files.")*

Hi,

I see two ways to do it:

- The simplest is to change the name of the states via the menu System&gt;Zones to have your 3 letters code as the name in the dropdown and that will also be used in the address display.

- The more complex method allows you to keep the name in the dropdown but use the 3 letters code in the address. This requires modifying the setting "address format" in the HikaShop configuration with some custom PHP code.
Here is a thread about that: [ www.hikashop.com/forum/4-how-to/882610-2...r-us-state-code.html](https://www.hikashop.com/forum/4-how-to/882610-2-letter-us-state-code.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ3NzQ3LXJlc29sdmVkLWFkZHJlc3MtZmllbGRzLWRpc3BsYXllZC1pbi13cm9uZy1vcmRlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[gkm](/forum/user/30064-gkm "View gkm's Profile")**
- [![gkm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30064-gkm "View gkm's Profile")
- [ Offline](/forum/user/30064-gkm)

Less More

- Posts: 21
- Thank you received: 0
-
-

9 years 4 months ago [\#273853](#273853) by [gkm](/forum/user/30064-gkm "View gkm's Profile")  Replied by *[gkm](/forum/user/30064-gkm "View gkm's Profile")* on topic *[Re: Resolved:address fields displayed in wrong order](/forum/4-how-to/47747-resolved-address-fields-displayed-in-wrong-order#273853 "I had most things working correctly, then did something (and I don't know what) that screwed up display of my shipping and billing addresses in the checkout process. Now, instead of seeing: Name Street Address City, State Zip  I'm seeing: Name Street Address Zip City State  I tried ordering the custom fields but that seemed only to drive the popup display for adding an address.  Also - I want to display the State Abbreviation (defined in the 3 char code field) rather than the state name and would prefer not to see the Country (Default is US and our organization wouldn't be shipping outside of the US). What is the best way to do this?  Update: I got this working - found a similar post and followed instructions to edit appropriate address&#95;template files.")*

Thanks Nicolas. I looked in Zones but I don't have any drop down menu allowing for editing.
In your second option, which view do I modify please?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ3NzQ3LXJlc29sdmVkLWFkZHJlc3MtZmllbGRzLWRpc3BsYXllZC1pbi13cm9uZy1vcmRlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86581
- Thank you received: 14322
-
-

9 years 4 months ago [\#273855](#273855) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Resolved:address fields displayed in wrong order](/forum/4-how-to/47747-resolved-address-fields-displayed-in-wrong-order#273855 "I had most things working correctly, then did something (and I don't know what) that screwed up display of my shipping and billing addresses in the checkout process. Now, instead of seeing: Name Street Address City, State Zip  I'm seeing: Name Street Address Zip City State  I tried ordering the custom fields but that seemed only to drive the popup display for adding an address.  Also - I want to display the State Abbreviation (defined in the 3 char code field) rather than the state name and would prefer not to see the Country (Default is US and our organization wouldn't be shipping outside of the US). What is the best way to do this?  Update: I got this working - found a similar post and followed instructions to edit appropriate address&#95;template files.")*

Hi,

In the menu System&gt;Zones of HikaShop, you can just click on the name of the zone you want to edit in order to modify it.

And for the address format, that's a setting of the HikaShop configuration. So no need to edit a view.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ3NzQ3LXJlc29sdmVkLWFkZHJlc3MtZmllbGRzLWRpc3BsYXllZC1pbi13cm9uZy1vcmRlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.087 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
