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

#   Charackteristic Parameters

##

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

Less More

- Posts: 10
- Thank you received: 0
-
-

11 years 10 months ago [\#183267](#183267) by [philipp](/forum/user/35353-philipp "View philipp's Profile")  *[Charackteristic Parameters](/forum/32-content-creation/873639-charackteristic-parameters#183267 "-- HikaShop version -- : HikaShop Starter: 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.40 -- Browser(s) name and version -- : Firefox 34.0  Hello Everybody,  I am searching for a way to add some images to charackteristics. In the table:  there is a field:  But that one is empty for each charackteristic I have created. In the edit Popup for a certain Charackteristic, I can only edit the name of the chrackteristic, it is not possible to set any of the parameters.  Is there a plugin or way to make that work?  Thanks in Ahead!")* was created by *[philipp](/forum/user/35353-philipp "View philipp's Profile")*

-- HikaShop version -- : HikaShop Starter: 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.40
-- Browser(s) name and version -- : Firefox 34.0

Hello Everybody,

I am searching for a way to add some images to charackteristics. In the table: Code:

\#_hikashop_characteristic

there is a field: Code:

characteristic_params

But that one is empty for each charackteristic I have created. In the edit Popup for a certain Charackteristic, I can only edit the name of the chrackteristic, it is not possible to set any of the parameters.

Is there a plugin or way to make that work?

Thanks in Ahead!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODczNjM5LWNoYXJhY2t0ZXJpc3RpYy1wYXJhbWV0ZXJzP3RtcGw9bWFya2Rvd24=) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 10 months ago [\#183298](#183298) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Charackteristic Parameters](/forum/32-content-creation/873639-charackteristic-parameters#183298 "-- HikaShop version -- : HikaShop Starter: 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.40 -- Browser(s) name and version -- : Firefox 34.0  Hello Everybody,  I am searching for a way to add some images to charackteristics. In the table:  there is a field:  But that one is empty for each charackteristic I have created. In the edit Popup for a certain Charackteristic, I can only edit the name of the chrackteristic, it is not possible to set any of the parameters.  Is there a plugin or way to make that work?  Thanks in Ahead!")*

Hi,

I am sorry but I don't understand what you're trying to perform.
Images are in the table #__hikashop_file and are related to the products (variants included).

Regards,

---

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

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

11 years 10 months ago [\#183321](#183321) by [philipp](/forum/user/35353-philipp "View philipp's Profile")  Replied by *[philipp](/forum/user/35353-philipp "View philipp's Profile")* on topic *[Charackteristic Parameters](/forum/32-content-creation/873639-charackteristic-parameters#183321 "-- HikaShop version -- : HikaShop Starter: 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.40 -- Browser(s) name and version -- : Firefox 34.0  Hello Everybody,  I am searching for a way to add some images to charackteristics. In the table:  there is a field:  But that one is empty for each charackteristic I have created. In the edit Popup for a certain Charackteristic, I can only edit the name of the chrackteristic, it is not possible to set any of the parameters.  Is there a plugin or way to make that work?  Thanks in Ahead!")*

Hey Jerome,

to give an example: I have a product with three characteristics, about ten possibilities each, what generates about 1000 variants. By default the characteristics appear as drop down list on the product page, so in my case there are three drop down lists, one for each characteristic.

I would like to gererate three Grids of links (one Grid per characteristic) whereby there should appear an image next to the name of the characteristic. So if one of the characteristics is a color and one of the possible colors is red, than there should appear a link which includes an image that shows the red color and the word "red" next to it.

I could already manage to generate the Grids of links and now I am searching for a way to decorate each single characteristic.

Therefore I had a look at the database and found the field characteristic_params empty, so I thought this one might be a good place to add the link to the image there, but there is no interface for entering any values.

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

11 years 10 months ago [\#183349](#183349) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Charackteristic Parameters](/forum/32-content-creation/873639-charackteristic-parameters#183349 "-- HikaShop version -- : HikaShop Starter: 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.40 -- Browser(s) name and version -- : Firefox 34.0  Hello Everybody,  I am searching for a way to add some images to charackteristics. In the table:  there is a field:  But that one is empty for each charackteristic I have created. In the edit Popup for a certain Charackteristic, I can only edit the name of the chrackteristic, it is not possible to set any of the parameters.  Is there a plugin or way to make that work?  Thanks in Ahead!")*

Hi,

I think that this is what you are looking for: ![;)](/media/kunena/emoticons/11.png ";)")
[ www.hikashop.com/support/support/documen...isplay-by-color.html](http://www.hikashop.com/support/support/documentation/272-hikashop-display-by-color.html)

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

11 years 10 months ago -  11 years 10 months ago [\#183659](#183659) by [philipp](/forum/user/35353-philipp "View philipp's Profile")  Replied by *[philipp](/forum/user/35353-philipp "View philipp's Profile")* on topic *[Charackteristic Parameters](/forum/32-content-creation/873639-charackteristic-parameters#183659 "-- HikaShop version -- : HikaShop Starter: 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.40 -- Browser(s) name and version -- : Firefox 34.0  Hello Everybody,  I am searching for a way to add some images to charackteristics. In the table:  there is a field:  But that one is empty for each charackteristic I have created. In the edit Popup for a certain Charackteristic, I can only edit the name of the chrackteristic, it is not possible to set any of the parameters.  Is there a plugin or way to make that work?  Thanks in Ahead!")*

Hello Xavier,

thanks a lot for the reply! I have not known about that tutorial and you are to 80% right that this is what I am looking for, but not completely…

As noted in the example (third post of this thread), I need more than just an image, the name of the characteristic and probably more data, i. e. the content of the alt attribute and so on.

But I could already manage to solve that and I would like to share how I did it. The idea is quite simple: I changed the administration form of the characteristics, so that a new input field appears.

So changed the file*:
Code:

~/administrator/components/com_hikashop/views/characteristic/tmpl/normal.php

* ~ stands for the root directory of joomla

so that the contents looks like this:
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.3.4 * @author hikashop.com * @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt; &lt;table class="admintable table" width="280px" style="margin:auto"&gt; &lt;tr&gt; &lt;td class="key"&gt; &lt;?php echo JText::_( 'HIKA_NAME' ); ?&gt; &lt;/td&gt; &lt;td&gt; &lt;input id="characteristic_value" type="text" name="&lt;?php echo $this-&gt;characteristic_value_input;?&gt;" value="&lt;?php echo $this-&gt;escape(@$this-&gt;element-&gt;characteristic_value); ?&gt;" /&gt; &lt;?php if(isset($this-&gt;characteristic_value_published)){ $publishedid = 'published-'.$this-&gt;characteristic_value_id; ?&gt; &lt;span id="&lt;?php echo $publishedid; ?&gt;" class="spanloading"&gt;&lt;?php echo $this-&gt;toggle-&gt;toggle($publishedid,(int) $this-&gt;characteristic_value_published,'translation') ?&gt;&lt;/span&gt; &lt;?php } ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;!-- I added this row --&gt; &lt;tr&gt; &lt;td class="key"&gt; &lt;?php echo JText::_( 'HIKA_PARAMS' ); ?&gt; &lt;/td&gt; &lt;td&gt; &lt;!-- please not the name »characteristic_params« matches the name of colum in the database--&gt; &lt;textarea id="characteristic_params" name="data[characteristic][characteristic_params]"&gt;&lt;?php echo $this-&gt;escape(@$this-&gt;element-&gt;characteristic_params); ?&gt;&lt;/textarea&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;

By doing this, your are done! I adds a textarea to each each characteristic, therein one can enter whatever one disieres. The take-away here is, that the entered Data is automatically stored in the database! I had already coded a plugin to store the data to the database, but during debugging I realizied that hikashop already did that for me and removed the plugin…

All in all, now I have an extra text area for each characteristic and therein I can save data, probably formatted as JSON and with that at hand I can add structured DATA just as I need it…

Last edit: 11 years 10 months ago by [philipp](/forum/user/35353-philipp "View philipp's Profile").

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

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

[](#top)
