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

#   How to modify Order Creation Notification Email

##

- **[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")**
- [![a2zcs's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33209.jpg)](/forum/user/33209-a2zcs "View a2zcs's Profile") Topic Author
- [ Offline](/forum/user/33209-a2zcs)

Less More

- Posts: 298
- Thank you received: 7
-
-

9 years 7 months ago [\#268189](#268189) by [a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")  *[How to modify Order Creation Notification Email](/forum/33-customers/889967-how-to-modify-order-creation-notification-email#268189 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0 -- Browser(s) name and version -- : FireFox 52.0.2  How can you include the order number in the body of the email as part of a language override?  How can you bold the label of a custom field that is set to display in the email?  Thanks in advance")* was created by *[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")*

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0
-- Browser(s) name and version -- : FireFox 52.0.2

How can you include the order number in the body of the email as part of a language override?

How can you bold the label of a custom field that is set to display in the email?

Thanks in advance

- [ ![Capture&#95;2017-04-26.JPG](/forum/attachment/37837) ](/forum/attachment/37837 "...2017-04-26.JPG") [ ](/forum/attachment/37837?download=1 "...2017-04-26.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84ODk5NjctaG93LXRvLW1vZGlmeS1vcmRlci1jcmVhdGlvbi1ub3RpZmljYXRpb24tZW1haWw/dG1wbD1tYXJrZG93bg==) 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: 86584
- Thank you received: 14325
-
-

9 years 7 months ago [\#268216](#268216) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to modify Order Creation Notification Email](/forum/33-customers/889967-how-to-modify-order-creation-notification-email#268216 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0 -- Browser(s) name and version -- : FireFox 52.0.2  How can you include the order number in the body of the email as part of a language override?  How can you bold the label of a custom field that is set to display in the email?  Thanks in advance")*

Hi,

Edit the email via the menu System&gt;Emails.

There, you can add the tag {VAR:order.order_number} in order to add the order number in the HTML version of the email.
And regarding the custom order fields, you would have to change the line: Code:

echo $sep . $fieldsClass-&gt;trans($oneExtraField-&gt;field_realname).' : '.$fieldsClass-&gt;show($oneExtraField, $data-&gt;cart-&gt;$fieldName, 'user_email');

to something like: Code:

echo $sep . '&lt;strong&gt;'.$fieldsClass-&gt;trans($oneExtraField-&gt;field_realname). '&lt;/strong&gt; : '.$fieldsClass-&gt;show($oneExtraField, $data-&gt;cart-&gt;$fieldName, 'user_email');

in the preload version.

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

- **[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")**
- [![a2zcs's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33209.jpg)](/forum/user/33209-a2zcs "View a2zcs's Profile") Topic Author
- [ Offline](/forum/user/33209-a2zcs)

Less More

- Posts: 298
- Thank you received: 7
-
-

9 years 6 months ago [\#268482](#268482) by [a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")  Replied by *[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")* on topic *[How to modify Order Creation Notification Email](/forum/33-customers/889967-how-to-modify-order-creation-notification-email#268482 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0 -- Browser(s) name and version -- : FireFox 52.0.2  How can you include the order number in the body of the email as part of a language override?  How can you bold the label of a custom field that is set to display in the email?  Thanks in advance")*

Ok, this is weird.
I'll make the change to the html version for the order number and save it, test it and it works. I go and make the change to the preload version for the bolding of the field name and it deletes the change to the html version. It also does it in reverse, if I make the change to the preload version first, What am I missing?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 6 months ago [\#268490](#268490) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to modify Order Creation Notification Email](/forum/33-customers/889967-how-to-modify-order-creation-notification-email#268490 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0 -- Browser(s) name and version -- : FireFox 52.0.2  How can you include the order number in the body of the email as part of a language override?  How can you bold the label of a custom field that is set to display in the email?  Thanks in advance")*

Hello,

Can you please indicate your HikaShop build number ?
[ www.hikashop.com/support/documentation/5...onfig.html#main\_main](https://www.hikashop.com/support/documentation/54-hikashop-config.html#main_main)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")**
- [![a2zcs's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33209.jpg)](/forum/user/33209-a2zcs "View a2zcs's Profile") Topic Author
- [ Offline](/forum/user/33209-a2zcs)

Less More

- Posts: 298
- Thank you received: 7
-
-

9 years 6 months ago [\#268544](#268544) by [a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")  Replied by *[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")* on topic *[How to modify Order Creation Notification Email](/forum/33-customers/889967-how-to-modify-order-creation-notification-email#268544 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0 -- Browser(s) name and version -- : FireFox 52.0.2  How can you include the order number in the body of the email as part of a language override?  How can you bold the label of a custom field that is set to display in the email?  Thanks in advance")*

It is HikaShop Business 3.0.0 [1702151248]

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 6 months ago [\#268545](#268545) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to modify Order Creation Notification Email](/forum/33-customers/889967-how-to-modify-order-creation-notification-email#268545 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0 -- Browser(s) name and version -- : FireFox 52.0.2  How can you include the order number in the body of the email as part of a language override?  How can you bold the label of a custom field that is set to display in the email?  Thanks in advance")*

Hello,

Please download HikaShop 3.0.1 in order to get the latest patches and fixes.
[ www.hikashop.com/support/documentation/5...ashop-changelog.html](https://www.hikashop.com/support/documentation/56-hikashop-changelog.html)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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