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

#   SOLVED Formatting of billing and shipping address?

##

- **[spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile")**
- [![spoonbow's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6067.gif)](/forum/user/6067-spoonbow "View spoonbow's Profile") Topic Author
- [ Offline](/forum/user/6067-spoonbow)

Less More

- Posts: 42
- Thank you received: 2
-
-
-
-

14 years 8 months ago -  14 years 8 months ago [\#39164](#39164) by [spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile")  *[SOLVED Formatting of billing and shipping address?](/forum/4-how-to/39164-solved-formatting-of-billing-and-shipping-address#39164 "Hello again! Is it possible to change the formatting of the billing and shipping addresses? They currently are not in a &quot;standard&quot; format for USA. As is, they look like:  Mr Test User 123 First 49685 Traverse City Michigan United States of America Telephone: 2312312311  But I would like them to appear like this:  Mr Test User 123 First Traverse City, Michigan 49685 United States of America Telephone: 2312312311  Subtle difference, but that is how we are used to seeing it. Is this possible in the Business edition using overrides (I currently have Essential, but am considering upgrading to Business), or would this require modification of code?  Thank You, Matt Heffron Traverse City, MI")* was created by *[spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile")*

Hello again!
Is it possible to change the formatting of the billing and shipping addresses? They currently are not in a "standard" format for USA. As is, they look like:

**Mr Test User
123 First
49685 Traverse City Michigan
United States of America
Telephone: 2312312311**

But I would like them to appear like this:

**Mr Test User
123 First
Traverse City, Michigan
49685
United States of America
Telephone: 2312312311**

Subtle difference, but that is how we are used to seeing it. Is this possible in the Business edition using overrides (I currently have Essential, but am considering upgrading to Business), or would this require modification of code?

Thank You,
Matt Heffron
Traverse City, MI

---

It's amazing how the omission of a semicolon can absolutely ruin an otherwise pleasant evening.

Last edit: 14 years 8 months ago by [spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile"). Reason: Figured it out

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM5MTY0LXNvbHZlZC1mb3JtYXR0aW5nLW9mLWJpbGxpbmctYW5kLXNoaXBwaW5nLWFkZHJlc3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[woonydanny](/forum/user/5795-woonydanny "View woonydanny's Profile")**
- [![woonydanny's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5795.jpg)](/forum/user/5795-woonydanny "View woonydanny's Profile")
- [ Offline](/forum/user/5795-woonydanny)

Less More

- Posts: 218
- Thank you received: 6
-
-

14 years 8 months ago [\#39173](#39173) by [woonydanny](/forum/user/5795-woonydanny "View woonydanny's Profile")  Replied by *[woonydanny](/forum/user/5795-woonydanny "View woonydanny's Profile")* on topic *[Re: Formatting of billing and shipping address?](/forum/4-how-to/39164-solved-formatting-of-billing-and-shipping-address#39173 "Hello again! Is it possible to change the formatting of the billing and shipping addresses? They currently are not in a &quot;standard&quot; format for USA. As is, they look like:  Mr Test User 123 First 49685 Traverse City Michigan United States of America Telephone: 2312312311  But I would like them to appear like this:  Mr Test User 123 First Traverse City, Michigan 49685 United States of America Telephone: 2312312311  Subtle difference, but that is how we are used to seeing it. Is this possible in the Business edition using overrides (I currently have Essential, but am considering upgrading to Business), or would this require modification of code?  Thank You, Matt Heffron Traverse City, MI")*

I am wondering the same thing.

In Australia we write our addresses:

15 Peter Street
Bondi , New South Wales 2026
Australia

(Street Address)
(Suburb/Town),(State), (Post code)
(Country)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM5MTY0LXNvbHZlZC1mb3JtYXR0aW5nLW9mLWJpbGxpbmctYW5kLXNoaXBwaW5nLWFkZHJlc3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile")**
- [![spoonbow's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6067.gif)](/forum/user/6067-spoonbow "View spoonbow's Profile") Topic Author
- [ Offline](/forum/user/6067-spoonbow)

Less More

- Posts: 42
- Thank you received: 2
-
-
-
-

14 years 8 months ago [\#39176](#39176) by [spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile")  Replied by *[spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile")* on topic *[Re: Formatting of billing and shipping address?](/forum/4-how-to/39164-solved-formatting-of-billing-and-shipping-address#39176 "Hello again! Is it possible to change the formatting of the billing and shipping addresses? They currently are not in a &quot;standard&quot; format for USA. As is, they look like:  Mr Test User 123 First 49685 Traverse City Michigan United States of America Telephone: 2312312311  But I would like them to appear like this:  Mr Test User 123 First Traverse City, Michigan 49685 United States of America Telephone: 2312312311  Subtle difference, but that is how we are used to seeing it. Is this possible in the Business edition using overrides (I currently have Essential, but am considering upgrading to Business), or would this require modification of code?  Thank You, Matt Heffron Traverse City, MI")*

Here's how I resolved this on my setup.

In Hikashop configuration go to Display-&gt;Views. Select your template and "Front End" in the drop down lists at the top of the page. If it's not right on top of the list, filter on "address_template", then click on it to edit. Cut and Paste the fields into the desired order/display. For you it would be:

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

Notice the added comma after {address_city}. Editing and saving this template resulted in the address being formatted properly in the emails sent out to the customer.

If you select "Back End" from the drop down list you will find another "address_template" that appears to be identical to the one for the front end. I had assumed that editing this template would result in the correct address format being applied when generating an invoice from an order in the back end, but this doesn't seem to be the case. Will keep hunting for a resolution on that one.

Cheers
Matt

---

It's amazing how the omission of a semicolon can absolutely ruin an otherwise pleasant evening.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM5MTY0LXNvbHZlZC1mb3JtYXR0aW5nLW9mLWJpbGxpbmctYW5kLXNoaXBwaW5nLWFkZHJlc3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

14 years 8 months ago [\#39267](#39267) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Formatting of billing and shipping address?](/forum/4-how-to/39164-solved-formatting-of-billing-and-shipping-address#39267 "Hello again! Is it possible to change the formatting of the billing and shipping addresses? They currently are not in a &quot;standard&quot; format for USA. As is, they look like:  Mr Test User 123 First 49685 Traverse City Michigan United States of America Telephone: 2312312311  But I would like them to appear like this:  Mr Test User 123 First Traverse City, Michigan 49685 United States of America Telephone: 2312312311  Subtle difference, but that is how we are used to seeing it. Is this possible in the Business edition using overrides (I currently have Essential, but am considering upgrading to Business), or would this require modification of code?  Thank You, Matt Heffron Traverse City, MI")*

Hi,

The address_template view file for the back end is indeed what you should change. Be careful to choose the correct template when editing it. If you edit it for another template than the one you're using, you won't see the change.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM5MTY0LXNvbHZlZC1mb3JtYXR0aW5nLW9mLWJpbGxpbmctYW5kLXNoaXBwaW5nLWFkZHJlc3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 10
- Thank you received: 0
-
-

14 years 8 months ago [\#39276](#39276) by [paul@rm2u](/forum/user/4530-paul-rm2u "View paul@rm2u's Profile")  Replied by *[paul@rm2u](/forum/user/4530-paul-rm2u "View paul@rm2u's Profile")* on topic *[Re: Formatting of billing and shipping address?](/forum/4-how-to/39164-solved-formatting-of-billing-and-shipping-address#39276 "Hello again! Is it possible to change the formatting of the billing and shipping addresses? They currently are not in a &quot;standard&quot; format for USA. As is, they look like:  Mr Test User 123 First 49685 Traverse City Michigan United States of America Telephone: 2312312311  But I would like them to appear like this:  Mr Test User 123 First Traverse City, Michigan 49685 United States of America Telephone: 2312312311  Subtle difference, but that is how we are used to seeing it. Is this possible in the Business edition using overrides (I currently have Essential, but am considering upgrading to Business), or would this require modification of code?  Thank You, Matt Heffron Traverse City, MI")*

Nicholas, this doesn't seem to be affecting the "New" button link to the popup form. Which area do I modify again?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM5MTY0LXNvbHZlZC1mb3JtYXR0aW5nLW9mLWJpbGxpbmctYW5kLXNoaXBwaW5nLWFkZHJlc3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile")**
- [![spoonbow's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6067.gif)](/forum/user/6067-spoonbow "View spoonbow's Profile") Topic Author
- [ Offline](/forum/user/6067-spoonbow)

Less More

- Posts: 42
- Thank you received: 2
-
-
-
-

14 years 8 months ago -  14 years 8 months ago [\#39279](#39279) by [spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile")  Replied by *[spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile")* on topic *[Re: Formatting of billing and shipping address?](/forum/4-how-to/39164-solved-formatting-of-billing-and-shipping-address#39279 "Hello again! Is it possible to change the formatting of the billing and shipping addresses? They currently are not in a &quot;standard&quot; format for USA. As is, they look like:  Mr Test User 123 First 49685 Traverse City Michigan United States of America Telephone: 2312312311  But I would like them to appear like this:  Mr Test User 123 First Traverse City, Michigan 49685 United States of America Telephone: 2312312311  Subtle difference, but that is how we are used to seeing it. Is this possible in the Business edition using overrides (I currently have Essential, but am considering upgrading to Business), or would this require modification of code?  Thank You, Matt Heffron Traverse City, MI")*

Nicolas
That was indeed the problem - I was editing the wrong template. Works perfectly now that I've done it the right way... :blush:

Thanks!
Matt

---

It's amazing how the omission of a semicolon can absolutely ruin an otherwise pleasant evening.

Last edit: 14 years 8 months ago by [spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile"). Reason: Spelling error

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM5MTY0LXNvbHZlZC1mb3JtYXR0aW5nLW9mLWJpbGxpbmctYW5kLXNoaXBwaW5nLWFkZHJlc3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

14 years 8 months ago [\#39387](#39387) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Formatting of billing and shipping address?](/forum/4-how-to/39164-solved-formatting-of-billing-and-shipping-address#39387 "Hello again! Is it possible to change the formatting of the billing and shipping addresses? They currently are not in a &quot;standard&quot; format for USA. As is, they look like:  Mr Test User 123 First 49685 Traverse City Michigan United States of America Telephone: 2312312311  But I would like them to appear like this:  Mr Test User 123 First Traverse City, Michigan 49685 United States of America Telephone: 2312312311  Subtle difference, but that is how we are used to seeing it. Is this possible in the Business edition using overrides (I currently have Essential, but am considering upgrading to Business), or would this require modification of code?  Thank You, Matt Heffron Traverse City, MI")*

For the address form itself, you need to configure your custom address fields via the menu Display-&gt;Custom fields.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM5MTY0LXNvbHZlZC1mb3JtYXR0aW5nLW9mLWJpbGxpbmctYW5kLXNoaXBwaW5nLWFkZHJlc3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.092 seconds

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