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

#   Show product code in checkout/cart

##

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

Less More

- Posts: 32
- Thank you received: 0
-
-

15 years 4 months ago [\#20816](#20816) by [waveforcemedia](/forum/user/3094-waveforcemedia "View waveforcemedia's Profile")  *[Show product code in checkout/cart](/forum/4-how-to/20816-show-product-code-in-checkout-cart#20816 "I want to show the product code in the checkout/cart page when customers checkout. I know why by default only the product name displays in the cart, however showing the product code will also help...")* was created by *[waveforcemedia](/forum/user/3094-waveforcemedia "View waveforcemedia's Profile")*

I want to show the product code in the checkout/cart page when customers checkout. I know why by default only the product name displays in the cart, however showing the product code will also help sort out what exactly what the customer is buying on their end.

I only want it to display on the checkout/cart, does anyone know how to do this?

I have searched and saw threads about going to Display -&gt; Views but don't know how to edit the php file and which view file as well.

Any advice will help!

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

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 4 months ago [\#20832](#20832) 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 in checkout/cart](/forum/4-how-to/20816-show-product-code-in-checkout-cart#20832 "I want to show the product code in the checkout/cart page when customers checkout. I know why by default only the product name displays in the cart, however showing the product code will also help...")*

You can just change the code:
echo $row-&gt;product_name;
to:
echo $row-&gt;product_name. ' '.$row-&gt;product_code;

in the file cart of the view checkout via the menu Display-&gt;Views.

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

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

Less More

- Posts: 32
- Thank you received: 0
-
-

15 years 4 months ago [\#20851](#20851) by [waveforcemedia](/forum/user/3094-waveforcemedia "View waveforcemedia's Profile")  Replied by *[waveforcemedia](/forum/user/3094-waveforcemedia "View waveforcemedia's Profile")* on topic *[Re: Show product code in checkout/cart](/forum/4-how-to/20816-show-product-code-in-checkout-cart#20851 "I want to show the product code in the checkout/cart page when customers checkout. I know why by default only the product name displays in the cart, however showing the product code will also help...")*

This worked, however if I change the product code, the old product code displays in the cart.

I deleted all cache files and global config has cache turned off.

Is there anything else I need to do?

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

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 4 months ago [\#20864](#20864) 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 in checkout/cart](/forum/4-how-to/20816-show-product-code-in-checkout-cart#20864 "I want to show the product code in the checkout/cart page when customers checkout. I know why by default only the product name displays in the cart, however showing the product code will also help...")*

Did you turn off the cache plugin in the joomla plugins manager ?

Other than that, I don't see why it wouldn't display the new code... The information is directly taken from the database.

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

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

Less More

- Posts: 32
- Thank you received: 0
-
-

15 years 4 months ago [\#20898](#20898) by [waveforcemedia](/forum/user/3094-waveforcemedia "View waveforcemedia's Profile")  Replied by *[waveforcemedia](/forum/user/3094-waveforcemedia "View waveforcemedia's Profile")* on topic *[Re: Show product code in checkout/cart](/forum/4-how-to/20816-show-product-code-in-checkout-cart#20898 "I want to show the product code in the checkout/cart page when customers checkout. I know why by default only the product name displays in the cart, however showing the product code will also help...")*

Hey Nicolas,

Yah, it's pretty weird, cache plugin is disabled. I am assuming it should work as well but not sure if it's a 1.6 issue?

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

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 4 months ago [\#20916](#20916) 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 in checkout/cart](/forum/4-how-to/20816-show-product-code-in-checkout-cart#20916 "I want to show the product code in the checkout/cart page when customers checkout. I know why by default only the product name displays in the cart, however showing the product code will also help...")*

It shouldn't be related to the version of joomla. No one reported such problem before and I don't see how that would happen.

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

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