- Posts: 72
- Thank you received: 0
[SOLVED] post code in wrong place on email
- daveturner101
-
Topic Author
- Offline
Less
More
13 years 7 months ago - 13 years 6 months ago #92213
by daveturner101
[SOLVED] post code in wrong place on email was created by daveturner101
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
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
Last edit: 13 years 6 months ago by daveturner101.
Please Log in or Create an account to join the conversation.
13 years 7 months ago #92311
by Xavier
Replied by Xavier on topic post code in wrong place on email
Hi,
Have you edited the view "address / address_template" to change the order of the elements ?
Have you edited the view "address / address_template" to change the order of the elements ?
Please Log in or Create an account to join the conversation.
- daveturner101
-
Topic Author
- Offline
Less
More
- Posts: 72
- Thank you received: 0
13 years 7 months ago #92312
by daveturner101
Replied by daveturner101 on topic post code in wrong place on email
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?
Should i have edited the template?
Please Log in or Create an account to join the conversation.
13 years 6 months ago #92505
by nicolas
Replied by nicolas on topic post code in wrong place on email
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.
The custom fields ordering is only for the fields ordering on the form, not for the address display.
Please Log in or Create an account to join the conversation.
- daveturner101
-
Topic Author
- Offline
Less
More
- Posts: 72
- Thank you received: 0
13 years 6 months ago #92543
by daveturner101
Replied by daveturner101 on topic post code in wrong place on email
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
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 or Create an account to join the conversation.
13 years 6 months ago #92768
by nicolas
Replied by nicolas on topic post code in wrong place on email
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...
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
Please Log in or Create an account to join the conversation.
- daveturner101
-
Topic Author
- Offline
Less
More
- Posts: 72
- Thank you received: 0
13 years 6 months ago #92856
by daveturner101
Replied by daveturner101 on topic [SOLVED] post code in wrong place on email
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 or Create an account to join the conversation.
Time to create page: 0.212 seconds