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

#   address2 field not included in pdf invoices

##

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

Less More

- Posts: 250
- Thank you received: 7
- [](http://www.estm.co.uk)
-

9 years 6 months ago -  9 years 6 months ago [\#268579](#268579) by [iedwards](/forum/user/12400-iedwards "View iedwards's Profile")  *[address2 field not included in pdf invoices](/forum/35-orders-management/890040-address2-field-not-included-in-pdf-invoices#268579 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.4 -- PHP version -- : 7.0.13  We are finding that the address&#95;street2 field is not included when printing invoices from the back end ( it may be a custome field, I can't remember). I have looked at the invoice template but it just calls a class to output billing address, where can I set this to include all the address fields?  Thanks,  Ian")* was created by *[iedwards](/forum/user/12400-iedwards "View iedwards's Profile")*

-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.4
-- PHP version -- : 7.0.13

We are finding that the address_street2 field is not included when printing invoices from the back end ( it may be a custome field, I can't remember). I have looked at the invoice template but it just calls a class to output billing address, where can I set this to include all the address fields?

Thanks,

Ian

---

[ Ian Edwards Film Sound Recording](https://estm.co.uk)
[ Alveley Mining Heritage](https://alveleyminingheritage.org)
[ Mary Edwards-Porter - Author](https://www.mary-edwards-porter.co.uk)

Last edit: 9 years 6 months ago by [iedwards](/forum/user/12400-iedwards "View iedwards's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5MDA0MC1hZGRyZXNzMi1maWVsZC1ub3QtaW5jbHVkZWQtaW4tcGRmLWludm9pY2VzP3RtcGw9bWFya2Rvd24=) 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: 86583
- Thank you received: 14324
-
-

9 years 6 months ago [\#268581](#268581) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[address2 field not included in pdf invoices](/forum/35-orders-management/890040-address2-field-not-included-in-pdf-invoices#268581 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.4 -- PHP version -- : 7.0.13  We are finding that the address&#95;street2 field is not included when printing invoices from the back end ( it may be a custome field, I can't remember). I have looked at the invoice template but it just calls a class to output billing address, where can I set this to include all the address fields?  Thanks,  Ian")*

Hi,

In the HikaShop configuration, you'll find an option "address format" under the "checkout" tab.
Make sure that the tag for the custom address field is in there like the others and in the position you want it and save the configuration.

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

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

Less More

- Posts: 250
- Thank you received: 7
- [](http://www.estm.co.uk)
-

9 years 6 months ago [\#268662](#268662) by [iedwards](/forum/user/12400-iedwards "View iedwards's Profile")  Replied by *[iedwards](/forum/user/12400-iedwards "View iedwards's Profile")* on topic *[address2 field not included in pdf invoices](/forum/35-orders-management/890040-address2-field-not-included-in-pdf-invoices#268662 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.4 -- PHP version -- : 7.0.13  We are finding that the address&#95;street2 field is not included when printing invoices from the back end ( it may be a custome field, I can't remember). I have looked at the invoice template but it just calls a class to output billing address, where can I set this to include all the address fields?  Thanks,  Ian")*

Hi Nicolas,

I have the address format set as I need it but it looks like this is being ignored by the invoice template, which appears to be using the default setting.

My address format configuration ...
[ ![ap&#95;hikashop&#95;address&#95;format.JPG](/forum/attachment/37935) ](/forum/attachment/37935 "...ess&#95;format.JPG")

Hikashop default address format ( from the online documentation )
[ ![hikashop&#95;default&#95;address&#95;format.JPG](/forum/attachment/37936) ](/forum/attachment/37936 "...ess&#95;format.JPG")

Address as it appears on Invoices (company field not used)

{address_title} {address_firstname} {address_lastname}
{address_street}
{address_post_code}{address_city}{address_state}
{address_country}
telephone:

Main issue is that address_street2 is missing but also post_code is in the wrong place ( for UK addresses ).

Thanks for your help,

Ian

---

[ Ian Edwards Film Sound Recording](https://estm.co.uk)
[ Alveley Mining Heritage](https://alveleyminingheritage.org)
[ Mary Edwards-Porter - Author](https://www.mary-edwards-porter.co.uk)

- [ ![ap&#95;hikashop&#95;address&#95;format.JPG](/forum/attachment/37935) ](/forum/attachment/37935 "...ess&#95;format.JPG") [ ](/forum/attachment/37935?download=1 "...ess&#95;format.JPG")
- [ ![hikashop&#95;default&#95;address&#95;format.JPG](/forum/attachment/37936) ](/forum/attachment/37936 "...ess&#95;format.JPG") [ ](/forum/attachment/37936?download=1 "...ess&#95;format.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5MDA0MC1hZGRyZXNzMi1maWVsZC1ub3QtaW5jbHVkZWQtaW4tcGRmLWludm9pY2VzP3RtcGw9bWFya2Rvd24=) 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: 86583
- Thank you received: 14324
-
-

9 years 6 months ago [\#268666](#268666) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[address2 field not included in pdf invoices](/forum/35-orders-management/890040-address2-field-not-included-in-pdf-invoices#268666 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.4 -- PHP version -- : 7.0.13  We are finding that the address&#95;street2 field is not included when printing invoices from the back end ( it may be a custome field, I can't remember). I have looked at the invoice template but it just calls a class to output billing address, where can I set this to include all the address fields?  Thanks,  Ian")*

Hi,

It works just fine on my end.
Can you check in the menu Display&gt;Views that you have the "address_template" view file overridden with the correct data for both your frontend and your backend and if note, make the modification there ?
And if you disable the PDF invoice plugin, do you get the correct format in the invoice ?

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

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

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

Less More

- Posts: 250
- Thank you received: 7
- [](http://www.estm.co.uk)
-

9 years 6 months ago [\#268742](#268742) by [iedwards](/forum/user/12400-iedwards "View iedwards's Profile")  Replied by *[iedwards](/forum/user/12400-iedwards "View iedwards's Profile")* on topic *[address2 field not included in pdf invoices](/forum/35-orders-management/890040-address2-field-not-included-in-pdf-invoices#268742 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.4 -- PHP version -- : 7.0.13  We are finding that the address&#95;street2 field is not included when printing invoices from the back end ( it may be a custome field, I can't remember). I have looked at the invoice template but it just calls a class to output billing address, where can I set this to include all the address fields?  Thanks,  Ian")*

Hi Nicolas,

The front end template was correct but the back end template wasn't, are these both changed when you edit the configuration?

Anyway I have edited the back end template manually and it is working as expected now.

Thanks for your help.

Ian

---

[ Ian Edwards Film Sound Recording](https://estm.co.uk)
[ Alveley Mining Heritage](https://alveleyminingheritage.org)
[ Mary Edwards-Porter - Author](https://www.mary-edwards-porter.co.uk)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5MDA0MC1hZGRyZXNzMi1maWVsZC1ub3QtaW5jbHVkZWQtaW4tcGRmLWludm9pY2VzP3RtcGw9bWFya2Rvd24=) 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: 86583
- Thank you received: 14324
-
-

9 years 6 months ago [\#268746](#268746) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[address2 field not included in pdf invoices](/forum/35-orders-management/890040-address2-field-not-included-in-pdf-invoices#268746 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.4 -- PHP version -- : 7.0.13  We are finding that the address&#95;street2 field is not included when printing invoices from the back end ( it may be a custome field, I can't remember). I have looked at the invoice template but it just calls a class to output billing address, where can I set this to include all the address fields?  Thanks,  Ian")*

Hi,

You're right. It's supposed to change for both the backend and the frontend template.
I've found the issue and added a patch on our end for that.
Thanks.

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

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