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

#   affichage des variantes sous forme 'input:image'

##

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

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 11 months ago [\#134571](#134571) by [Virginie](/forum/user/29192-virginie "View Virginie's Profile")  *[affichage des variantes sous forme 'input:image'](/forum/5-support-en-francais-french-support-/863976-affichage-des-variantes-sous-forme-input-image#134571 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Ayant des articles textiles avec des possibilités de couleurs différentes, je voudrais que le choix se fasse par des images et non par liste déroulante ou par bouton radio. Est-ce que l'option est disponible? En fait il me faudrait un input de type image  Merci")* was created by *[Virginie](/forum/user/29192-virginie "View Virginie's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Bonjour,

Ayant des articles textiles avec des possibilités de couleurs différentes, je voudrais que le choix se fasse par des images et non par liste déroulante ou par bouton radio. Est-ce que l'option est disponible?
En fait il me faudrait un input de type image

Merci

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

12 years 11 months ago [\#134595](#134595) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[affichage des variantes sous forme 'input:image'](/forum/5-support-en-francais-french-support-/863976-affichage-des-variantes-sous-forme-input-image#134595 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Ayant des articles textiles avec des possibilités de couleurs différentes, je voudrais que le choix se fasse par des images et non par liste déroulante ou par bouton radio. Est-ce que l'option est disponible? En fait il me faudrait un input de type image  Merci")*

Bonjour,

Vous pouvez faire cela avec l'affichage en mode "radio". Il suffit de mettre le tag html de votre image au lieu du nom de la couleur pour chaque valeur de caractéristique.

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

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

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 11 months ago [\#134776](#134776) by [Virginie](/forum/user/29192-virginie "View Virginie's Profile")  Replied by *[Virginie](/forum/user/29192-virginie "View Virginie's Profile")* on topic *[affichage des variantes sous forme 'input:image'](/forum/5-support-en-francais-french-support-/863976-affichage-des-variantes-sous-forme-input-image#134776 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Ayant des articles textiles avec des possibilités de couleurs différentes, je voudrais que le choix se fasse par des images et non par liste déroulante ou par bouton radio. Est-ce que l'option est disponible? En fait il me faudrait un input de type image  Merci")*

Bonjour,

En effet mais je ne souhaite pas avoir le bouton radio, je voudrais quelque chose dans ce genre (voir fichier joint)
[ ![hd99ac52.png](/forum/attachment/14058) ](/forum/attachment/14058 "hd99ac52.png")

Avez-vous une idée?

- [ ![hd99ac52.png](/forum/attachment/14058) ](/forum/attachment/14058 "hd99ac52.png") [ ](/forum/attachment/14058?download=1 "hd99ac52.png")

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

12 years 11 months ago [\#134821](#134821) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[affichage des variantes sous forme 'input:image'](/forum/5-support-en-francais-french-support-/863976-affichage-des-variantes-sous-forme-input-image#134821 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Ayant des articles textiles avec des possibilités de couleurs différentes, je voudrais que le choix se fasse par des images et non par liste déroulante ou par bouton radio. Est-ce que l'option est disponible? En fait il me faudrait un input de type image  Merci")*

Bonjour,

Ce qui peut être fait est d'ajouter du code Javascript afin de sélectionner le bouton radio correspondant à l'image cliquée.
Puis ajouter du css afin de cacher ces boutons radio.

Cela nécessite du code personnalisé et de bonnes bases javascript.

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

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

Less More

- Posts: 252
- Thank you received: 17
-
-

8 years 7 months ago [\#290905](#290905) by [theomartin](/forum/user/31635-theomartin "View theomartin's Profile")  Replied by *[theomartin](/forum/user/31635-theomartin "View theomartin's Profile")* on topic *[affichage des variantes sous forme 'input:image'](/forum/5-support-en-francais-french-support-/863976-affichage-des-variantes-sous-forme-input-image#290905 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Ayant des articles textiles avec des possibilités de couleurs différentes, je voudrais que le choix se fasse par des images et non par liste déroulante ou par bouton radio. Est-ce que l'option est disponible? En fait il me faudrait un input de type image  Merci")*

Bonjour,

Lorsque vous écrivez "Vous pouvez faire cela avec l'affichage en mode "radio". Il suffit de mettre le tag html de votre image au lieu du nom de la couleur pour chaque valeur de caractéristique. ", à quoi correspond le "tag html de votre image" ?

Merci de votre réponse

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 7 months ago [\#290907](#290907) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[affichage des variantes sous forme 'input:image'](/forum/5-support-en-francais-french-support-/863976-affichage-des-variantes-sous-forme-input-image#290907 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Ayant des articles textiles avec des possibilités de couleurs différentes, je voudrais que le choix se fasse par des images et non par liste déroulante ou par bouton radio. Est-ce que l'option est disponible? En fait il me faudrait un input de type image  Merci")*

Bonjour,

Je vous invite à suivre ce tutoriel
[ www.hikashop.com/support/documentation/2...isplay-by-color.html](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html)

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

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

Less More

- Posts: 252
- Thank you received: 17
-
-

8 years 7 months ago [\#290999](#290999) by [theomartin](/forum/user/31635-theomartin "View theomartin's Profile")  Replied by *[theomartin](/forum/user/31635-theomartin "View theomartin's Profile")* on topic *[affichage des variantes sous forme 'input:image'](/forum/5-support-en-francais-french-support-/863976-affichage-des-variantes-sous-forme-input-image#290999 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Ayant des articles textiles avec des possibilités de couleurs différentes, je voudrais que le choix se fasse par des images et non par liste déroulante ou par bouton radio. Est-ce que l'option est disponible? En fait il me faudrait un input de type image  Merci")*

Bonjour,

Je vous remercie, c'est plus clair désormais.

Une dernière question, comment fait-on pour supprimer les icônes des boutons radio (le rond) ? Je n'en utiliserais pas d'autres dans ma fiche produit donc une suppression de ces boutons sera sans conséquence mais permettra un affichage plus harmonieux.

D'avance, merci

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 7 months ago [\#291020](#291020) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[affichage des variantes sous forme 'input:image'](/forum/5-support-en-francais-french-support-/863976-affichage-des-variantes-sous-forme-input-image#291020 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour,  Ayant des articles textiles avec des possibilités de couleurs différentes, je voudrais que le choix se fasse par des images et non par liste déroulante ou par bouton radio. Est-ce que l'option est disponible? En fait il me faudrait un input de type image  Merci")*

Bonjour,

Je pense que vous pouvez utiliser du CSS afin de masquer les "radio" dans certaines zones spécifiques.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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