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

#   \[SOLVED\] post code in wrong place on email

##

- **[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")**
- [![daveturner101's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/13550-daveturner101 "View daveturner101's Profile") Topic Author
- [ Offline](/forum/user/13550-daveturner101)

Less More

- Posts: 72
- Thank you received: 0
-
-

13 years 9 months ago -  13 years 8 months ago [\#92213](#92213) by [daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")  *[\[SOLVED\] post code in wrong place on email](/forum/3-bug-report/78793-solved-post-code-in-wrong-place-on-email#92213 "hi,  please see attached screen shot. on confirmation emails, the postcode is appearing before the city name. how can we change this so that the post code appears after the city name? it's confusing a few of our customers.  it appears fine when looking at the orders screen within the cms. seems to just be on email.  i changed the order that the post code appears on our registration form to be after the city name. i presume this is what has effected it.  any ideas?  thanks")* was created by *[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")*

hi,

please see attached screen shot. on confirmation emails, the postcode is appearing before the city name. how can we change this so that the post code appears after the city name? it's confusing a few of our customers.

it appears fine when looking at the orders screen within the cms. seems to just be on email.

i changed the order that the post code appears on our registration form to be after the city name. i presume this is what has effected it.

any ideas?

thanks

- [ ![postcode-error.jpg](/forum/attachment/8808) ](/forum/attachment/8808 "...code-error.jpg") [ ](/forum/attachment/8808?download=1 "...code-error.jpg")

Last edit: 13 years 8 months ago by [daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 8 months ago [\#92311](#92311) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[post code in wrong place on email](/forum/3-bug-report/78793-solved-post-code-in-wrong-place-on-email#92311 "hi,  please see attached screen shot. on confirmation emails, the postcode is appearing before the city name. how can we change this so that the post code appears after the city name? it's confusing a few of our customers.  it appears fine when looking at the orders screen within the cms. seems to just be on email.  i changed the order that the post code appears on our registration form to be after the city name. i presume this is what has effected it.  any ideas?  thanks")*

Hi,

Have you edited the view "address / address_template" to change the order of the elements ?

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

- **[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")**
- [![daveturner101's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/13550-daveturner101 "View daveturner101's Profile") Topic Author
- [ Offline](/forum/user/13550-daveturner101)

Less More

- Posts: 72
- Thank you received: 0
-
-

13 years 8 months ago [\#92312](#92312) by [daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")  Replied by *[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")* on topic *[post code in wrong place on email](/forum/3-bug-report/78793-solved-post-code-in-wrong-place-on-email#92312 "hi,  please see attached screen shot. on confirmation emails, the postcode is appearing before the city name. how can we change this so that the post code appears after the city name? it's confusing a few of our customers.  it appears fine when looking at the orders screen within the cms. seems to just be on email.  i changed the order that the post code appears on our registration form to be after the city name. i presume this is what has effected it.  any ideas?  thanks")*

No i changed the order of the fields in the custom fields section. I used the arrows to change the order slighly and put the postcode below the city on the registration form.

Should i have edited the template?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODc5My1zb2x2ZWQtcG9zdC1jb2RlLWluLXdyb25nLXBsYWNlLW9uLWVtYWlsP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

13 years 8 months ago [\#92505](#92505) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[post code in wrong place on email](/forum/3-bug-report/78793-solved-post-code-in-wrong-place-on-email#92505 "hi,  please see attached screen shot. on confirmation emails, the postcode is appearing before the city name. how can we change this so that the post code appears after the city name? it's confusing a few of our customers.  it appears fine when looking at the orders screen within the cms. seems to just be on email.  i changed the order that the post code appears on our registration form to be after the city name. i presume this is what has effected it.  any ideas?  thanks")*

Yes, you need to edit the address_template view files (several of them) so that the address display changes.
The custom fields ordering is only for the fields ordering on the form, not for the address display.

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

- **[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")**
- [![daveturner101's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/13550-daveturner101 "View daveturner101's Profile") Topic Author
- [ Offline](/forum/user/13550-daveturner101)

Less More

- Posts: 72
- Thank you received: 0
-
-

13 years 8 months ago [\#92543](#92543) by [daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")  Replied by *[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")* on topic *[post code in wrong place on email](/forum/3-bug-report/78793-solved-post-code-in-wrong-place-on-email#92543 "hi,  please see attached screen shot. on confirmation emails, the postcode is appearing before the city name. how can we change this so that the post code appears after the city name? it's confusing a few of our customers.  it appears fine when looking at the orders screen within the cms. seems to just be on email.  i changed the order that the post code appears on our registration form to be after the city name. i presume this is what has effected it.  any ideas?  thanks")*

when you say 'several of them' which ones exactly?

my address / address_template.php file looks like this

{address_company}
{address_title} {address_firstname} {address_lastname}
{address_street}
{address_city} {address_post_code} {address_state}
{address_country}

but the confirmation emails still show the postcode before the city. Which other files do i need to edit?

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODc5My1zb2x2ZWQtcG9zdC1jb2RlLWluLXdyb25nLXBsYWNlLW9uLWVtYWlsP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

13 years 8 months ago [\#92768](#92768) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[post code in wrong place on email](/forum/3-bug-report/78793-solved-post-code-in-wrong-place-on-email#92768 "hi,  please see attached screen shot. on confirmation emails, the postcode is appearing before the city name. how can we change this so that the post code appears after the city name? it's confusing a few of our customers.  it appears fine when looking at the orders screen within the cms. seems to just be on email.  i changed the order that the post code appears on our registration form to be after the city name. i presume this is what has effected it.  any ideas?  thanks")*

What I'm saying is that there are several address_template.php files. One for each of your templates.
You need to modify the address_template.php file for your backend template and the one for your frontend template.
If you modify it for other templates of your website, you won't see any difference.
If you're unsure, change them all...

The following user(s) said Thank You: [daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")

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

- **[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")**
- [![daveturner101's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/13550-daveturner101 "View daveturner101's Profile") Topic Author
- [ Offline](/forum/user/13550-daveturner101)

Less More

- Posts: 72
- Thank you received: 0
-
-

13 years 8 months ago [\#92856](#92856) by [daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")  Replied by *[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")* on topic *[\[SOLVED\] post code in wrong place on email](/forum/3-bug-report/78793-solved-post-code-in-wrong-place-on-email#92856 "hi,  please see attached screen shot. on confirmation emails, the postcode is appearing before the city name. how can we change this so that the post code appears after the city name? it's confusing a few of our customers.  it appears fine when looking at the orders screen within the cms. seems to just be on email.  i changed the order that the post code appears on our registration form to be after the city name. i presume this is what has effected it.  any ideas?  thanks")*

thanks, i didn't notice that i had to edit the backend template for 'bluestork'. seems to be working as it should now.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODc5My1zb2x2ZWQtcG9zdC1jb2RlLWluLXdyb25nLXBsYWNlLW9uLWVtYWlsP3RtcGw9bWFya2Rvd24=) 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.069 seconds

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