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

#   Part code display

##

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

Less More

- Posts: 179
- Thank you received: 17
-
-
- [](http://oceansafety.com)
-

15 years 3 months ago -  15 years 3 months ago [\#22115](#22115) by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile")  *[Part code display](/forum/4-how-to/22115-part-code-display#22115 "Hi There  I want to display the part codes :)  I know I can switch on Part codes and they display at the end the the Product name. This just seems a really strange place for them.  I would love to display them on the lines just before the QTY and Add to cart buttons :  ie:  Partcode : LIF2080  QTY 1 Add to cart  But for the life of me I cant find where to do this in the views. Im sure I am being blind but have spent many an hour looking for this :(  Any help is as always hugely appreciated :)  Regards Rich.")* was created by *[rikatos](/forum/user/1634-rikatos "View rikatos's Profile")*

Hi There

I want to display the part codes ![:)](/media/kunena/emoticons/3.png ":)")

I know I can switch on Part codes and they display at the end the the Product name. This just seems a really strange place for them.

I would love to display them on the lines just before the QTY and Add to cart buttons :

ie:

Partcode : LIF2080

QTY 1 Add to cart

But for the life of me I cant find where to do this in the views. Im sure I am being blind but have spent many an hour looking for this ![:(](/media/kunena/emoticons/22.png ":(")

Any help is as always hugely appreciated ![:)](/media/kunena/emoticons/3.png ":)")

Regards
Rich.

Last edit: 15 years 3 months ago by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile").

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

15 years 3 months ago [\#22126](#22126) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Part code display](/forum/4-how-to/22115-part-code-display#22126 "Hi There  I want to display the part codes :)  I know I can switch on Part codes and they display at the end the the Product name. This just seems a really strange place for them.  I would love to display them on the lines just before the QTY and Add to cart buttons :  ie:  Partcode : LIF2080  QTY 1 Add to cart  But for the life of me I cant find where to do this in the views. Im sure I am being blind but have spent many an hour looking for this :(  Any help is as always hugely appreciated :)  Regards Rich.")*

Hi,

What is a part code ?
If you're talking about the product code on the product page, the code to display it is located in the file "show" of the view "product" that you can edit via the menu Display-&gt;Views:
&lt;span id="hikashop_product_code_main" class="hikashop_product_code_main"&gt;
&lt;?php
echo $this-&gt;element-&gt;product_code;
?&gt;
&lt;/span&gt;

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

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

Less More

- Posts: 179
- Thank you received: 17
-
-
- [](http://oceansafety.com)
-

15 years 3 months ago [\#22130](#22130) by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile")  Replied by *[rikatos](/forum/user/1634-rikatos "View rikatos's Profile")* on topic *[Re: Part code display](/forum/4-how-to/22115-part-code-display#22130 "Hi There  I want to display the part codes :)  I know I can switch on Part codes and they display at the end the the Product name. This just seems a really strange place for them.  I would love to display them on the lines just before the QTY and Add to cart buttons :  ie:  Partcode : LIF2080  QTY 1 Add to cart  But for the life of me I cant find where to do this in the views. Im sure I am being blind but have spent many an hour looking for this :(  Any help is as always hugely appreciated :)  Regards Rich.")*

THats it ! I am so sorry, I just couldnt find the file and its so obvious! Thank you for pointer ![:)](/media/kunena/emoticons/3.png ":)")

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

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