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

#   Product name doubles up when variant is selected

##

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

Less More

- Posts: 20
- Thank you received: 0
-
-

8 years 9 months ago -  8 years 9 months ago [\#286516](#286516) by [eggdesign](/forum/user/33129-eggdesign "View eggdesign's Profile")  *[Product name doubles up when variant is selected](/forum/26-product-category-display/893574-product-name-doubles-up-when-variant-is-selected#286516 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3  Hi There, Something strange started happening to our products name. I think it was after the latest stable update but I can't be sure as I just noticed it. Products with variants, when I select a variant from the dropdown it doubles up the product name instead of showing the variant size. I removed my template overrides to ensure it wasn't an issue with the overrides. But even when it is not using the overrides it still duplicates.  Any idea how to resolve this? The goal is to display the product name and then the the variant is select it show the variant title/name.  Thanks")* was created by *[eggdesign](/forum/user/33129-eggdesign "View eggdesign's Profile")*

-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3

Hi There,
Something strange started happening to our products name. I think it was after the latest stable update but I can't be sure as I just noticed it.
Products with variants, when I select a variant from the dropdown it doubles up the product name instead of showing the variant size.
I removed my template overrides to ensure it wasn't an issue with the overrides. But even when it is not using the overrides it still duplicates.

Any idea how to resolve this?
The goal is to display the product name and then the the variant is select it show the variant title/name.

Thanks

Last edit: 8 years 9 months ago by [eggdesign](/forum/user/33129-eggdesign "View eggdesign's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTM1NzQtcHJvZHVjdC1uYW1lLWRvdWJsZXMtdXAtd2hlbi12YXJpYW50LWlzLXNlbGVjdGVkP3RtcGw9bWFya2Rvd24=) 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: 14320
-
-

8 years 9 months ago [\#286518](#286518) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product name doubles up when variant is selected](/forum/26-product-category-display/893574-product-name-doubles-up-when-variant-is-selected#286518 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3  Hi There, Something strange started happening to our products name. I think it was after the latest stable update but I can't be sure as I just noticed it. Products with variants, when I select a variant from the dropdown it doubles up the product name instead of showing the variant size. I removed my template overrides to ensure it wasn't an issue with the overrides. But even when it is not using the overrides it still duplicates.  Any idea how to resolve this? The goal is to display the product name and then the the variant is select it show the variant title/name.  Thanks")*

Hi,

We would need some screenshot of how a product and one of its variants is configured on your website and a link to the product page in order to properly understand the situation.

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

8 years 9 months ago -  8 years 9 months ago [\#286562](#286562) by [eggdesign](/forum/user/33129-eggdesign "View eggdesign's Profile")  Replied by *[eggdesign](/forum/user/33129-eggdesign "View eggdesign's Profile")* on topic *[Product name doubles up when variant is selected](/forum/26-product-category-display/893574-product-name-doubles-up-when-variant-is-selected#286562 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3  Hi There, Something strange started happening to our products name. I think it was after the latest stable update but I can't be sure as I just noticed it. Products with variants, when I select a variant from the dropdown it doubles up the product name instead of showing the variant size. I removed my template overrides to ensure it wasn't an issue with the overrides. But even when it is not using the overrides it still duplicates.  Any idea how to resolve this? The goal is to display the product name and then the the variant is select it show the variant title/name.  Thanks")*

Thanks Nicolas,
I will try to get you an staging link.

Edit:
I see the variant uses the same name as the parent in our case so it is easy to locate the products and variants in a spreadsheet.

So my question is, is it possible/how could I display the variant selected value instead of the variant title.

For example:
Main Product: Moving Boxes
Variant name: Moving Boxes
Variant selection: size 2
Variant selection: size 3
Variant selection: size 5

At the moment, when a variant is selected from the dropdown, it displays the title
Moving Boxes: Moving Boxes

How could I show the selection rather than the variant title? so it would look like this
Moving Boxes: size 3

Please note I don't want to rename my variants, I want to display/append the selected value instead of the variant name.

thanks

Last edit: 8 years 9 months ago by [eggdesign](/forum/user/33129-eggdesign "View eggdesign's Profile").

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

8 years 9 months ago [\#286582](#286582) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Product name doubles up when variant is selected](/forum/26-product-category-display/893574-product-name-doubles-up-when-variant-is-selected#286582 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3  Hi There, Something strange started happening to our products name. I think it was after the latest stable update but I can't be sure as I just noticed it. Products with variants, when I select a variant from the dropdown it doubles up the product name instead of showing the variant size. I removed my template overrides to ensure it wasn't an issue with the overrides. But even when it is not using the overrides it still duplicates.  Any idea how to resolve this? The goal is to display the product name and then the the variant is select it show the variant title/name.  Thanks")*

Hello,

I think you have to edit your Characteristic configuration to have something like this :

[ ![&#91;img](https://cdn.pbrd.co/images/H4xB5Z6.png) ](https://cdn.pbrd.co/images/H4xB5Z6.png "&#91;img")

Then, take note that you have to keep the Variant name empty (like on screenshot) or just have "product size" and have just as value size 1, size 2, etc...

[ ![&#91;img](https://cdn.pbrd.co/images/H4xBdh4.png) ](https://cdn.pbrd.co/images/H4xBdh4.png "&#91;img")

So, I think you have understand that you have many different way to proceed to have what you need, on my side I was able to have this a result :

[ ![&#91;img](https://cdn.pbrd.co/images/H4xB8cO.png) ](https://cdn.pbrd.co/images/H4xB8cO.png "&#91;img")

Hope this will fit your needs.
Regards

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

8 years 9 months ago [\#286747](#286747) by [eggdesign](/forum/user/33129-eggdesign "View eggdesign's Profile")  Replied by *[eggdesign](/forum/user/33129-eggdesign "View eggdesign's Profile")* on topic *[Product name doubles up when variant is selected](/forum/26-product-category-display/893574-product-name-doubles-up-when-variant-is-selected#286747 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3  Hi There, Something strange started happening to our products name. I think it was after the latest stable update but I can't be sure as I just noticed it. Products with variants, when I select a variant from the dropdown it doubles up the product name instead of showing the variant size. I removed my template overrides to ensure it wasn't an issue with the overrides. But even when it is not using the overrides it still duplicates.  Any idea how to resolve this? The goal is to display the product name and then the the variant is select it show the variant title/name.  Thanks")*

Thanks for the response Philip, I was hopping there would be a way to not have to change every variant name.
Is there something I could change in the template override to display the variant value instead of the name?

Thanks again

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTM1NzQtcHJvZHVjdC1uYW1lLWRvdWJsZXMtdXAtd2hlbi12YXJpYW50LWlzLXNlbGVjdGVkP3RtcGw9bWFya2Rvd24=) 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: 14320
-
-

8 years 9 months ago [\#286776](#286776) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product name doubles up when variant is selected](/forum/26-product-category-display/893574-product-name-doubles-up-when-variant-is-selected#286776 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3  Hi There, Something strange started happening to our products name. I think it was after the latest stable update but I can't be sure as I just noticed it. Products with variants, when I select a variant from the dropdown it doubles up the product name instead of showing the variant size. I removed my template overrides to ensure it wasn't an issue with the overrides. But even when it is not using the overrides it still duplicates.  Any idea how to resolve this? The goal is to display the product name and then the the variant is select it show the variant title/name.  Thanks")*

Hi,

Well, you would have to edit the "show" file of the view "product".
There, you would have to change the line:
echo $variant-&gt;product_name;
by some custom code to recalculate the variant name dynamically from the characteristics values, etc.
It will require a bit of development but it's totally doable.

And if you want to easily remove all the names of the variants, you can easily do it with a mass action with a few clicks:
[ www.hikashop.com/support/documentation/167-massaction-form.html](https://www.hikashop.com/support/documentation/167-massaction-form.html)

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

8 years 9 months ago [\#286898](#286898) by [eggdesign](/forum/user/33129-eggdesign "View eggdesign's Profile")  Replied by *[eggdesign](/forum/user/33129-eggdesign "View eggdesign's Profile")* on topic *[Product name doubles up when variant is selected](/forum/26-product-category-display/893574-product-name-doubles-up-when-variant-is-selected#286898 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3  Hi There, Something strange started happening to our products name. I think it was after the latest stable update but I can't be sure as I just noticed it. Products with variants, when I select a variant from the dropdown it doubles up the product name instead of showing the variant size. I removed my template overrides to ensure it wasn't an issue with the overrides. But even when it is not using the overrides it still duplicates.  Any idea how to resolve this? The goal is to display the product name and then the the variant is select it show the variant title/name.  Thanks")*

Thanks for pointing me in the right direction Nicolas.
Done that, all work fine now.
Cheers

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

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