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

#   Characteristics/product code on invoice

##

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

Less More

- Posts: 47
- Thank you received: 1
-
-

13 years 2 weeks ago -  13 years 2 weeks ago [\#128149](#128149) by [word](/forum/user/12503-word "View word's Profile")  *[Characteristics/product code on invoice](/forum/35-orders-management/862860-characteristics-product-code-on-invoice#128149 "Hello- Can you please direct me to the files that I can edit to show the characteristics name on the invoice? I do not want it on the product page, so I have that disabled. But I would like it on the...")* was created by *[word](/forum/user/12503-word "View word's Profile")*

Hello- Can you please direct me to the files that I can edit to show the characteristics name on the invoice? I do not want it on the product page, so I have that disabled. But I would like it on the invoice, as it appears on the order screen in the backend.

I did numerous searches and saw to edit the file order/invoice, but I couldn't find such file, nor would I know what to do if I did find it.
Shown is picture of the invoice now, the product name and custom field is shown, but not the characteristics.

Thanks in advance!!
[ ![h2e3f58c.png](/forum/attachment/12909) ](/forum/attachment/12909 "h2e3f58c.png")

- [ ![h2e3f58c.png](/forum/attachment/12909) ](/forum/attachment/12909 "h2e3f58c.png") [ ](/forum/attachment/12909?download=1 "h2e3f58c.png")

Last edit: 13 years 2 weeks ago by [word](/forum/user/12503-word "View word's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg2Mjg2MC1jaGFyYWN0ZXJpc3RpY3MtcHJvZHVjdC1jb2RlLW9uLWludm9pY2U/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
-
-
-

13 years 2 weeks ago [\#128166](#128166) 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 *[Characteristics/product code on invoice](/forum/35-orders-management/862860-characteristics-product-code-on-invoice#128166 "Hello- Can you please direct me to the files that I can edit to show the characteristics name on the invoice? I do not want it on the product page, so I have that disabled. But I would like it on the...")*

Hi,

You'll be able to edit this file through "*Hikashop-&gt;Display-&gt;Views*" by editing the "**invoice**" file of your "**order**" view of your **back-end template**.

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

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

Less More

- Posts: 47
- Thank you received: 1
-
-

13 years 2 weeks ago [\#128177](#128177) by [word](/forum/user/12503-word "View word's Profile")  Replied by *[word](/forum/user/12503-word "View word's Profile")* on topic *[Characteristics/product code on invoice](/forum/35-orders-management/862860-characteristics-product-code-on-invoice#128177 "Hello- Can you please direct me to the files that I can edit to show the characteristics name on the invoice? I do not want it on the product page, so I have that disabled. But I would like it on the...")*

Thanks Mohamed, Can you please advise me on the code to place?

thanks

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 1 week ago [\#128295](#128295) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Characteristics/product code on invoice](/forum/35-orders-management/862860-characteristics-product-code-on-invoice#128295 "Hello- Can you please direct me to the files that I can edit to show the characteristics name on the invoice? I do not want it on the product page, so I have that disabled. But I would like it on the...")*

Hi,

You need to be placed in the foreach "foreach($this-&gt;order-&gt;products as $product){"
and use something like: Code:

$productClass = hikashop_get('class.product'); $fullProduct = $productClass-&gt;get($product-&gt;order_product_id); $characteristic = str_replace('Product_with_variant_','',$fullProduct-&gt;product_code); $db = JFactory::getDbo(); $db-&gt;setQuery("SELECT 'characteristic_id' FROM ".hikashop_table('characteristic')." WHERE 'characteristic_id' = ".(int)$characteristic); $characteristic = $db-&gt;loadResult(); echo $characteristic;

This code is maybe wrong (not tested) but it's the way of doing that.

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

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

Less More

- Posts: 47
- Thank you received: 1
-
-

13 years 1 week ago [\#128392](#128392) by [word](/forum/user/12503-word "View word's Profile")  Replied by *[word](/forum/user/12503-word "View word's Profile")* on topic *[Characteristics/product code on invoice](/forum/35-orders-management/862860-characteristics-product-code-on-invoice#128392 "Hello- Can you please direct me to the files that I can edit to show the characteristics name on the invoice? I do not want it on the product page, so I have that disabled. But I would like it on the...")*

Thanks guys. I am still having a bit of trouble. Here is the best I could do:

[ ![h50ee231.png](/forum/attachment/12938) ](/forum/attachment/12938 "h50ee231.png")

It's in the right place, maybe the code is wrong? Maybe I placed it wrong? I don't know what to look for.

Thanks for you help.

- [ ![h50ee231.png](/forum/attachment/12938) ](/forum/attachment/12938 "h50ee231.png") [ ](/forum/attachment/12938?download=1 "h50ee231.png")

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

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

Less More

- Posts: 47
- Thank you received: 1
-
-

13 years 1 week ago -  13 years 1 week ago [\#128427](#128427) by [word](/forum/user/12503-word "View word's Profile")  Replied by *[word](/forum/user/12503-word "View word's Profile")* on topic *[Characteristics/product code on invoice](/forum/35-orders-management/862860-characteristics-product-code-on-invoice#128427 "Hello- Can you please direct me to the files that I can edit to show the characteristics name on the invoice? I do not want it on the product page, so I have that disabled. But I would like it on the...")*

OK, I have been working on this code and getting nowhere. :S Let me rephrase my request, maybe you guys have a better way of doing it. ![:)](/media/kunena/emoticons/8.png ":)")

I would like to display the product code on the invoice but not the product page.

The characteristics are set to show on the product page, and that works. But I would like the code on the invoice but not the product page. Is it possible?

Thanks for all your help!!!!

Last edit: 13 years 1 week ago by [word](/forum/user/12503-word "View word's Profile").

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

Less More

- Posts: 86302
- Thank you received: 14273
-
-

13 years 1 week ago [\#128474](#128474) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Characteristics/product code on invoice](/forum/35-orders-management/862860-characteristics-product-code-on-invoice#128474 "Hello- Can you please direct me to the files that I can edit to show the characteristics name on the invoice? I do not want it on the product page, so I have that disabled. But I would like it on the...")*

You added the code in the HTML of the page, not in the PHP code of the page. So you need to add the tag &lt;?php at the beginning and the tag ?&gt; at the end so that the code is interpreted and not simply displayed like you have on your screenshot.

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

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

Less More

- Posts: 47
- Thank you received: 1
-
-

13 years 1 week ago -  13 years 1 week ago [\#128478](#128478) by [word](/forum/user/12503-word "View word's Profile")  Replied by *[word](/forum/user/12503-word "View word's Profile")* on topic *[Characteristics/product code on invoice](/forum/35-orders-management/862860-characteristics-product-code-on-invoice#128478 "Hello- Can you please direct me to the files that I can edit to show the characteristics name on the invoice? I do not want it on the product page, so I have that disabled. But I would like it on the...")*

Thanks Nicolas. I think there may be an easier way to do this. How can I remove the product code from the product page? I would like to remove the numbers in the box.

Thanks

- [ ![h6ea66ab.png](/forum/attachment/12954) ](/forum/attachment/12954 "h6ea66ab.png") [ ](/forum/attachment/12954?download=1 "h6ea66ab.png")

Last edit: 13 years 1 week ago by [word](/forum/user/12503-word "View word's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 1 week ago [\#128490](#128490) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Characteristics/product code on invoice](/forum/35-orders-management/862860-characteristics-product-code-on-invoice#128490 "Hello- Can you please direct me to the files that I can edit to show the characteristics name on the invoice? I do not want it on the product page, so I have that disabled. But I would like it on the...")*

Hi,

By using this css property: Code:

.hikashop_product_page .hikashop_product_code_main{ display: none;}

Thanks to read our documentation about how to customize the layout:
[ www.hikashop.com/support/documentation/1...ize-the-display.html](http://www.hikashop.com/support/documentation/153-customize-the-display.html)

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

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

Less More

- Posts: 47
- Thank you received: 1
-
-

13 years 1 week ago [\#128548](#128548) by [word](/forum/user/12503-word "View word's Profile")  Replied by *[word](/forum/user/12503-word "View word's Profile")* on topic *[Characteristics/product code on invoice](/forum/35-orders-management/862860-characteristics-product-code-on-invoice#128548 "Hello- Can you please direct me to the files that I can edit to show the characteristics name on the invoice? I do not want it on the product page, so I have that disabled. But I would like it on the...")*

Got it! Thanks so much guys!

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

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

[](#top)
