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

#   modifier hikashop\_product\_characteristics\_table

##

- **[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
-
-

7 years 6 months ago -  7 years 6 months ago [\#306962](#306962) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[modifier hikashop\_product\_characteristics\_table](/forum/5-support-en-francais-french-support-/897547-modifier-hikashop-product-characteristics-table#306962 "Bonjour  je n'arrive pas a modifier hikashop&#95;product&#95;characteristics&#95;table qui semble etre dans form&#95;characteristic.php ou form&#95;bundle.php et semble etre appelé par echo $this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params) ; dans show&#95;bloc&#95;characteristic.php  mais rien n'y fait  ou est cette table pour la modifier ? Pourquoi est elle codé en dur dans types/characteristic.php  merci")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

Bonjour

je n'arrive pas a modifier hikashop_product_characteristics_table qui semble etre dans form_characteristic.php ou form_bundle.php
et semble etre appelé par echo $this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params) ; dans show_bloc_characteristic.php

mais rien n'y fait

ou est cette table pour la modifier ?
Pourquoi est elle codé en dur dans types/characteristic.php

merci

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

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

7 years 6 months ago [\#306976](#306976) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[modifier hikashop\_product\_characteristics\_table](/forum/5-support-en-francais-french-support-/897547-modifier-hikashop-product-characteristics-table#306976 "Bonjour  je n'arrive pas a modifier hikashop&#95;product&#95;characteristics&#95;table qui semble etre dans form&#95;characteristic.php ou form&#95;bundle.php et semble etre appelé par echo $this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params) ; dans show&#95;bloc&#95;characteristic.php  mais rien n'y fait  ou est cette table pour la modifier ? Pourquoi est elle codé en dur dans types/characteristic.php  merci")*

Bonjour,

Elle est en effet en dur dans administrator/components/com_hikashop/types/characteristic.php
C'est une relique du passé. Idéalement, il faudrait bouger ce code dans show_block_characteristic.php
En effet, nous voulons modifier le système des caractéristiques/variantes pour permettre la sélection de variantes sur les listings, et une page produit plus légère sans limite sur le nombre de variantes. Du coup, nous attendions de faire cela pour revoir le système et ne plus utiliser types/characteristic.php

Mais sinon, il est quand même possible de modifier ce tableau comme expliqué dans la doc développeur:
[ www.hikashop.com/support/documentation/6...tation.html#override](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#override)

> For the characteristics:
>
> You need to create the file templates/YOUR\_TEMPLATE/html/hikashop\_characteristics.php. We invite you to look at the file administrator/components/com\_hikashop/type/characteristic.php for the default code of the function you will define in it. In that file, you will be able to define the function:
>
> hikashop\_characteristics\_html(&amp;$element,&amp;$params,&amp;$obj) =&gt; The $element variable will contain the whole product information from which you can extract the characteristics information and the params variable can help you get some parameters from the HikaShop configuration. The $obj variable will be the instance of the characteristic display class. That way, when you get the code from the characteristic.php file, you can just replace $this by $obj and it should work. You need to return the HTML of the characteristics selection at the end of your function.

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

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

7 years 6 months ago [\#307025](#307025) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[modifier hikashop\_product\_characteristics\_table](/forum/5-support-en-francais-french-support-/897547-modifier-hikashop-product-characteristics-table#307025 "Bonjour  je n'arrive pas a modifier hikashop&#95;product&#95;characteristics&#95;table qui semble etre dans form&#95;characteristic.php ou form&#95;bundle.php et semble etre appelé par echo $this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params) ; dans show&#95;bloc&#95;characteristic.php  mais rien n'y fait  ou est cette table pour la modifier ? Pourquoi est elle codé en dur dans types/characteristic.php  merci")*

est ce que cette nouvelle version arrive bientot ?

merci

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

7 years 5 months ago [\#307028](#307028) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[modifier hikashop\_product\_characteristics\_table](/forum/5-support-en-francais-french-support-/897547-modifier-hikashop-product-characteristics-table#307028 "Bonjour  je n'arrive pas a modifier hikashop&#95;product&#95;characteristics&#95;table qui semble etre dans form&#95;characteristic.php ou form&#95;bundle.php et semble etre appelé par echo $this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params) ; dans show&#95;bloc&#95;characteristic.php  mais rien n'y fait  ou est cette table pour la modifier ? Pourquoi est elle codé en dur dans types/characteristic.php  merci")*

Non. Nous n'avons pas encore commencé à travailler là-dessus. Si quelque chose arrive ce sera plutôt en fin d'année voir l'année prochaine car c'est un gros projet.

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

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

7 years 5 months ago [\#307085](#307085) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[modifier hikashop\_product\_characteristics\_table](/forum/5-support-en-francais-french-support-/897547-modifier-hikashop-product-characteristics-table#307085 "Bonjour  je n'arrive pas a modifier hikashop&#95;product&#95;characteristics&#95;table qui semble etre dans form&#95;characteristic.php ou form&#95;bundle.php et semble etre appelé par echo $this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params) ; dans show&#95;bloc&#95;characteristic.php  mais rien n'y fait  ou est cette table pour la modifier ? Pourquoi est elle codé en dur dans types/characteristic.php  merci")*

hikashop_characteristics.php marche tres bien

merci

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

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