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

#   Product characteristics in a table

##

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

Less More

- Posts: 42
- Thank you received: 0
-
-

14 years 8 months ago [\#40449](#40449) by [ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")  *[Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#40449 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")* was created by *[ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")*

Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that?
Thanks

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

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

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 8 months ago [\#40642](#40642) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#40642 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

Hi,

You need to edit the file different show* files of the view product for your template via the menu Display-&gt;Views and change the HTML code and move the different blocks of code around in order to make it look like that.

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

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

Less More

- Posts: 42
- Thank you received: 0
-
-

14 years 8 months ago [\#40666](#40666) by [ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")  Replied by *[ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#40666 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

Thanks Nicolas. Can you tell me how to just seperate the characteristics with a line?

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

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 8 months ago [\#40889](#40889) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#40889 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

For that, you can just add the CSS below in the front end CSS file of HikaShop via the Display tab of the configuration:

.hikashop_product_characteristics_table tr{
border-bottom: 1px black solid;
display: block;
}

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

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

Less More

- Posts: 42
- Thank you received: 0
-
-

14 years 7 months ago [\#41806](#41806) by [ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")  Replied by *[ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#41806 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

Nicolas thank you. I managed to make my product page look like the attachment. But I couldn't solve my other issue.. Help please!

What I'm trying to do is adding some custom information for each product, from a table in the editor of product page (as shown in attachment), that will automatically be inserted on the top of the product's hikashop_product_characteristics_table. Is there a way to do this?? I only managed to add the class to the table from the html view of the editor...

And also how can I make the price on each product page appear in the last row of that characteristics table?

Thank you in advance!

- [ ![Untitled-1.jpg](/forum/attachment/2997) ](/forum/attachment/2997 "Untitled-1.jpg") [ ](/forum/attachment/2997?download=1 "Untitled-1.jpg")

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

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 7 months ago [\#41991](#41991) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#41991 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

You can move the description of the product above the characteristic table by edit the file "show_default" of the view "product" via the menu Display-&gt;Views.
However, if you only want to have a piece of the description there and the rest at the bottom, that's not possible.
The easiest is to create a new custom field of the table "product" via the menu Display-&gt;Custom fields (commercial editions) and displayed on the front end. That will allow you to enter additional information about the product that will go automatically where you need it.

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

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

Less More

- Posts: 42
- Thank you received: 0
-
-

14 years 7 months ago [\#42039](#42039) by [ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")  Replied by *[ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#42039 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

Aren't custom fields going to show the same information for all products in a specific category? What I want to do is to display this additional short information that will be different for every product, along with the characteristics in a table. Isn't that feasible?

I thought of creating them as characteristics with one variant and when this will be the case, no dropdown will be shown..

Any suggestions?

Thanks!

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

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 7 months ago [\#42202](#42202) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#42202 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

No. The system will display there what you enter in the custom field in the back end.
So that's what you want to do. And so yes, it is feasible.

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

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

Less More

- Posts: 42
- Thank you received: 0
-
-

14 years 7 months ago [\#42257](#42257) by [ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")  Replied by *[ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#42257 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

Thank you Nicolas!

I have created new custom fields of the table "product" and I can add the information I need for each product from the back-end. I´ve tried that before but obviously I was doing sth wrong..

What I´ve managed to do now is shown in the attachment. Can you please help me now on how to make these custom fields appear in the same table on top of the characteristics? And if it´s possible to show the price in the last row of this table instead of standing alone above it?

Thanks a lot!

- [ ![untitled.JPG](/forum/attachment/3029) ](/forum/attachment/3029 "untitled.JPG") [ ](/forum/attachment/3029?download=1 "untitled.JPG")

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

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 7 months ago [\#42409](#42409) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#42409 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

You need to edit the file "show_default" via the menu Display-&gt;Views.
There, move the code Code:

if(!empty($this-&gt;fields)){ //LAYOUT show_block_custom_main $this-&gt;setLayout('show_block_custom_main'); echo $this-&gt;loadTemplate(); }

before the code Code:

$this-&gt;setLayout('show_block_charasteristic'); echo $this-&gt;loadTemplate();

For the price, you will have to remove the code Code:

if ($this-&gt;params-&gt;get('show_price')) { $this-&gt;row = &amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); }

from that same file and instead add it in the file "show_block_custom_item" by adding it around HTML tags &lt;tr&gt;&lt;td rowspan="2"&gt; and &lt;/td&gt;&lt;/tr&gt; just before the tag &lt;/table&gt;

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

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

Less More

- Posts: 42
- Thank you received: 0
-
-

14 years 7 months ago [\#42459](#42459) by [ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")  Replied by *[ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#42459 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

Thank you master! ![:)](/media/kunena/emoticons/8.png ":)") That worked perfect ! I had to create a custom field of the table "item" though to make the price visible. Maybe I'll use the code in the respective position in the file show_block_charasteristic.

One more question.. How can I use different class for only that price? Because if I edit the class of hikashop_product_price, the style of the price in the cart also changes..

Thank you again Nicolas.

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

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

Less More

- Posts: 42
- Thank you received: 0
-
-

14 years 7 months ago [\#42594](#42594) by [ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")  Replied by *[ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#42594 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

Nicolas I noticed that if I have variants with different prices, the price that I added in show_block_custom_item does not update.. Should I add sth else to the code?
Thanks

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

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 7 months ago [\#42730](#42730) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#42730 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

Ah yes, for the variants, you will have to also add the div which was around the PHP code you copied from the show_default file.

For the price, you just need to use some different CSS.
Instead of :
.hikashop_product_price{ color:blue;}

you can do:
.hikashop_product_page .hikashop_product_price{ color:blue;}

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

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

Less More

- Posts: 42
- Thank you received: 0
-
-

14 years 7 months ago [\#43537](#43537) by [ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")  Replied by *[ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#43537 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

Nicolas could you please guide me a bit more for the price update in show_block_custom_item? I've tried everything in my knowledge with no success.. I tried adding the code Code:

&lt;/div&gt; &lt;span id="hikashop_product_price_main" class="hikashop_product_price_main"&gt; &lt;?php if ($this-&gt;params-&gt;get('show_price')) { $this-&gt;row = &amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); }

just before the tag &lt;/table&gt; but I'm doing something wrong obviously!
Help please!
Thanks..

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

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 7 months ago [\#43732](#43732) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#43732 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

It should be like that: Code:

&lt;tr&gt;&lt;td rowspan="2"&gt; &lt;span id="hikashop_product_price_main" class="hikashop_product_price_main"&gt;&lt;?php if ($this-&gt;params-&gt;get('show_price')) { $this-&gt;row = &amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); } ?&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;

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

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

Less More

- Posts: 42
- Thank you received: 0
-
-

14 years 7 months ago [\#43852](#43852) by [ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")  Replied by *[ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#43852 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

Unfortunately that didn't work Nicolas. I can make the price display where I want but it does not respond to the variant change.. Please find below the show_block_custom_item file if this helps. Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 1.5.6 * @author hikashop.com * @copyright (C) 2010-2012 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;div id="hikashop_product_custom_item_info" class="hikashop_product_custom_item_info"&gt; &lt;table width="100%"&gt; &lt;?php foreach ($this-&gt;itemFields as $fieldName =&gt; $oneExtraField) { $itemData = JRequest :: getString('item_data_' . $fieldName, $this-&gt;element-&gt; $fieldName); ?&gt; &lt;tr id="hikashop_item_&lt;?php echo $oneExtraField-&gt;field_namekey; ?&gt;" class="hikashop_item_&lt;?php echo $oneExtraField-&gt;field_namekey;?&gt;_line"&gt; &lt;td class="key"&gt; &lt;span id="hikashop_product_custom_item_name_&lt;?php echo $oneExtraField-&gt;field_id;?&gt;" class="hikashop_product_custom_item_name"&gt; &lt;?php echo $this-&gt;fieldsClass-&gt;getFieldName($oneExtraField);?&gt; &lt;/span&gt; &lt;/td&gt; &lt;td&gt; &lt;span id="hikashop_product_custom_item_value_&lt;?php echo $oneExtraField-&gt;field_id;?&gt;" class="hikashop_product_custom_item_value"&gt; &lt;?php $onWhat='onchange'; if($oneExtraField-&gt;field_type=='radio') $onWhat='onclick'; ?&gt; &lt;?php echo $this-&gt;fieldsClass-&gt;display($oneExtraField,$itemData,'data[item]['.$oneExtraField-&gt;field_namekey.']',false,' '.$onWhat.'="hikashopToggleFields(this.value,\''.$fieldName.'\',\'item\',0);"'); ?&gt; &lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } ?&gt; &lt;/table&gt; &lt;/div&gt;

Thank you.

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

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 7 months ago [\#44039](#44039) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#44039 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

I don't see your code modification in that file.

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

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

Less More

- Posts: 42
- Thank you received: 0
-
-

14 years 7 months ago [\#44069](#44069) by [ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")  Replied by *[ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#44069 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

I just posted my show_block_custom_item file so that you could tell me where to add the code.
The modified file is as below. Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 1.5.6 * @author hikashop.com * @copyright (C) 2010-2012 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;div id="hikashop_product_custom_item_info" class="hikashop_product_custom_item_info"&gt; &lt;table width="100%"&gt; &lt;?php foreach ($this-&gt;itemFields as $fieldName =&gt; $oneExtraField) { $itemData = JRequest :: getString('item_data_' . $fieldName, $this-&gt;element-&gt; $fieldName); ?&gt; &lt;tr id="hikashop_item_&lt;?php echo $oneExtraField-&gt;field_namekey; ?&gt;" class="hikashop_item_&lt;?php echo $oneExtraField-&gt;field_namekey;?&gt;_line"&gt; &lt;td class="key"&gt; &lt;span id="hikashop_product_custom_item_name_&lt;?php echo $oneExtraField-&gt;field_id;?&gt;" class="hikashop_product_custom_item_name"&gt; &lt;?php echo $this-&gt;fieldsClass-&gt;getFieldName($oneExtraField);?&gt; &lt;/span&gt; &lt;/td&gt; &lt;td&gt; &lt;span id="hikashop_product_custom_item_value_&lt;?php echo $oneExtraField-&gt;field_id;?&gt;" class="hikashop_product_custom_item_value"&gt; &lt;?php $onWhat='onchange'; if($oneExtraField-&gt;field_type=='radio') $onWhat='onclick'; ?&gt; &lt;?php echo $this-&gt;fieldsClass-&gt;display($oneExtraField,$itemData,'data[item]['.$oneExtraField-&gt;field_namekey.']',false,' '.$onWhat.'="hikashopToggleFields(this.value,\''.$fieldName.'\',\'item\',0);"'); ?&gt; &lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td rowspan="2"&gt; &lt;span id="hikashop_product_price_main" class="hikashop_product_price_main"&gt;&lt;?php if ($this-&gt;params-&gt;get('show_price')) { $this-&gt;row = &amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); } ?&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt; &lt;?php } ?&gt; &lt;/table&gt; &lt;/div&gt;

Looking forward for your reply!
Thanks

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

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 7 months ago [\#44346](#44346) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#44346 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

That modification is fine. If you don't see any difference, please make sure that you're modifying the view file of the correct front end template.

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

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

Less More

- Posts: 42
- Thank you received: 0
-
-

14 years 7 months ago [\#44383](#44383) by [ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")  Replied by *[ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")* on topic *[Re: Product characteristics in a table](/forum/4-how-to/40449-product-characteristics-in-a-table#44383 "Hello. The product characteristics on my page are shown as in image 1. I want to make them show with seperating lines as in image 2. How can I achieve that? Thanks")*

Nicolas I can view the price at the correct position, so it&#96;s in the correct file for sure..
The problem is that when selecting another variant, all the information for that variant change normally but not the price.
If you could help me find a solution on this it would be much appreciated! So that you will not have to answer to another post on this subject as it&#96;s gone too far.
I am also messaging you the link to view the issue.
I look forward for your reply to solve this!
Thanks a lot.

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

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

[](#top)
