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

#   how to add a string that separates variants

##

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

Less More

- Posts: 55
- Thank you received: 4
-
-
-

13 years 5 months ago [\#110090](#110090) by [av.opticom](/forum/user/7200-av-opticom "View av.opticom's Profile")  *[how to add a string that separates variants](/forum/4-how-to/83963-how-to-add-a-string-that-separates-variants#110090 "How can I add a character string between the display of variants on the product page and in the cart? For example:  Product Name: Variant1 Variant2  becomes  Product Name: Variant1 with Variant2  Thanks.  Dave")* was created by *[av.opticom](/forum/user/7200-av-opticom "View av.opticom's Profile")*

How can I add a character string between the display of variants on the product page and in the cart? For example:

Product Name: Variant1 Variant2

becomes

Product Name: Variant1 with Variant2

Thanks.

Dave

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 5 months ago [\#110092](#110092) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[how to add a string that separates variants](/forum/4-how-to/83963-how-to-add-a-string-that-separates-variants#110092 "How can I add a character string between the display of variants on the product page and in the cart? For example:  Product Name: Variant1 Variant2  becomes  Product Name: Variant1 with Variant2  Thanks.  Dave")*

Hi,

Can you show me exactly where do you want to add this string through some screenshots ?

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

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

Less More

- Posts: 55
- Thank you received: 4
-
-
-

13 years 5 months ago [\#110102](#110102) by [av.opticom](/forum/user/7200-av-opticom "View av.opticom's Profile")  Replied by *[av.opticom](/forum/user/7200-av-opticom "View av.opticom's Profile")* on topic *[how to add a string that separates variants](/forum/4-how-to/83963-how-to-add-a-string-that-separates-variants#110102 "How can I add a character string between the display of variants on the product page and in the cart? For example:  Product Name: Variant1 Variant2  becomes  Product Name: Variant1 with Variant2  Thanks.  Dave")*

Here are some shots. I'm not sure exactly which string I will use, but something like 'and' or '/'. Also since these combinations are long, is it also possible to out the two variants and the separator string on the line below the product name? Is it possible that one modification will affect both product display and cart display?

Thanks.

Dave

- [ ![ProdVar.jpg](/forum/attachment/10746) ](/forum/attachment/10746 "ProdVar.jpg") [ ](/forum/attachment/10746?download=1 "ProdVar.jpg")
- [ ![ProdNote.jpg](/forum/attachment/10747) ](/forum/attachment/10747 "ProdNote.jpg") [ ](/forum/attachment/10747?download=1 "ProdNote.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzOTYzLWhvdy10by1hZGQtYS1zdHJpbmctdGhhdC1zZXBhcmF0ZXMtdmFyaWFudHM/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: 86587
- Thank you received: 14325
-
-

13 years 5 months ago [\#110140](#110140) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to add a string that separates variants](/forum/4-how-to/83963-how-to-add-a-string-that-separates-variants#110140 "How can I add a character string between the display of variants on the product page and in the cart? For example:  Product Name: Variant1 Variant2  becomes  Product Name: Variant1 with Variant2  Thanks.  Dave")*

For the line break, you can simply add a translation override like that:
HIKA_VARIANT_SEPARATOR=":&lt;br/&gt;"
You can do that via the Languages tab of the configuration.

For a character between each variant, you can open the table hikashop_config of your database via phpmyadmin and add an entry with the namekey characteristics_values_separator and the value being the text you want between each variant.

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

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

Less More

- Posts: 55
- Thank you received: 4
-
-
-

13 years 5 months ago [\#110273](#110273) by [av.opticom](/forum/user/7200-av-opticom "View av.opticom's Profile")  Replied by *[av.opticom](/forum/user/7200-av-opticom "View av.opticom's Profile")* on topic *[how to add a string that separates variants](/forum/4-how-to/83963-how-to-add-a-string-that-separates-variants#110273 "How can I add a character string between the display of variants on the product page and in the cart? For example:  Product Name: Variant1 Variant2  becomes  Product Name: Variant1 with Variant2  Thanks.  Dave")*

Thanks Nicolas. The linebreak worked no problem, but not the string separator. I've added to the table as you suggested (see image). Does the entry need quotes, like this: 'and'?

Dave

- [ ![DB.jpg](/forum/attachment/10759) ](/forum/attachment/10759 "DB.jpg") [ ](/forum/attachment/10759?download=1 "DB.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzOTYzLWhvdy10by1hZGQtYS1zdHJpbmctdGhhdC1zZXBhcmF0ZXMtdmFyaWFudHM/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: 86587
- Thank you received: 14325
-
-

13 years 5 months ago [\#110277](#110277) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to add a string that separates variants](/forum/4-how-to/83963-how-to-add-a-string-that-separates-variants#110277 "How can I add a character string between the display of variants on the product page and in the cart? For example:  Product Name: Variant1 Variant2  becomes  Product Name: Variant1 with Variant2  Thanks.  Dave")*

That's looks ok.

Are you using a recent version of HikaShop ?

Also please make sure that there is no spacing character at the end of the config_namekey value or the system won't be able to find it.

Also, if you have some caching activated on your website, please make sure that you flush it.

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

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

Less More

- Posts: 55
- Thank you received: 4
-
-
-

13 years 5 months ago [\#110281](#110281) by [av.opticom](/forum/user/7200-av-opticom "View av.opticom's Profile")  Replied by *[av.opticom](/forum/user/7200-av-opticom "View av.opticom's Profile")* on topic *[how to add a string that separates variants](/forum/4-how-to/83963-how-to-add-a-string-that-separates-variants#110281 "How can I add a character string between the display of variants on the product page and in the cart? For example:  Product Name: Variant1 Variant2  becomes  Product Name: Variant1 with Variant2  Thanks.  Dave")*

Using HikaShop 2.1.3. Checked for spaces in table. Cleared cache... still not showing the additional string.

Dave

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzOTYzLWhvdy10by1hZGQtYS1zdHJpbmctdGhhdC1zZXBhcmF0ZXMtdmFyaWFudHM/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: 86587
- Thank you received: 14325
-
-

13 years 5 months ago [\#110301](#110301) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to add a string that separates variants](/forum/4-how-to/83963-how-to-add-a-string-that-separates-variants#110301 "How can I add a character string between the display of variants on the product page and in the cart? For example:  Product Name: Variant1 Variant2  becomes  Product Name: Variant1 with Variant2  Thanks.  Dave")*

It's working fine on our end.

We'll have to look at that directly on your website as there must be something you're missing on your end.
Either it's not the good database you're editing, or something because it has to work.

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

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

Less More

- Posts: 55
- Thank you received: 4
-
-
-

13 years 4 months ago [\#112674](#112674) by [av.opticom](/forum/user/7200-av-opticom "View av.opticom's Profile")  Replied by *[av.opticom](/forum/user/7200-av-opticom "View av.opticom's Profile")* on topic *[how to add a string that separates variants](/forum/4-how-to/83963-how-to-add-a-string-that-separates-variants#112674 "How can I add a character string between the display of variants on the product page and in the cart? For example:  Product Name: Variant1 Variant2  becomes  Product Name: Variant1 with Variant2  Thanks.  Dave")*

Nicolas, I sent you a PM with access info to a test site. Did you get that?

Dave

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzOTYzLWhvdy10by1hZGQtYS1zdHJpbmctdGhhdC1zZXBhcmF0ZXMtdmFyaWFudHM/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: 86587
- Thank you received: 14325
-
-

13 years 4 months ago [\#112995](#112995) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to add a string that separates variants](/forum/4-how-to/83963-how-to-add-a-string-that-separates-variants#112995 "How can I add a character string between the display of variants on the product page and in the cart? For example:  Product Name: Variant1 Variant2  becomes  Product Name: Variant1 with Variant2  Thanks.  Dave")*

No, I didn't get such PM from you. Please try again or use our contact form:
[ www.hikashop.com/en/contact-us.html](http://www.hikashop.com/en/contact-us.html)

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 4 months ago [\#113298](#113298) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[how to add a string that separates variants](/forum/4-how-to/83963-how-to-add-a-string-that-separates-variants#113298 "How can I add a character string between the display of variants on the product page and in the cart? For example:  Product Name: Variant1 Variant2  becomes  Product Name: Variant1 with Variant2  Thanks.  Dave")*

Hi,

We need too a Ftp, phpMyAdmin access.

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

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

Less More

- Posts: 55
- Thank you received: 4
-
-
-

13 years 4 months ago [\#115086](#115086) by [av.opticom](/forum/user/7200-av-opticom "View av.opticom's Profile")  Replied by *[av.opticom](/forum/user/7200-av-opticom "View av.opticom's Profile")* on topic *[how to add a string that separates variants](/forum/4-how-to/83963-how-to-add-a-string-that-separates-variants#115086 "How can I add a character string between the display of variants on the product page and in the cart? For example:  Product Name: Variant1 Variant2  becomes  Product Name: Variant1 with Variant2  Thanks.  Dave")*

For now I'm going to hold off on this. It's a minor thing that is low on the list because it presently involves only one limited time product.

As always, thanks to everyone for the excellent support.

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

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