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

#   SOLVED - Show product\_code under name

##

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

Less More

- Posts: 37
- Thank you received: 1
-
-

15 years 2 months ago -  15 years 1 month ago [\#24491](#24491) by [Arathol](/forum/user/3260-arathol "View Arathol's Profile")  *[SOLVED - Show product\_code under name](/forum/4-how-to/24491-solved-show-product-code-under-name#24491 "I would like to be able to show the product&#95;code under the product name on the listing pages and in the individual product pages so that users can refer to a particular number when calling the shop?  How is this possible?  Thanks in advance for your help!")* was created by *[Arathol](/forum/user/3260-arathol "View Arathol's Profile")*

I would like to be able to show the product_code under the product name on the listing pages and in the individual product pages so that users can refer to a particular number when calling the shop?

How is this possible?

Thanks in advance for your help!

Last edit: 15 years 1 month ago by [Arathol](/forum/user/3260-arathol "View Arathol's Profile").

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

15 years 2 months ago [\#24503](#24503) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Show product\_code under name](/forum/4-how-to/24491-solved-show-product-code-under-name#24503 "I would like to be able to show the product&#95;code under the product name on the listing pages and in the individual product pages so that users can refer to a particular number when calling the shop?  How is this possible?  Thanks in advance for your help!")*

On the product page, you can just do it by removing some CSS:
[ www.hikashop.com/support/documentation/8...ng.html#product\_code](http://www.hikashop.com/support/documentation/84-css-styling.html#product_code)

For the products listings, you will have to edit the layout file your using of the view "product" via the menu Display-&gt;Views and change the code there to display the product code.

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

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

Less More

- Posts: 37
- Thank you received: 1
-
-

15 years 2 months ago [\#24509](#24509) by [Arathol](/forum/user/3260-arathol "View Arathol's Profile")  Replied by *[Arathol](/forum/user/3260-arathol "View Arathol's Profile")* on topic *[Re: Show product\_code under name](/forum/4-how-to/24491-solved-show-product-code-under-name#24509 "I would like to be able to show the product&#95;code under the product name on the listing pages and in the individual product pages so that users can refer to a particular number when calling the shop?  How is this possible?  Thanks in advance for your help!")*

Thanks for your reply Nicolas.

I'm not sure how or what code to put on the view "product"? Is it possible you code just give me the lines of code. I'm sure i can figure out where to put it in the file.

Thanks!

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

15 years 2 months ago [\#24511](#24511) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Show product\_code under name](/forum/4-how-to/24491-solved-show-product-code-under-name#24511 "I would like to be able to show the product&#95;code under the product name on the listing pages and in the individual product pages so that users can refer to a particular number when calling the shop?  How is this possible?  Thanks in advance for your help!")*

It's just that code: &lt;?php echo $row-&gt;product_code; ?&gt;

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

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

Less More

- Posts: 37
- Thank you received: 1
-
-

15 years 1 month ago -  15 years 1 month ago [\#24754](#24754) by [Arathol](/forum/user/3260-arathol "View Arathol's Profile")  Replied by *[Arathol](/forum/user/3260-arathol "View Arathol's Profile")* on topic *[Re: Show product\_code under name](/forum/4-how-to/24491-solved-show-product-code-under-name#24754 "I would like to be able to show the product&#95;code under the product name on the listing pages and in the individual product pages so that users can refer to a particular number when calling the shop?  How is this possible?  Thanks in advance for your help!")*

Hi Nicolas,

Thanks for the code, but it doesn't seem to work so I dontknow if i'm missing something out.

I added this in the "product / listing_img_title.php" :

&lt;!-- PRODUCT CODE --&gt;
&lt;span class="hikashop_product_code"&gt;
Art: &lt;?php echo $row-&gt;product_code; ?&gt;
&lt;/span&gt;
&lt;!-- EO PRODUCT CODE --&gt;

It shows the "Art: " on the page in the right place, but the code isnt showing next to it?

Pleas ehelp.

Thanks in advance!

Last edit: 15 years 1 month ago by [Arathol](/forum/user/3260-arathol "View Arathol's Profile").

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

15 years 1 month ago [\#24756](#24756) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Show product\_code under name](/forum/4-how-to/24491-solved-show-product-code-under-name#24756 "I would like to be able to show the product&#95;code under the product name on the listing pages and in the individual product pages so that users can refer to a particular number when calling the shop?  How is this possible?  Thanks in advance for your help!")*

My mistake. It's
$this-&gt;row-&gt;product_code;
and not
$row-&gt;product_code;

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

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

Less More

- Posts: 37
- Thank you received: 1
-
-

15 years 1 month ago [\#24881](#24881) by [Arathol](/forum/user/3260-arathol "View Arathol's Profile")  Replied by *[Arathol](/forum/user/3260-arathol "View Arathol's Profile")* on topic *[SOLVED - Show product\_code under name](/forum/4-how-to/24491-solved-show-product-code-under-name#24881 "I would like to be able to show the product&#95;code under the product name on the listing pages and in the individual product pages so that users can refer to a particular number when calling the shop?  How is this possible?  Thanks in advance for your help!")*

Thanks! Worked like a charm.

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

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

[](#top)
