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

#   how to add custom fields to all email notifications?

##

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

7 years 1 month ago [\#312361](#312361) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  *[how to add custom fields to all email notifications?](/forum/32-content-creation/898550-how-to-add-custom-fields-to-all-email-notifications#312361 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.10 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : none  hi  how to add custom fields to all email notifications?  i want admin and client to get the email notification.")* was created by *[ronron](/forum/user/40399-ronron "View ronron's Profile")*

-- HikaShop version -- : 3.5.0
-- Joomla version -- : 3.8.10
-- PHP version -- : 7
-- Error-message(debug-mod must be tuned on) -- : none

hi

how to add custom fields to all email notifications?

i want admin and client to get the email notification.

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

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

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

7 years 1 month ago [\#312362](#312362) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[how to add custom fields to all email notifications?](/forum/32-content-creation/898550-how-to-add-custom-fields-to-all-email-notifications#312362 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.10 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : none  hi  how to add custom fields to all email notifications?  i want admin and client to get the email notification.")*

Hi,

See [ www.hikashop.com/support/documentation/4...field-form.html#mail](https://www.hikashop.com/support/documentation/42-hikashop-field-form.html#mail)
If you don't have this in your custom fields, then it's either not available for the type of field, or you should update your HikaShop.

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

7 years 1 month ago [\#312404](#312404) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[how to add custom fields to all email notifications?](/forum/32-content-creation/898550-how-to-add-custom-fields-to-all-email-notifications#312404 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.10 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : none  hi  how to add custom fields to all email notifications?  i want admin and client to get the email notification.")*

hi

i have that on orders, products and items

my problem is with the address column. As you can see it is set to required but on the order created and confirmed the mobile phone is not appearing

[ ![YourorderNo.H4S0R86isnowconfirmedathttpsyourflowerpatch.com-rrmayarigmail.com-Gmail2019-10-2323-15-37.jpg](/forum/attachment/47998) ](/forum/attachment/47998 "...2323-15-37.jpg")

[ ![YourorderNo.H4S0Q85isnowconfirmedathttpsyourflowerpatch.com-rrmayarigmail.com-Gmail2019-10-2323-17-10.jpg](/forum/attachment/47999) ](/forum/attachment/47999 "...2323-17-10.jpg")

[ ![yourflowerpatch.com-Administration-Customfields2019-10-2323-19-18.jpg](/forum/attachment/48000) ](/forum/attachment/48000 "...2323-19-18.jpg")

please note my issue is with the billing address and shipping address and not the shipping information

thanks

- [ ![YourorderNo.H4S0R86isnowconfirmedathttpsyourflowerpatch.com-rrmayarigmail.com-Gmail2019-10-2323-15-37.jpg](/forum/attachment/47998) ](/forum/attachment/47998 "...2323-15-37.jpg") [ ](/forum/attachment/47998?download=1 "...2323-15-37.jpg")
- [ ![YourorderNo.H4S0Q85isnowconfirmedathttpsyourflowerpatch.com-rrmayarigmail.com-Gmail2019-10-2323-17-10.jpg](/forum/attachment/47999) ](/forum/attachment/47999 "...2323-17-10.jpg") [ ](/forum/attachment/47999?download=1 "...2323-17-10.jpg")
- [ ![yourflowerpatch.com-Administration-Customfields2019-10-2323-19-18.jpg](/forum/attachment/48000) ](/forum/attachment/48000 "...2323-19-18.jpg") [ ](/forum/attachment/48000?download=1 "...2323-19-18.jpg")

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

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

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

7 years 1 month ago [\#312407](#312407) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[how to add custom fields to all email notifications?](/forum/32-content-creation/898550-how-to-add-custom-fields-to-all-email-notifications#312407 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.10 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : none  hi  how to add custom fields to all email notifications?  i want admin and client to get the email notification.")*

Aaah, so it's about the "address" type of field.
Addresses have their own template where you need to add the tag for new fields you want to see.
See [ www.hikashop.com/support/documentation/5...ml#checkout\_shipping](https://www.hikashop.com/support/documentation/54-hikashop-config.html#checkout_shipping)
Again, if you don't have that in the checkout section of your HikaShop configuration, then your version is too old, and you'll need to create an override of the respective view file -- eventually for both front and backend.

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

7 years 1 month ago [\#312420](#312420) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[how to add custom fields to all email notifications?](/forum/32-content-creation/898550-how-to-add-custom-fields-to-all-email-notifications#312420 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.10 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : none  hi  how to add custom fields to all email notifications?  i want admin and client to get the email notification.")*

hi again and thank you

got it to work but how do i add labels to the other fields?
how do i change the label of telephone? the other should be landline and mobile phone.
and how get it to appear on the next line?

thanks again
[ ![YourorderNo.H4S0S87isnowconfirmedathttpsyourflowerpatch.com-rrmayarigmail.com-Gmail2019-10-2411-21-09.jpg](/forum/attachment/48004) ](/forum/attachment/48004 "...2411-21-09.jpg")

- [ ![YourorderNo.H4S0S87isnowconfirmedathttpsyourflowerpatch.com-rrmayarigmail.com-Gmail2019-10-2411-21-09.jpg](/forum/attachment/48004) ](/forum/attachment/48004 "...2411-21-09.jpg") [ ](/forum/attachment/48004?download=1 "...2411-21-09.jpg")

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

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

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

7 years 1 month ago [\#312421](#312421) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[how to add custom fields to all email notifications?](/forum/32-content-creation/898550-how-to-add-custom-fields-to-all-email-notifications#312421 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.10 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : none  hi  how to add custom fields to all email notifications?  i want admin and client to get the email notification.")*

You've seen the template, and then you have noted that the tags are inserting the field values, while any label (or other characters, like commas, hyphens, whatever) needs to be entered as text.
You've also seen that the template layout reflects the output: put a tag or text onto a new line, and it should appear on a new line on the site and in emails as well.

In this example you see both options, using PHP for a language constant for the label of {address_telephone}, and using a simple text string (which will do if your site isn't multilingual) as label for {address_telephone2}: Code:

{address_title} {address_firstname} {address_middle_name} {address_lastname} {address_company} {address_street} {address_street2} {address_post_code} {address_city} {address_state} {address_country} &lt;?php echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');?&gt; Mobile Phone: {address_telephone2}

In case of trouble persisting, please post the exact code you are using.

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

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

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