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

#   Variants in cart but not append to product name

##

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

Less More

- Posts: 209
- Thank you received: 18
-
-

15 years 6 months ago [\#15664](#15664) by [JIK](/forum/user/362-jik "View JIK's Profile")  *[Variants in cart but not append to product name](/forum/4-how-to/15664-variants-in-cart-but-not-append-to-product-name#15664 "Hi Nicolas,  Is it possible to have the variants shown in the cart but NOT have them append to the product name on the product page?  I have set the &quot;Append characteristics value to product name&quot; to no, but I still need them to appear in the cart and in emails.  (Using Business version)  cheers J")* was created by *[JIK](/forum/user/362-jik "View JIK's Profile")*

Hi Nicolas,

Is it possible to have the variants shown in the cart but NOT have them append to the product name on the product page?

I have set the "Append characteristics value to product name" to no, but I still need them to appear in the cart and in emails.

(Using Business version)

cheers
J

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

- **[hdracing](/forum/user/742-hdracing "View hdracing's Profile")**
- [![hdracing's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar742.jpg)](/forum/user/742-hdracing "View hdracing's Profile")
- [ Offline](/forum/user/742-hdracing)

Less More

- Posts: 242
- Thank you received: 0
-
-
- [](http://www.HighDesertVideo.com)
-

15 years 6 months ago [\#15665](#15665) by [hdracing](/forum/user/742-hdracing "View hdracing's Profile")  Replied by *[hdracing](/forum/user/742-hdracing "View hdracing's Profile")* on topic *[Re: Variants in cart but not append to product name](/forum/4-how-to/15664-variants-in-cart-but-not-append-to-product-name#15665 "Hi Nicolas,  Is it possible to have the variants shown in the cart but NOT have them append to the product name on the product page?  I have set the &quot;Append characteristics value to product name&quot; to no, but I still need them to appear in the cart and in emails.  (Using Business version)  cheers J")*

The solution to this problem was provided in this topic: [ www.hikashop.com/en/support/forum/3-bug-...applied-in-cart.html](http://www.hikashop.com/en/support/forum/3-bug-report/6161-characteristicsvariants-not-applied-in-cart.html)

Be sure to read the whole thing because the code changed a bit from the version initially discussed in that topic and an update was provided further down.

Regards,
Ed

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

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

Less More

- Posts: 209
- Thank you received: 18
-
-

15 years 6 months ago [\#15667](#15667) by [JIK](/forum/user/362-jik "View JIK's Profile")  Replied by *[JIK](/forum/user/362-jik "View JIK's Profile")* on topic *[Re: Variants in cart but not append to product name](/forum/4-how-to/15664-variants-in-cart-but-not-append-to-product-name#15667 "Hi Nicolas,  Is it possible to have the variants shown in the cart but NOT have them append to the product name on the product page?  I have set the &quot;Append characteristics value to product name&quot; to no, but I still need them to appear in the cart and in emails.  (Using Business version)  cheers J")*

Thanks Ed - I had read just about every thread to do with variants EXCEPT that one! Will give the fix a go. Ta.

Was hoping that there would be a customisation to one of the display views though as I hate hacking the core code files and losing changes after upgrades.

Nicolas - before I make the change to the Hikashop core, can you confirm that there is no other way to adjust this?

Ed/Nicolas, your help is appreciated.

cheers!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1NjY0LXZhcmlhbnRzLWluLWNhcnQtYnV0LW5vdC1hcHBlbmQtdG8tcHJvZHVjdC1uYW1lP3RtcGw9bWFya2Rvd24=) 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 6 months ago [\#15669](#15669) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Variants in cart but not append to product name](/forum/4-how-to/15664-variants-in-cart-but-not-append-to-product-name#15669 "Hi Nicolas,  Is it possible to have the variants shown in the cart but NOT have them append to the product name on the product page?  I have set the &quot;Append characteristics value to product name&quot; to no, but I still need them to appear in the cart and in emails.  (Using Business version)  cheers J")*

Instead of :
echo $this-&gt;element-&gt;product_name;

and:
echo $variant-&gt;product_name;

in the file show of the view product (that you can edit via the menu Display-&gt;Views), you could use:
echo $this-&gt;element-&gt;main-&gt;product_name;

and activate the "Append characteristics value to product name" option of the config so that the product name with the characteristics is displayed everywhere except the product page.

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

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

Less More

- Posts: 209
- Thank you received: 18
-
-

15 years 6 months ago [\#15692](#15692) by [JIK](/forum/user/362-jik "View JIK's Profile")  Replied by *[JIK](/forum/user/362-jik "View JIK's Profile")* on topic *[Re: Variants in cart but not append to product name](/forum/4-how-to/15664-variants-in-cart-but-not-append-to-product-name#15692 "Hi Nicolas,  Is it possible to have the variants shown in the cart but NOT have them append to the product name on the product page?  I have set the &quot;Append characteristics value to product name&quot; to no, but I still need them to appear in the cart and in emails.  (Using Business version)  cheers J")*

Excellent! Works perfectly. Thanks.

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

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