- Posts: 17
- Thank you received: 0
Showing second line of address in the Invoice
14 years 6 months ago #43979
by castus
Showing second line of address in the Invoice was created by castus
When I click on Invoice or Shipping Invoice on an order, it doesn't show the second line of the address (see attached).
I tried adding it into the address template but it didn't help.
I also tried restoring the Invoice and Address Template to their original states with the recycle bin icon but it didn't change.
Sometimes, customers put their whole street name in the second box so it's quite important.
I tried adding it into the address template but it didn't help.
Code:
{address_title} {address_firstname} {address_lastname}
{address_street}
{address_street2}
{address_city} {address_state}
{address_post_code}
{address_country}
I also tried restoring the Invoice and Address Template to their original states with the recycle bin icon but it didn't change.
Sometimes, customers put their whole street name in the second box so it's quite important.
Please Log in or Create an account to join the conversation.
14 years 6 months ago #44177
by nicolas
Replied by nicolas on topic Re: Showing second line of address in the Invoice
Hi,
That means that you're not editing the view file for the correct template.
Please note that there are several address_template files. The one for the view "address" is for the front end. The one for the view "user" is for the back end. And when you edit them, you need to make sure that you're editing it for the template you're using on the front end or the back end, accordingly.
That means that you're not editing the view file for the correct template.
Please note that there are several address_template files. The one for the view "address" is for the front end. The one for the view "user" is for the back end. And when you edit them, you need to make sure that you're editing it for the template you're using on the front end or the back end, accordingly.
Please Log in or Create an account to join the conversation.
Time to create page: 0.150 seconds