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

#   How to apply Custom address fields to the invoice?

##

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

Less More

- Posts: 100
- Thank you received: 1
-
-

11 years 7 months ago [\#196952](#196952) by [reders](/forum/user/8228-reders "View reders's Profile")  *[How to apply Custom address fields to the invoice?](/forum/35-orders-management/876104-how-to-apply-custom-address-fields-to-the-invoice#196952 "-- HikaShop version -- : latest version -- Joomla version -- : latest version -- PHP version -- : 5.4.39 -- Error-message(debug-mod must be tuned on) -- : not applicable...  I've created several custom fields for the billing / shipping address. My problem is, I don't know how to apply these fields to the invoice.  Can someone tell me which files I need to edit and what code I need to apply to it?  Many thanks")* was created by *[reders](/forum/user/8228-reders "View reders's Profile")*

-- HikaShop version -- : latest version
-- Joomla version -- : latest version
-- PHP version -- : 5.4.39
-- Error-message(debug-mod must be tuned on) -- : not applicable...

I've created several custom fields for the billing / shipping address. My problem is, I don't know how to apply these fields to the invoice.

Can someone tell me which files I need to edit and what code I need to apply to it?

Many thanks

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

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

Less More

- Posts: 100
- Thank you received: 1
-
-

11 years 7 months ago -  11 years 7 months ago [\#196968](#196968) by [reders](/forum/user/8228-reders "View reders's Profile")  Replied by *[reders](/forum/user/8228-reders "View reders's Profile")* on topic *[How to apply Custom address fields to the invoice?](/forum/35-orders-management/876104-how-to-apply-custom-address-fields-to-the-invoice#196968 "-- HikaShop version -- : latest version -- Joomla version -- : latest version -- PHP version -- : 5.4.39 -- Error-message(debug-mod must be tuned on) -- : not applicable...  I've created several custom fields for the billing / shipping address. My problem is, I don't know how to apply these fields to the invoice.  Can someone tell me which files I need to edit and what code I need to apply to it?  Many thanks")*

I've edited the address_template files (both backend and frontend) but the custom field values are empty - and I've just noticed that they are also empty on the checkout when it displays my billing and shipping addresses.

So, I guess my question has changed to, how do I get my custom fields to display?

Here is a link to the site if anyone can help:
[ red-ferndevelopment.co.uk/TotalPipelineSystems/](http://red-ferndevelopment.co.uk/TotalPipelineSystems/)

Thanks

Last edit: 11 years 7 months ago by [reders](/forum/user/8228-reders "View reders's Profile"). Reason: added a link to the site

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

Less More

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

11 years 7 months ago [\#196978](#196978) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to apply Custom address fields to the invoice?](/forum/35-orders-management/876104-how-to-apply-custom-address-fields-to-the-invoice#196978 "-- HikaShop version -- : latest version -- Joomla version -- : latest version -- PHP version -- : 5.4.39 -- Error-message(debug-mod must be tuned on) -- : not applicable...  I've created several custom fields for the billing / shipping address. My problem is, I don't know how to apply these fields to the invoice.  Can someone tell me which files I need to edit and what code I need to apply to it?  Many thanks")*

Hi,

Could you provide a screenshot of the options of one of these custom fields and a screenshot of the modifications you made to the address_template view file ?

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

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

Less More

- Posts: 100
- Thank you received: 1
-
-

11 years 7 months ago [\#197043](#197043) by [reders](/forum/user/8228-reders "View reders's Profile")  Replied by *[reders](/forum/user/8228-reders "View reders's Profile")* on topic *[How to apply Custom address fields to the invoice?](/forum/35-orders-management/876104-how-to-apply-custom-address-fields-to-the-invoice#197043 "-- HikaShop version -- : latest version -- Joomla version -- : latest version -- PHP version -- : 5.4.39 -- Error-message(debug-mod must be tuned on) -- : not applicable...  I've created several custom fields for the billing / shipping address. My problem is, I don't know how to apply these fields to the invoice.  Can someone tell me which files I need to edit and what code I need to apply to it?  Many thanks")*

Hi Nicolas,

I have attached a screenshot of the address_template.php view file (incidentally I also made the exact modifications to the address_template.php file in the admin folder).

Also please find attached a screenshot of the configuration options on one of the custom fields. By the way, this replicates the configuration of the other custom fields, and also the core fields.

All help greatly appreciated because the website is ready to launch once this issue is fixed.

Thanks

- [ ![Screen&#95;Shot&#95;2015-04-02&#95;at&#95;09&#95;30&#95;42.png](/forum/attachment/23519) ](/forum/attachment/23519 "...t&#95;09&#95;30&#95;42.png") [ ](/forum/attachment/23519?download=1 "...t&#95;09&#95;30&#95;42.png")
- [ ![Screen&#95;Shot&#95;2015-04-02&#95;at&#95;09&#95;38&#95;29.png](/forum/attachment/23520) ](/forum/attachment/23520 "...t&#95;09&#95;38&#95;29.png") [ ](/forum/attachment/23520?download=1 "...t&#95;09&#95;38&#95;29.png")

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

11 years 7 months ago [\#197093](#197093) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[How to apply Custom address fields to the invoice?](/forum/35-orders-management/876104-how-to-apply-custom-address-fields-to-the-invoice#197093 "-- HikaShop version -- : latest version -- Joomla version -- : latest version -- PHP version -- : 5.4.39 -- Error-message(debug-mod must be tuned on) -- : not applicable...  I've created several custom fields for the billing / shipping address. My problem is, I don't know how to apply these fields to the invoice.  Can someone tell me which files I need to edit and what code I need to apply to it?  Many thanks")*

Hi,

In the address_template views, the "t" is missing for the address_stree**t**2 and address_stree**t**3.
So the issues seems to come from that.

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

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

Less More

- Posts: 100
- Thank you received: 1
-
-

11 years 7 months ago [\#197325](#197325) by [reders](/forum/user/8228-reders "View reders's Profile")  Replied by *[reders](/forum/user/8228-reders "View reders's Profile")* on topic *[How to apply Custom address fields to the invoice?](/forum/35-orders-management/876104-how-to-apply-custom-address-fields-to-the-invoice#197325 "-- HikaShop version -- : latest version -- Joomla version -- : latest version -- PHP version -- : 5.4.39 -- Error-message(debug-mod must be tuned on) -- : not applicable...  I've created several custom fields for the billing / shipping address. My problem is, I don't know how to apply these fields to the invoice.  Can someone tell me which files I need to edit and what code I need to apply to it?  Many thanks")*

Thanks for pointing that out (quite a silly mistake!).

However, the issue still persists.

Is there any clear indication as to what is going wrong here?

Thanks

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 7 months ago [\#197343](#197343) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to apply Custom address fields to the invoice?](/forum/35-orders-management/876104-how-to-apply-custom-address-fields-to-the-invoice#197343 "-- HikaShop version -- : latest version -- Joomla version -- : latest version -- PHP version -- : 5.4.39 -- Error-message(debug-mod must be tuned on) -- : not applicable...  I've created several custom fields for the billing / shipping address. My problem is, I don't know how to apply these fields to the invoice.  Can someone tell me which files I need to edit and what code I need to apply to it?  Many thanks")*

Hi,

Please be sure that you are overriding the view for the right front-end template.
To test if you are editing the right view, you can add some "raw text" (text without brackets) in order to see if the text is display afterwards in the invoice ; then you will be able to set the tags you want and the order you want.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 100
- Thank you received: 1
-
-

11 years 7 months ago [\#197463](#197463) by [reders](/forum/user/8228-reders "View reders's Profile")  Replied by *[reders](/forum/user/8228-reders "View reders's Profile")* on topic *[How to apply Custom address fields to the invoice?](/forum/35-orders-management/876104-how-to-apply-custom-address-fields-to-the-invoice#197463 "-- HikaShop version -- : latest version -- Joomla version -- : latest version -- PHP version -- : 5.4.39 -- Error-message(debug-mod must be tuned on) -- : not applicable...  I've created several custom fields for the billing / shipping address. My problem is, I don't know how to apply these fields to the invoice.  Can someone tell me which files I need to edit and what code I need to apply to it?  Many thanks")*

Hi Jerome,

Yes, I am definitely editing the correct template and there is raw text that I have added to it.

So that's not the issue.

It's as if something is stripping out the fields.

Any other ideas or is this an issue with Hikashop?

Thanks

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

Less More

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

11 years 7 months ago [\#197471](#197471) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to apply Custom address fields to the invoice?](/forum/35-orders-management/876104-how-to-apply-custom-address-fields-to-the-invoice#197471 "-- HikaShop version -- : latest version -- Joomla version -- : latest version -- PHP version -- : 5.4.39 -- Error-message(debug-mod must be tuned on) -- : not applicable...  I've created several custom fields for the billing / shipping address. My problem is, I don't know how to apply these fields to the invoice.  Can someone tell me which files I need to edit and what code I need to apply to it?  Many thanks")*

Hi,

I don't see any other reason.
Either you're not editing the correct view file or you're not using the correct column name inside the curly brackets.
Note that there are two address_template view file. One for your frontend template and one for your backend template. The column names need to be corrected for both view files.
The tags will be removed automatically if there is no custom address field corresponding to the tag.

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

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