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

#   Add custom DATE field in mail ORDER\_ADMIN\_NOTIFICATION

##

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

Less More

- Posts: 1
- Thank you received: 0
-
-

6 years 4 months ago [\#320955](#320955) by [wexpose](/forum/user/30901-wexpose "View wexpose's Profile")  *[Add custom DATE field in mail ORDER\_ADMIN\_NOTIFICATION](/forum/36-reports-statistics/900211-add-custom-date-field-in-mail-order-admin-notification#320955 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.8  HI,  We have added a custom field (table address column date) and would like to add this to the mail send to the admin. This works with {VAR:billing&#95;address.date} but the result is &quot;20200620000000&quot; where we would like to format the date like d/m/Y. How can we do this?  Kinds regards.")* was created by *[wexpose](/forum/user/30901-wexpose "View wexpose's Profile")*

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.8

HI,

We have added a custom field (table address column date) and would like to add this to the mail send to the admin.
This works with {VAR:billing_address.date} but the result is "20200620000000" where we would like to format the date like d/m/Y.
How can we do this?

Kinds regards.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDAyMTEtYWRkLWN1c3RvbS1kYXRlLWZpZWxkLWluLW1haWwtb3JkZXItYWRtaW4tbm90aWZpY2F0aW9uP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

6 years 4 months ago [\#320968](#320968) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add custom DATE field in mail ORDER\_ADMIN\_NOTIFICATION](/forum/36-reports-statistics/900211-add-custom-date-field-in-mail-order-admin-notification#320968 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.8  HI,  We have added a custom field (table address column date) and would like to add this to the mail send to the admin. This works with {VAR:billing&#95;address.date} but the result is &quot;20200620000000&quot; where we would like to format the date like d/m/Y. How can we do this?  Kinds regards.")*

Hi,

Yes, the email tags display the raw data from the database.
So for the date, you can't do it like that.
However, if it's a custom address field, why not add its tag to the "address format" setting under the Checkout tab of the Hikashop configuration ? In that case, the field data will be converted properly and it will appear along with the rest of the address.

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

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

[](#top)
