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

#   Characteristic value in label id

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

10 years 8 months ago -  10 years 8 months ago [\#230543](#230543) by [vinylstation](/forum/user/36530-vinylstation "View vinylstation's Profile")  *[Characteristic value in label id](/forum/31-development/882430-characteristic-value-in-label-id#230543 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8 -- Browser(s) name and version -- : Firefox  Dear hikashop,  I made some characteristics and selected them for my product. On the product details page you see the characteristics summed up as radio's underneath each other. They all show the value as text inside the label (See screenshot).  How can i put this text value inside the label id or class? This way i can use css to hide the text and show a background color for example which represents the color of a product in this case.  I checked the file &quot;characterics&quot; inside the &quot;types&quot; folder but i only see the table getting build up there. But not the building proccess of the labels.  Code example  Current situation :  What i want :  I hope you can point me the file which generates the labels so i can add the text value inside the id of the label.  Dear regards,  Bo")* was created by *[vinylstation](/forum/user/36530-vinylstation "View vinylstation's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.8
-- Browser(s) name and version -- : Firefox

Dear hikashop,

I made some characteristics and selected them for my product.
On the product details page you see the characteristics summed up as radio's underneath each other.
They all show the value as text inside the label (See screenshot).

How can i put this text value inside the label id or class?
This way i can use css to hide the text and show a background color for example which represents the color of a product in this case.

I checked the file "characterics" inside the "types" folder but i only see the table getting build up there. But not the building proccess of the labels.

**Code example**

Current situation : Code:

&lt;label class="radio" id="hikashop_product_characteristic_18-lbl" for="hikashop_product_characteristic_18"&gt; &lt;input type="radio" onclick="return hikashopUpdateVariant(this);" size="1" class="inputbox" checked="checked" value="8" id="hikashop_product_characteristic_18" name="hikashop_product_characteristic[1]"&gt; Wit &lt;/label&gt;

What i want : Code:

&lt;label class="radio" id="hikashop_product_characteristic_18-lbl Wit" for="hikashop_product_characteristic_18"&gt; &lt;input type="radio" onclick="return hikashopUpdateVariant(this);" size="1" class="inputbox" checked="checked" value="8" id="hikashop_product_characteristic_18" name="hikashop_product_characteristic[1]"&gt; Wit &lt;/label&gt;

I hope you can point me the file which generates the labels so i can add the text value inside the id of the label.

Dear regards,

Bo

- [ ![characteristics-labels.jpg](/forum/attachment/29621) ](/forum/attachment/29621 "...ics-labels.jpg") [ ](/forum/attachment/29621?download=1 "...ics-labels.jpg")

Last edit: 10 years 8 months ago by [vinylstation](/forum/user/36530-vinylstation "View vinylstation's Profile").

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

10 years 8 months ago [\#230545](#230545) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Characteristic value in label id](/forum/31-development/882430-characteristic-value-in-label-id#230545 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8 -- Browser(s) name and version -- : Firefox  Dear hikashop,  I made some characteristics and selected them for my product. On the product details page you see the characteristics summed up as radio's underneath each other. They all show the value as text inside the label (See screenshot).  How can i put this text value inside the label id or class? This way i can use css to hide the text and show a background color for example which represents the color of a product in this case.  I checked the file &quot;characterics&quot; inside the &quot;types&quot; folder but i only see the table getting build up there. But not the building proccess of the labels.  Code example  Current situation :  What i want :  I hope you can point me the file which generates the labels so i can add the text value inside the id of the label.  Dear regards,  Bo")*

Hi,

That's the way Joomla display the radios. Changing that would require hacking the code of Joomla.

Rather than doing that, why not follow our tutorial which explains how to achieve the same thing without any code modification:
[ www.hikashop.com/support/documentation/2...isplay-by-color.html](http://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html)

The following user(s) said Thank You: [vinylstation](/forum/user/36530-vinylstation "View vinylstation's Profile")

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

10 years 8 months ago [\#230590](#230590) by [vinylstation](/forum/user/36530-vinylstation "View vinylstation's Profile")  Replied by *[vinylstation](/forum/user/36530-vinylstation "View vinylstation's Profile")* on topic *[Characteristic value in label id](/forum/31-development/882430-characteristic-value-in-label-id#230590 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8 -- Browser(s) name and version -- : Firefox  Dear hikashop,  I made some characteristics and selected them for my product. On the product details page you see the characteristics summed up as radio's underneath each other. They all show the value as text inside the label (See screenshot).  How can i put this text value inside the label id or class? This way i can use css to hide the text and show a background color for example which represents the color of a product in this case.  I checked the file &quot;characterics&quot; inside the &quot;types&quot; folder but i only see the table getting build up there. But not the building proccess of the labels.  Code example  Current situation :  What i want :  I hope you can point me the file which generates the labels so i can add the text value inside the id of the label.  Dear regards,  Bo")*

Thank you
Didnt know this was possible.

Your a life saver.

Greetings,

Bo

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

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

[](#top)
