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

#   add Product Code to Admin notification email?

##

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

Less More

- Posts: 33
- Thank you received: 0
-
-

12 years 9 months ago [\#142183](#142183) by [medean](/forum/user/30772-medean "View medean's Profile")  Replied by *[medean](/forum/user/30772-medean "View medean's Profile")* on topic *[add Product Code to Admin notification email?](/forum/4-how-to/38562-add-product-code-to-admin-notification-email?start=20#142183 "How would i add the Product Code to each item in the Admin notification email?  thanks")*

I am also late now, sorry - we just moved.

Honestly, I can´t tell that. I wrote just everywhere the mail adress from the company I made the homepage for where it was asked for.
So when a order is made a email reaches them which tells that a order is made with the product name and so on...
I hope you know which one is that usually?
thanks

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

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

Less More

- Posts: 33
- Thank you received: 0
-
-

12 years 9 months ago [\#142243](#142243) by [medean](/forum/user/30772-medean "View medean's Profile")  Replied by *[medean](/forum/user/30772-medean "View medean's Profile")* on topic *[add Product Code to Admin notification email?](/forum/4-how-to/38562-add-product-code-to-admin-notification-email?start=20#142243 "How would i add the Product Code to each item in the Admin notification email?  thanks")*

The Email subject - when I translate that from german to english is:
On your website was made a new order

In the Email is written:
The order is now open
The customer mail-address
The order no
paying method
billing and shipping address
the ordered product with it´s pic, how many and the price

and that was it.

think that should be the Order creation notification mail

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 9 months ago [\#142278](#142278) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[add Product Code to Admin notification email?](/forum/4-how-to/38562-add-product-code-to-admin-notification-email?start=20#142278 "How would i add the Product Code to each item in the Admin notification email?  thanks")*

Ok, and can you apply the modifications that I gave you through these 3 emails (Order creation notification/Order administrator notification/Order status notification) and tell me if your product code is displaying ?

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

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

Less More

- Posts: 33
- Thank you received: 0
-
-

12 years 9 months ago [\#142393](#142393) by [medean](/forum/user/30772-medean "View medean's Profile")  Replied by *[medean](/forum/user/30772-medean "View medean's Profile")* on topic *[add Product Code to Admin notification email?](/forum/4-how-to/38562-add-product-code-to-admin-notification-email?start=20#142393 "How would i add the Product Code to each item in the Admin notification email?  thanks")*

Hi,

I changed it like you said and now I can see the product code ![:)](/media/kunena/emoticons/3.png ":)")

But also really important is that the coupon code is also seen in there...how can I do that?

thanks

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

12 years 9 months ago [\#142657](#142657) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[add Product Code to Admin notification email?](/forum/4-how-to/38562-add-product-code-to-admin-notification-email?start=20#142657 "How would i add the Product Code to each item in the Admin notification email?  thanks")*

Hi there,

The coupon code is in the variable $data-&gt;order_discount_code;
You can display it wherever you want ![:)](/media/kunena/emoticons/3.png ":)")

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

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

Less More

- Posts: 33
- Thank you received: 0
-
-

12 years 9 months ago [\#142673](#142673) by [medean](/forum/user/30772-medean "View medean's Profile")  Replied by *[medean](/forum/user/30772-medean "View medean's Profile")* on topic *[add Product Code to Admin notification email?](/forum/4-how-to/38562-add-product-code-to-admin-notification-email?start=20#142673 "How would i add the Product Code to each item in the Admin notification email?  thanks")*

[ ![h7a92c93.jpg](/forum/attachment/15125) ](/forum/attachment/15125 "h7a92c93.jpg")

that´s how I changed it, but it´s still not seen in the Email....

I am a bit confused - I need the coupon code and not the discount one (it´s just when I translate that from englisch to german that are two different things for me), is
$data-&gt;order_discount_code;
that the right text I have to add?
thanks

- [ ![h7a92c93.jpg](/forum/attachment/15125) ](/forum/attachment/15125 "h7a92c93.jpg") [ ](/forum/attachment/15125?download=1 "h7a92c93.jpg")

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

12 years 9 months ago [\#142690](#142690) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[add Product Code to Admin notification email?](/forum/4-how-to/38562-add-product-code-to-admin-notification-email?start=20#142690 "How would i add the Product Code to each item in the Admin notification email?  thanks")*

discount and coupon are different but it's the same code.
You need an echo before though:
echo $data-&gt;order_discount_code;

It will display the code.

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

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

Less More

- Posts: 33
- Thank you received: 0
-
-

12 years 9 months ago [\#142797](#142797) by [medean](/forum/user/30772-medean "View medean's Profile")  Replied by *[medean](/forum/user/30772-medean "View medean's Profile")* on topic *[add Product Code to Admin notification email?](/forum/4-how-to/38562-add-product-code-to-admin-notification-email?start=20#142797 "How would i add the Product Code to each item in the Admin notification email?  thanks")*

Hi,

I tried many different versions now and the only way I could display the right code was to set
echo $data-&gt;order_discount_code;
at the end of the html code from the admin order notification Email.
But the result is not so nice ... the coupon code is standing on top of the Email:

[ ![hc1dc9d5.jpg](/forum/attachment/15150) ](/forum/attachment/15150 "hc1dc9d5.jpg")

When I tried to put it somewhere else I had just the raw html code shown in the Email:

[ ![h74eaccb.jpg](/forum/attachment/15149) ](/forum/attachment/15149 "h74eaccb.jpg")

Would it be possible to have it like in the next picture? - It would be so nice and easy if you could see the code in brackets behind the word "Gutschein" (Coupon) or at least somewhere under the shipping method.

[ ![h0011975.jpg](/forum/attachment/15151) ](/forum/attachment/15151 "h0011975.jpg")

I am really sorry, seems to be just an easy thing but I can´t manage it :blush:

would be so greatful for help with a detailed description or screenshot where to put the text.

thanks

- [ ![h74eaccb.jpg](/forum/attachment/15149) ](/forum/attachment/15149 "h74eaccb.jpg") [ ](/forum/attachment/15149?download=1 "h74eaccb.jpg")
- [ ![hc1dc9d5.jpg](/forum/attachment/15150) ](/forum/attachment/15150 "hc1dc9d5.jpg") [ ](/forum/attachment/15150?download=1 "hc1dc9d5.jpg")
- [ ![h0011975.jpg](/forum/attachment/15151) ](/forum/attachment/15151 "h0011975.jpg") [ ](/forum/attachment/15151?download=1 "h0011975.jpg")

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

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

Less More

- Posts: 33
- Thank you received: 0
-
-

12 years 9 months ago [\#143382](#143382) by [medean](/forum/user/30772-medean "View medean's Profile")  Replied by *[medean](/forum/user/30772-medean "View medean's Profile")* on topic *[add Product Code to Admin notification email?](/forum/4-how-to/38562-add-product-code-to-admin-notification-email?start=20#143382 "How would i add the Product Code to each item in the Admin notification email?  thanks")*

Hi,
I know you are quite busy but after getting no reply after 4 days I decided to post my problem in a newer thread - thought also the importance is not so high cause the thread is so old.
regards

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

12 years 9 months ago [\#143433](#143433) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[add Product Code to Admin notification email?](/forum/4-how-to/38562-add-product-code-to-admin-notification-email?start=20#143433 "How would i add the Product Code to each item in the Admin notification email?  thanks")*

I answered you in the other thread: [ www.hikashop.com/forum/orders-management...on-email.html#143387](http://www.hikashop.com/forum/orders-management/865617-adding-coupon-number-to-the-notification-email.html#143387)

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

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

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