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

#   Complete order number in admin notification

##

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

Less More

- Posts: 38
- Thank you received: 2
-
-

12 years 11 months ago [\#131732](#131732) by [fg80hun](/forum/user/8461-fg80hun "View fg80hun's Profile")  *[Complete order number in admin notification](/forum/4-how-to/863504-complete-order-number-in-admin-notification#131732 "Hi all,  Previously we created an email customization for sending order details in email for the packaging department. Sendind this in email is mandatory, they do not have access to the webshop admin backend. This still works with the html customization we made. In the latest updated hikashop version, quite nice new email templates are introduced which is a good idea. Our problem is, if we revert back to the updated email template (remove customization) only the last counter part of the order number is sent to the admin. We created a custom order number format as &quot;RE&quot;-&quot;some random string&quot;-&quot;the counter&quot;, but only the last &quot;counter part&quot; is sent out. How to include the complete order string in the admin notif. email? The order number customization made in the hikashop backend via the interface. Thanks in advance.  -- HikaShop version -- : 2.2.2 business latest updated -- Joomla version -- : Joomla! 2.5.9 Stable &#91; Ember &#93; Joomla Platform 11.4.0 -- PHP version -- : 5.2.17 db: 5.5.30-1 -- Browser(s) name and version -- : Mozilla latest -- Error-message(debug-mod must be tuned on) -- : -")* was created by *[fg80hun](/forum/user/8461-fg80hun "View fg80hun's Profile")*

Hi all,

Previously we created an email customization for sending order details in email for the packaging department. Sendind this in email is mandatory, they do not have access to the webshop admin backend. This still works with the html customization we made. In the latest updated hikashop version, quite nice new email templates are introduced which is a good idea. Our problem is, if we revert back to the updated email template (remove customization) only the last counter part of the order number is sent to the admin. We created a custom order number format as "RE"-"some random string"-"the counter", but only the last "counter part" is sent out. How to include the complete order string in the admin notif. email? The order number customization made in the hikashop backend via the interface.
Thanks in advance.

-- HikaShop version -- : 2.2.2 business latest updated
-- Joomla version -- : Joomla! 2.5.9 Stable [ Ember ] Joomla Platform 11.4.0
-- PHP version -- : 5.2.17 db: 5.5.30-1
-- Browser(s) name and version -- : Mozilla latest
-- Error-message(debug-mod must be tuned on) -- : -

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MzUwNC1jb21wbGV0ZS1vcmRlci1udW1iZXItaW4tYWRtaW4tbm90aWZpY2F0aW9uP3RtcGw9bWFya2Rvd24=) 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: 86299
- Thank you received: 14273
-
-

12 years 11 months ago -  12 years 11 months ago [\#131769](#131769) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Complete order number in admin notification](/forum/4-how-to/863504-complete-order-number-in-admin-notification#131769 "Hi all,  Previously we created an email customization for sending order details in email for the packaging department. Sendind this in email is mandatory, they do not have access to the webshop admin backend. This still works with the html customization we made. In the latest updated hikashop version, quite nice new email templates are introduced which is a good idea. Our problem is, if we revert back to the updated email template (remove customization) only the last counter part of the order number is sent to the admin. We created a custom order number format as &quot;RE&quot;-&quot;some random string&quot;-&quot;the counter&quot;, but only the last &quot;counter part&quot; is sent out. How to include the complete order string in the admin notif. email? The order number customization made in the hikashop backend via the interface. Thanks in advance.  -- HikaShop version -- : 2.2.2 business latest updated -- Joomla version -- : Joomla! 2.5.9 Stable &#91; Ember &#93; Joomla Platform 11.4.0 -- PHP version -- : 5.2.17 db: 5.5.30-1 -- Browser(s) name and version -- : Mozilla latest -- Error-message(debug-mod must be tuned on) -- : -")*

Hi,

That's a bug of the 2.2.2.
You need to edit the order admin notification preload file ( media/com_hikashop/mail/order_admin_notification.preload.php ) and change the line:
'ORDER_NUMBER' =&gt; $data-&gt;order_id,

to:
'ORDER_NUMBER' =&gt; $data-&gt;order_number,

and it will work.

Last edit: 12 years 11 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

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

[](#top)
