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

#   about the characteristics showing in the cart ...

##

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

Less More

- Posts: 107
- Thank you received: 0
-
-

15 years 8 months ago [\#9710](#9710) by [seb](/forum/user/197-seb "View seb's Profile")  *[about the characteristics showing in the cart ...](/forum/2-general-talk-about-hikashop/9710-about-the-characteristics-showing-in-the-cart#9710 "This is about the characteristics showing in the cart and the final cart, I'd like to customized a bit the way it shows up ... when you've got a few characteristics it might be a bit messy .. I'd like...")* was created by *[seb](/forum/user/197-seb "View seb's Profile")*

This is about the characteristics showing in the cart and the final cart, I'd like to customized a bit the way it shows up ... when you've got a few characteristics it might be a bit messy .. I'd like to add &lt;/br&gt; or "'" in which file is it made .. in which file is it made ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzk3MTAtYWJvdXQtdGhlLWNoYXJhY3RlcmlzdGljcy1zaG93aW5nLWluLXRoZS1jYXJ0LT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

15 years 8 months ago [\#9729](#9729) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: about the characteristics showing in the cart ...](/forum/2-general-talk-about-hikashop/9710-about-the-characteristics-showing-in-the-cart#9729 "This is about the characteristics showing in the cart and the final cart, I'd like to customized a bit the way it shows up ... when you've got a few characteristics it might be a bit messy .. I'd like...")*

We actually started to add an option for that.
If you use a really recent version, you can just go in phpmyadmin and in the hikashop_config table add an entry with the namekey being characteristics_values_separator and the value being the separator you would like.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzk3MTAtYWJvdXQtdGhlLWNoYXJhY3RlcmlzdGljcy1zaG93aW5nLWluLXRoZS1jYXJ0LT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 107
- Thank you received: 0
-
-

15 years 8 months ago [\#9798](#9798) by [seb](/forum/user/197-seb "View seb's Profile")  Replied by *[seb](/forum/user/197-seb "View seb's Profile")* on topic *[Re: about the characteristics showing in the cart ...](/forum/2-general-talk-about-hikashop/9710-about-the-characteristics-showing-in-the-cart#9798 "This is about the characteristics showing in the cart and the final cart, I'd like to customized a bit the way it shows up ... when you've got a few characteristics it might be a bit messy .. I'd like...")*

yep working fine ... but ... there is always a 'but' it also adds my separators in title in the product/show.php ... I'd like to avoid that ... but still want it in my cart ... how can I do that ????

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzk3MTAtYWJvdXQtdGhlLWNoYXJhY3RlcmlzdGljcy1zaG93aW5nLWluLXRoZS1jYXJ0LT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

15 years 8 months ago [\#9818](#9818) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: about the characteristics showing in the cart ...](/forum/2-general-talk-about-hikashop/9710-about-the-characteristics-showing-in-the-cart#9818 "This is about the characteristics showing in the cart and the final cart, I'd like to customized a bit the way it shows up ... when you've got a few characteristics it might be a bit messy .. I'd like...")*

You would have to edit the file show of the view product and change the code to use the main product name instead of the variant name.

So replace:
echo $this-&gt;element-&gt;product_name;
by:
if(!empty($this-&gt;element-&gt;main-&gt;product_name)){
echo $this-&gt;element-&gt;main-&gt;product_name;
}else{
$this-&gt;element-&gt;product_name;
}

and:
echo $variant-&gt;product_name;
by:
echo $this-&gt;element-&gt;main-&gt;product_name;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzk3MTAtYWJvdXQtdGhlLWNoYXJhY3RlcmlzdGljcy1zaG93aW5nLWluLXRoZS1jYXJ0LT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 107
- Thank you received: 0
-
-

15 years 8 months ago [\#9928](#9928) by [seb](/forum/user/197-seb "View seb's Profile")  Replied by *[seb](/forum/user/197-seb "View seb's Profile")* on topic *[Re: about the characteristics showing in the cart ...](/forum/2-general-talk-about-hikashop/9710-about-the-characteristics-showing-in-the-cart#9928 "This is about the characteristics showing in the cart and the final cart, I'd like to customized a bit the way it shows up ... when you've got a few characteristics it might be a bit messy .. I'd like...")*

fantastic ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzk3MTAtYWJvdXQtdGhlLWNoYXJhY3RlcmlzdGljcy1zaG93aW5nLWluLXRoZS1jYXJ0LT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.079 seconds

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