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

#   $this-&gt;characteristic-&gt;displayFE ou est le html

##

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

8 years 5 months ago -  8 years 5 months ago [\#294333](#294333) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[$this-&gt;characteristic-&gt;displayFE ou est le html](/forum/5-support-en-francais-french-support-/895055-this-characteristic-displayfe-ou-est-le-html#294333 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.8 -- PHP version -- : 7  Bonjour  dans show&#95;block&#95;characteristic.php il y a $this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params) qui genere une table hikashop&#95;product&#95;characteristics&#95;table  ou puis je modifier ce HTML ?  merci")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.8
-- PHP version -- : 7

Bonjour

dans show_block_characteristic.php il y a $this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params)
qui genere une table hikashop_product_characteristics_table

ou puis je modifier ce HTML ?

merci

Last edit: 8 years 5 months ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

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

8 years 5 months ago [\#294341](#294341) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[$this-&gt;characteristic-&gt;displayFE ou est le html](/forum/5-support-en-francais-french-support-/895055-this-characteristic-displayfe-ou-est-le-html#294341 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.8 -- PHP version -- : 7  Bonjour  dans show&#95;block&#95;characteristic.php il y a $this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params) qui genere une table hikashop&#95;product&#95;characteristics&#95;table  ou puis je modifier ce HTML ?  merci")*

Bonjour,

Le HTML est dans administrator/components/com_hikashop/types/characteristic.php
Cependant il est préférable de ne pas modifier directement ce fichier car sinon vous perdrez vos modifications à chaque mise à jour.
Il y a plusieurs façon de procéder sans éditer ce fichier:
- Vous pouvez récupérer le code de ce fichier, changer le nom de la classe et rajouter le code directement dans show_block_characteristic et du coup appeler le displayFE de votre classe au lieu de celui dans $this-&gt;characteristic
- Vous pouvez aussi utiliser str_replace ou preg_replace pour remplacer dynamiquement l'HTML retourné par l'appel à displayFE. C'est une bonne solution pour les petites modifications, genre pour rajouter une classe, etc.
- Vous pouvez utiliser un override de template comme expliqué dans notre documentation dévelopeur:
[ www.hikashop.com/support/documentation/6...tation.html#override](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#override)
C'est la méthode la plus compliquée.

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

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

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

8 years 5 months ago -  8 years 5 months ago [\#294373](#294373) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[$this-&gt;characteristic-&gt;displayFE ou est le html](/forum/5-support-en-francais-french-support-/895055-this-characteristic-displayfe-ou-est-le-html#294373 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.8 -- PHP version -- : 7  Bonjour  dans show&#95;block&#95;characteristic.php il y a $this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params) qui genere une table hikashop&#95;product&#95;characteristics&#95;table  ou puis je modifier ce HTML ?  merci")*

merci

hikashop_characteristics.php marche très bien et c'est tres simple j'avais juste oublie d'ajouter le javascript dans le head function hikashopUpdateVariant(obj) sinon ca ne marche pas

Last edit: 8 years 5 months ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

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

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