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

#   Add address custom fields in admin order email

##

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

Less More

- Posts: 1195
- Thank you received: 13
-
-

9 years 4 months ago [\#273227](#273227) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  *[Add address custom fields in admin order email](/forum/27-checkout/890982-add-address-custom-fields-in-admin-order-email#273227 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  Hello,  i have created several address custom fields (vat number, job etc) that appear when a user wants invoice instead of receipt. So, when an order is created and invoice is selected, i want the admin order email to include those custom fields. How can i do that?  Thank you in advance")* was created by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")*

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.7.2
-- PHP version -- : 7.0

Hello,

i have created several address custom fields (vat number, job etc) that appear when a user wants invoice instead of receipt.
So, when an order is created and invoice is selected, i want the admin order email to include those custom fields.
How can i do that?

Thank you in advance

- [ ![Untitled-1&#95;2017-07-03.jpg](/forum/attachment/39024) ](/forum/attachment/39024 "...2017-07-03.jpg") [ ](/forum/attachment/39024?download=1 "...2017-07-03.jpg")

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

9 years 4 months ago [\#273229](#273229) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add address custom fields in admin order email](/forum/27-checkout/890982-add-address-custom-fields-in-admin-order-email#273229 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  Hello,  i have created several address custom fields (vat number, job etc) that appear when a user wants invoice instead of receipt. So, when an order is created and invoice is selected, i want the admin order email to include those custom fields. How can i do that?  Thank you in advance")*

Hi,

You can add their corresponding tags in the "address format" setting of the HikaShop configuration.

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

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

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

Less More

- Posts: 1195
- Thank you received: 13
-
-

9 years 4 months ago [\#273609](#273609) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Add address custom fields in admin order email](/forum/27-checkout/890982-add-address-custom-fields-in-admin-order-email#273609 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  Hello,  i have created several address custom fields (vat number, job etc) that appear when a user wants invoice instead of receipt. So, when an order is created and invoice is selected, i want the admin order email to include those custom fields. How can i do that?  Thank you in advance")*

Thank you nicolas,

another thing, vat number field is displayed only if the customer selects invoice, so in case the customer selects receipt there is an empty line in the address. Also this () shows up.
I would like to add a title before each address field, how can i do that?

Thank you

- [ ![Untitled-1&#95;2017-07-10.jpg](/forum/attachment/39121) ](/forum/attachment/39121 "...2017-07-10.jpg") [ ](/forum/attachment/39121?download=1 "...2017-07-10.jpg")

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

9 years 4 months ago [\#273610](#273610) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add address custom fields in admin order email](/forum/27-checkout/890982-add-address-custom-fields-in-admin-order-email#273610 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  Hello,  i have created several address custom fields (vat number, job etc) that appear when a user wants invoice instead of receipt. So, when an order is created and invoice is selected, i want the admin order email to include those custom fields. How can i do that?  Thank you in advance")*

Hi,

You can write the text you want directly in the address format field. you can add any HTML you want in there around the tags.

You also have the "mini address format" setting in the HikaShop configuration, which is used for the title.
As you can see there, the default format is: Code:

{address_lastname} {address_firstname} - {address_street}, {address_state} ({address_country})

so if you have (), it just means that you don't have any country selected.
If you've disabled the country field, then you want to remove the ({address_country}) bit from the mini address format so that it doesn't display.

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

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

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