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

#   Company custom field not included in order emails

##

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

Less More

- Posts: 127
- Thank you received: 1
-
-

10 years 5 months ago [\#241953](#241953) by [mikehermary](/forum/user/35673-mikehermary "View mikehermary's Profile")  *[Company custom field not included in order emails](/forum/27-checkout/884894-company-custom-field-not-included-in-order-emails#241953 "-- url of the page with the problem -- :   www.afca.ab.ca/book-store  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Safari 9.0.3  Hello,  I have a core custom field called &quot;Company&quot;. It is published, not required and is visible in the front end checkout forms. When a customer adds text to the &quot;Company&quot; field, that text is not sent in the order notification emails. All of the other captured fields are included in the billing and shipping address areas. Why is the &quot;Company&quot; field not being included? Thanks.  Mike")* was created by *[mikehermary](/forum/user/35673-mikehermary "View mikehermary's Profile")*

-- url of the page with the problem -- : [ www.afca.ab.ca/book-store](http://www.afca.ab.ca/book-store)
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5.31
-- Browser(s) name and version -- : Safari 9.0.3

Hello,

I have a core custom field called "Company". It is published, not required and is visible in the front end checkout forms. When a customer adds text to the "Company" field, that text is not sent in the order notification emails. All of the other captured fields are included in the billing and shipping address areas. Why is the "Company" field not being included? Thanks.

Mike

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

10 years 5 months ago [\#242004](#242004) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Company custom field not included in order emails](/forum/27-checkout/884894-company-custom-field-not-included-in-order-emails#242004 "-- url of the page with the problem -- :   www.afca.ab.ca/book-store  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Safari 9.0.3  Hello,  I have a core custom field called &quot;Company&quot;. It is published, not required and is visible in the front end checkout forms. When a customer adds text to the &quot;Company&quot; field, that text is not sent in the order notification emails. All of the other captured fields are included in the billing and shipping address areas. Why is the &quot;Company&quot; field not being included? Thanks.  Mike")*

Hi,

You need to edit the "address_template" view file for both the frontend and backend templates via the menu Display&gt;Views and add the tag corresponding to your custom field and it will then appear on the address display.

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

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

Less More

- Posts: 127
- Thank you received: 1
-
-

10 years 5 months ago [\#242181](#242181) by [mikehermary](/forum/user/35673-mikehermary "View mikehermary's Profile")  Replied by *[mikehermary](/forum/user/35673-mikehermary "View mikehermary's Profile")* on topic *[Company custom field not included in order emails](/forum/27-checkout/884894-company-custom-field-not-included-in-order-emails#242181 "-- url of the page with the problem -- :   www.afca.ab.ca/book-store  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Safari 9.0.3  Hello,  I have a core custom field called &quot;Company&quot;. It is published, not required and is visible in the front end checkout forms. When a customer adds text to the &quot;Company&quot; field, that text is not sent in the order notification emails. All of the other captured fields are included in the billing and shipping address areas. Why is the &quot;Company&quot; field not being included? Thanks.  Mike")*

Hello,

I added {address_company} to the address template files, but for some reason it caused none of the address information, billing or shipping to be sent in the emails. Also, none of the information is shown on the order page in the administrator panel. Any ideas?

Mike

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

10 years 5 months ago [\#242227](#242227) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Company custom field not included in order emails](/forum/27-checkout/884894-company-custom-field-not-included-in-order-emails#242227 "-- url of the page with the problem -- :   www.afca.ab.ca/book-store  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Safari 9.0.3  Hello,  I have a core custom field called &quot;Company&quot;. It is published, not required and is visible in the front end checkout forms. When a customer adds text to the &quot;Company&quot; field, that text is not sent in the order notification emails. All of the other captured fields are included in the billing and shipping address areas. Why is the &quot;Company&quot; field not being included? Thanks.  Mike")*

Hi,

I don't see why it would do that.
Can you provide a screenshot of what you have in the address_template view files ?
Also, note that you can click on the bin icon of the "remove customization" column of the Display&gt;Views menu to remove a customization. So you always have the capability to go back to what you had before if you've done something wrong.

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

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

Less More

- Posts: 127
- Thank you received: 1
-
-

10 years 5 months ago [\#242252](#242252) by [mikehermary](/forum/user/35673-mikehermary "View mikehermary's Profile")  Replied by *[mikehermary](/forum/user/35673-mikehermary "View mikehermary's Profile")* on topic *[Company custom field not included in order emails](/forum/27-checkout/884894-company-custom-field-not-included-in-order-emails#242252 "-- url of the page with the problem -- :   www.afca.ab.ca/book-store  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Safari 9.0.3  Hello,  I have a core custom field called &quot;Company&quot;. It is published, not required and is visible in the front end checkout forms. When a customer adds text to the &quot;Company&quot; field, that text is not sent in the order notification emails. All of the other captured fields are included in the billing and shipping address areas. Why is the &quot;Company&quot; field not being included? Thanks.  Mike")*

Hello,

Here are the screenshots for the front end and back end address template customizations. The templates were working before adding &lt;span&gt;{address_company}&lt;/span&gt; and {address_company} to the files. No other changes were made.

Mike

- [ ![addresstemplate&#95;frontend.png](/forum/attachment/31923) ](/forum/attachment/31923 "...e&#95;frontend.png") [ ](/forum/attachment/31923?download=1 "...e&#95;frontend.png")
- [ ![addresstemplate&#95;backend.png](/forum/attachment/31924) ](/forum/attachment/31924 "...te&#95;backend.png") [ ](/forum/attachment/31924?download=1 "...te&#95;backend.png")

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

10 years 5 months ago [\#242263](#242263) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Company custom field not included in order emails](/forum/27-checkout/884894-company-custom-field-not-included-in-order-emails#242263 "-- url of the page with the problem -- :   www.afca.ab.ca/book-store  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Safari 9.0.3  Hello,  I have a core custom field called &quot;Company&quot;. It is published, not required and is visible in the front end checkout forms. When a customer adds text to the &quot;Company&quot; field, that text is not sent in the order notification emails. All of the other captured fields are included in the billing and shipping address areas. Why is the &quot;Company&quot; field not being included? Thanks.  Mike")*

Hi,

I don't see why that would create a problem. It must come from something else.
Remove the address_company tag from there. Does that changes anything ?

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

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

Less More

- Posts: 127
- Thank you received: 1
-
-

10 years 5 months ago [\#242331](#242331) by [mikehermary](/forum/user/35673-mikehermary "View mikehermary's Profile")  Replied by *[mikehermary](/forum/user/35673-mikehermary "View mikehermary's Profile")* on topic *[Company custom field not included in order emails](/forum/27-checkout/884894-company-custom-field-not-included-in-order-emails#242331 "-- url of the page with the problem -- :   www.afca.ab.ca/book-store  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Safari 9.0.3  Hello,  I have a core custom field called &quot;Company&quot;. It is published, not required and is visible in the front end checkout forms. When a customer adds text to the &quot;Company&quot; field, that text is not sent in the order notification emails. All of the other captured fields are included in the billing and shipping address areas. Why is the &quot;Company&quot; field not being included? Thanks.  Mike")*

Hello,

Removing the address_company text from the address template files fixes the issue and everything works correctly, but the client wants the company name to be included in the notification emails.

Mike

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

10 years 5 months ago [\#242410](#242410) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Company custom field not included in order emails](/forum/27-checkout/884894-company-custom-field-not-included-in-order-emails#242410 "-- url of the page with the problem -- :   www.afca.ab.ca/book-store  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Safari 9.0.3  Hello,  I have a core custom field called &quot;Company&quot;. It is published, not required and is visible in the front end checkout forms. When a customer adds text to the &quot;Company&quot; field, that text is not sent in the order notification emails. All of the other captured fields are included in the billing and shipping address areas. Why is the &quot;Company&quot; field not being included? Thanks.  Mike")*

Hi,

I don't see why that would do that.
Can you provide a backend access to your website so that we can look at the issue ?
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

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

Less More

- Posts: 127
- Thank you received: 1
-
-

10 years 5 months ago [\#242455](#242455) by [mikehermary](/forum/user/35673-mikehermary "View mikehermary's Profile")  Replied by *[mikehermary](/forum/user/35673-mikehermary "View mikehermary's Profile")* on topic *[Company custom field not included in order emails](/forum/27-checkout/884894-company-custom-field-not-included-in-order-emails#242455 "-- url of the page with the problem -- :   www.afca.ab.ca/book-store  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Safari 9.0.3  Hello,  I have a core custom field called &quot;Company&quot;. It is published, not required and is visible in the front end checkout forms. When a customer adds text to the &quot;Company&quot; field, that text is not sent in the order notification emails. All of the other captured fields are included in the billing and shipping address areas. Why is the &quot;Company&quot; field not being included? Thanks.  Mike")*

Hello,

Backend access has been provided. Please note address_company has been removed from the address_template files in order for the information to be properly included in the notification emails and in the order backend.

Mike

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

10 years 5 months ago [\#242555](#242555) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Company custom field not included in order emails](/forum/27-checkout/884894-company-custom-field-not-included-in-order-emails#242555 "-- url of the page with the problem -- :   www.afca.ab.ca/book-store  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Safari 9.0.3  Hello,  I have a core custom field called &quot;Company&quot;. It is published, not required and is visible in the front end checkout forms. When a customer adds text to the &quot;Company&quot; field, that text is not sent in the order notification emails. All of the other captured fields are included in the billing and shipping address areas. Why is the &quot;Company&quot; field not being included? Thanks.  Mike")*

Hi,

I've done several tests on your website and I'm not able to reproduce the problem.

The addresses are available in the order in the backend: [ take.ms/tIOXW](http://take.ms/tIOXW)
In the invoice: [ take.ms/cUNdM](http://take.ms/cUNdM)
in the email notification of the backend: [ take.ms/eGvHP](http://take.ms/eGvHP)
in the email notification when the order is created: [ take.ms/ChPnq](http://take.ms/ChPnq)

And you can see that I had the address_company tag added in all of them.
So I'm not able to reproduce what you're talking about. It just works.

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

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

Less More

- Posts: 127
- Thank you received: 1
-
-

10 years 5 months ago [\#242593](#242593) by [mikehermary](/forum/user/35673-mikehermary "View mikehermary's Profile")  Replied by *[mikehermary](/forum/user/35673-mikehermary "View mikehermary's Profile")* on topic *[Company custom field not included in order emails](/forum/27-checkout/884894-company-custom-field-not-included-in-order-emails#242593 "-- url of the page with the problem -- :   www.afca.ab.ca/book-store  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Safari 9.0.3  Hello,  I have a core custom field called &quot;Company&quot;. It is published, not required and is visible in the front end checkout forms. When a customer adds text to the &quot;Company&quot; field, that text is not sent in the order notification emails. All of the other captured fields are included in the billing and shipping address areas. Why is the &quot;Company&quot; field not being included? Thanks.  Mike")*

Hello,

Thank you for testing. I have seen that was working for you. I am assuming the edits I made could have included a mistyped character or something, thus causing the issue. I am glad that it is working now.

Mike

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

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