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

#   \[Solved\] Cannot display product-code on invoice

##

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

Less More

- Posts: 56
- Thank you received: 0
-
-

12 years 8 months ago -  12 years 8 months ago [\#142125](#142125) by [savio](/forum/user/6396-savio "View savio's Profile")  *[\[Solved\] Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#142125 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")* was created by *[savio](/forum/user/6396-savio "View savio's Profile")*

Hikashop version: 2.2.3
Joomla version: 2.5.17
PHP version: 5.2.17

I have search and read including these two threads.
[ www.hikashop.com/forum/product-category-...ring-on-invoice.html](http://www.hikashop.com/forum/product-category-display/863944-product-code-not-appearing-on-invoice.html)
[ www.hikashop.com/forum/orders-management...code-on-invoice.html](http://www.hikashop.com/forum/orders-management/862860-characteristics-product-code-on-invoice.html)

I've edited the code of order/invoice.php through "Hikashop-&gt;Display-&gt;Views" by editing the "invoice" file of "order" view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that &lt;td&gt;..&lt;/td&gt;, but it doesn't.
Code:

134 foreach($this-&gt;order-&gt;products as $product){ 135 if($group &amp;&amp; $product-&gt;order_product_option_parent_id) continue; 136 ?&gt; 137 &lt;tr class="row&lt;?php echo $k;?&gt;"&gt; 138 &lt;td&gt; 139 &lt;?php echo $product-&gt;order_product_name;?&gt; 140 &lt;p class="hikashop_order_product_custom_item_fields"&gt;

Sorry for my limited knowledge on php. Should I insert it somewhere else.

Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.

Thanks

Last edit: 12 years 8 months ago by [savio](/forum/user/6396-savio "View savio's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2NTUxNi1zb2x2ZWQtY2Fubm90LWRpc3BsYXktcHJvZHVjdC1jb2RlLW9uLWludm9pY2U/dG1wbD1tYXJrZG93bg==) 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 8 months ago [\#142156](#142156) 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 *[Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#142156 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")*

Hi,
Can you set the "Display product code" option through "*Hikashop-&gt;System-&gt;Configuration-&gt;Display*" to **YES** and see if it display your product code ?
Also, you should revert the modifications that you have made through your "invoice" file ![:)](/media/kunena/emoticons/8.png ":)").

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

12 years 8 months ago [\#142160](#142160) by [savio](/forum/user/6396-savio "View savio's Profile")  Replied by *[savio](/forum/user/6396-savio "View savio's Profile")* on topic *[Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#142160 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")*

You mean under "Default paramaters for products"? It is "Yes" already, before I search solution to get it on invoice.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2NTUxNi1zb2x2ZWQtY2Fubm90LWRpc3BsYXktcHJvZHVjdC1jb2RlLW9uLWludm9pY2U/dG1wbD1tYXJrZG93bg==) 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 8 months ago [\#142341](#142341) 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 *[Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#142341 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")*

Yes I was talking about that option, can you :
1. Download the last Hikashop version through our website, install it, and test it again ?
2. Revert your changes through your "invoice" file
3. Make sure that the "Display product code" option is set to **YES**

And test it again ?

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

12 years 8 months ago -  12 years 8 months ago [\#142358](#142358) by [savio](/forum/user/6396-savio "View savio's Profile")  Replied by *[savio](/forum/user/6396-savio "View savio's Profile")* on topic *[Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#142358 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")*

Thanks for your reply. Just test again according to your steps. No luck.

I can see product code on product page and in the shopping cart before check out. However, what I need now is to have the product code printed on _invoice_, that is on the email to addresses on "Order creation notifications email address" (under Hikashop&gt;configure&gt;main&gt;email) for easy product picking. I don't mind whether it appear or not on the invoice to the customer.

Last edit: 12 years 8 months ago by [savio](/forum/user/6396-savio "View savio's Profile").

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

12 years 8 months ago [\#142386](#142386) by [savio](/forum/user/6396-savio "View savio's Profile")  Replied by *[savio](/forum/user/6396-savio "View savio's Profile")* on topic *[Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#142386 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")*

I start to wonder if it is a bug!?!?

I did a crazy test, I remove over 90% of lines in the invoice.php file thru ""Hikashop-&gt;Display-&gt;Views" by editing the "invoice" file of "order" view of my back-end template." Create a new order at front end and still receive a COMPLETE invoice!!! So, is it the correct file to edit? Or you guys are working on a better solution but not ready to release yet?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2NTUxNi1zb2x2ZWQtY2Fubm90LWRpc3BsYXktcHJvZHVjdC1jb2RlLW9uLWludm9pY2U/dG1wbD1tYXJrZG93bg==) 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 8 months ago [\#142427](#142427) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#142427 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")*

Hi there,

I think the view you edited is the one that display order information on the backend, not the one which is mailed.
Just to make sure, you want to edit the mail sent to your customer? If so, you should go to System&gt;Email and edit the order email.

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

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

12 years 8 months ago [\#142463](#142463) by [savio](/forum/user/6396-savio "View savio's Profile")  Replied by *[savio](/forum/user/6396-savio "View savio's Profile")* on topic *[Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#142463 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")*

yes, I want to edit the mail send to customer (in fact, send to the "order creation notification email address"). How can I do that? Can't find it in the System&gt;Email section (where I enter the notification email address).

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

12 years 8 months ago [\#142465](#142465) by [savio](/forum/user/6396-savio "View savio's Profile")  Replied by *[savio](/forum/user/6396-savio "View savio's Profile")* on topic *[Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#142465 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")*

ok, I find it on a site where the Business version is used. The site I am working on use your free version. So, I think I need to find some way out. Thanks a lot for your help.

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

12 years 8 months ago [\#142550](#142550) by [savio](/forum/user/6396-savio "View savio's Profile")  Replied by *[savio](/forum/user/6396-savio "View savio's Profile")* on topic *[Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#142550 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")*

Hi Eliot,

Sorry I read, checked (the site backend screen), and replied on my mobile. When I back to my PC and check detail the System&gt;Email you mentioned, I see only
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.1.0 * @author hikashop.com * @copyright (C) 2010-2012 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php

Am I suppose to copy the php scripts from Hikashop-&gt;Display-&gt;Views-&gt;Invoice, add some lines to display the product-code, paste it to System-&gt;Email; then the original email will be replaced by this one?

BTW, to clarify, for the most basic operation, when an order is confirmed, an email (of the invoice) is sent to the client and the System-&gt;Main-&gt;Emails-&gt;Order.creation.notifications.email.address. What is the official name of this email? "email", "invoice", "order", or what?

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

12 years 8 months ago [\#142552](#142552) by [savio](/forum/user/6396-savio "View savio's Profile")  Replied by *[savio](/forum/user/6396-savio "View savio's Profile")* on topic *[Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#142552 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")*

Hi Mohamed Thelji,

I still wonder if it is a bug!?!?

I did a crazy test, I remove over 90% of lines in the invoice.php file thru ""Hikashop-&gt;Display-&gt;Views" by editing the "invoice" file of "order" view of my back-end template." Create a new order at front end and still receive a COMPLETE invoice!!! So, is it the correct file to edit? Or you guys are working on a better solution but not ready to release yet?

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

12 years 8 months ago -  12 years 8 months ago [\#142604](#142604) by [savio](/forum/user/6396-savio "View savio's Profile")  Replied by *[savio](/forum/user/6396-savio "View savio's Profile")* on topic *[Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#142604 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")*

My bad.

Under System-&gt;Email, I only opened the "Order Notification" but not the "Order Administrator Notification" where looks more promising.

Thanks a lot for all your replies.

Last edit: 12 years 8 months ago by [savio](/forum/user/6396-savio "View savio's Profile").

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

12 years 8 months ago [\#142783](#142783) by [savio](/forum/user/6396-savio "View savio's Profile")  Replied by *[savio](/forum/user/6396-savio "View savio's Profile")* on topic *[Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#142783 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")*

Problem perfectly solved by
1. Update to the latest business version
2. [ www.hikashop.com/forum/4-how-to/38562-ad...imitstart=0&amp;start=20](http://www.hikashop.com/forum/4-how-to/38562-add-product-code-to-admin-notification-email.html?limitstart=0&start=20)

Hope this can help people who have similar problem but don't get the correct keyword to search.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2NTUxNi1zb2x2ZWQtY2Fubm90LWRpc3BsYXktcHJvZHVjdC1jb2RlLW9uLWludm9pY2U/dG1wbD1tYXJrZG93bg==) 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 8 months ago [\#143485](#143485) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Cannot display product-code on invoice](/forum/35-orders-management/865516-solved-cannot-display-product-code-on-invoice#143485 "Hikashop version: 2.2.3 Joomla version: 2.5.17 PHP version: 5.2.17  I have search and read including these two threads.   www.hikashop.com/forum/product-category-...ring-on-invoice.html    www.hikashop.com/forum/orders-management...code-on-invoice.html  I've edited the code of order/invoice.php through &quot;Hikashop-&gt;Display-&gt;Views&quot; by editing the &quot;invoice&quot; file of &quot;order&quot; view of my back-end template. I insert lines between line# 139 &amp; 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that .., but it doesn't.  Sorry for my limited knowledge on php. Should I insert it somewhere else.  Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.  Thanks")*

Glad to see you solved this by yourself ![:)](/media/kunena/emoticons/8.png ":)").
And thanks for sharing your solution, it will definitely help our customers!

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

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

[](#top)
