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

#   Show custom fields of products already in category

##

- **[Tralala](/forum/user/31991-tralala "View Tralala's Profile")**
- [![Tralala's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31991.jpg)](/forum/user/31991-tralala "View Tralala's Profile") Topic Author
- [ Offline](/forum/user/31991-tralala)

Less More

- Posts: 25
- Thank you received: 1
-
-
- [](http://www.interlijn.nl)
-

11 years 4 weeks ago [\#215689](#215689) by [Tralala](/forum/user/31991-tralala "View Tralala's Profile")  *[Show custom fields of products already in category](/forum/26-product-category-display/879541-show-custom-fields-of-products-already-in-category#215689 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.26 -- Browser(s) name and version -- : Firefox 40  Can I display some ‘Specificaties’ (custom fields) of products also if the products are displayed in category-view? So, if you see all products of one category, already some specifications of products are showed.  I want to show information about products in two steps: - first, already in category-view, the outlines (with ‘specificaties’ in custom fields) - second more extended info.  Maybe the answer is still in this topic:   hikashop.com/forum/product-category-disp...-layout-listing.html  But I want to show 8 or 9 custom fields. Do I copy than the code row-&gt; fieldname; ?&gt; 8 or 9 times just stacked?")* was created by *[Tralala](/forum/user/31991-tralala "View Tralala's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.5.26
-- Browser(s) name and version -- : Firefox 40

Can I display some ‘Specificaties’ (custom fields) of products also if the products are displayed in category-view? So, if you see all products of one category, already some specifications of products are showed.

I want to show information about products in two steps:
- first, already in category-view, the outlines (with ‘specificaties’ in custom fields)
- second more extended info.

Maybe the answer is still in this topic: [ hikashop.com/forum/product-category-disp...-layout-listing.html](http://hikashop.com/forum/product-category-display/879316-custom-specification-in-product-layout-listing.html)

But I want to show 8 or 9 custom fields.
Do I copy than the code &lt;?php echo $this-&gt;row-&gt; fieldname; ?&gt; 8 or 9 times just stacked?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzk1NDEtc2hvdy1jdXN0b20tZmllbGRzLW9mLXByb2R1Y3RzLWFscmVhZHktaW4tY2F0ZWdvcnk/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

11 years 4 weeks ago [\#215751](#215751) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show custom fields of products already in category](/forum/26-product-category-display/879541-show-custom-fields-of-products-already-in-category#215751 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.26 -- Browser(s) name and version -- : Firefox 40  Can I display some ‘Specificaties’ (custom fields) of products also if the products are displayed in category-view? So, if you see all products of one category, already some specifications of products are showed.  I want to show information about products in two steps: - first, already in category-view, the outlines (with ‘specificaties’ in custom fields) - second more extended info.  Maybe the answer is still in this topic:   hikashop.com/forum/product-category-disp...-layout-listing.html  But I want to show 8 or 9 custom fields. Do I copy than the code row-&gt; fieldname; ?&gt; 8 or 9 times just stacked?")*

Hi,

Yes, that's basically it.
Make sure that you replace "fieldname" with the column name of the corresponding field.

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

- **[Tralala](/forum/user/31991-tralala "View Tralala's Profile")**
- [![Tralala's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31991.jpg)](/forum/user/31991-tralala "View Tralala's Profile") Topic Author
- [ Offline](/forum/user/31991-tralala)

Less More

- Posts: 25
- Thank you received: 1
-
-
- [](http://www.interlijn.nl)
-

11 years 4 weeks ago -  11 years 4 weeks ago [\#215769](#215769) by [Tralala](/forum/user/31991-tralala "View Tralala's Profile")  Replied by *[Tralala](/forum/user/31991-tralala "View Tralala's Profile")* on topic *[Show custom fields of products already in category](/forum/26-product-category-display/879541-show-custom-fields-of-products-already-in-category#215769 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.26 -- Browser(s) name and version -- : Firefox 40  Can I display some ‘Specificaties’ (custom fields) of products also if the products are displayed in category-view? So, if you see all products of one category, already some specifications of products are showed.  I want to show information about products in two steps: - first, already in category-view, the outlines (with ‘specificaties’ in custom fields) - second more extended info.  Maybe the answer is still in this topic:   hikashop.com/forum/product-category-disp...-layout-listing.html  But I want to show 8 or 9 custom fields. Do I copy than the code row-&gt; fieldname; ?&gt; 8 or 9 times just stacked?")*

Thanks. Done, and working.
But now I got only the values, all in one row.

What I need is one label and its value, in one row.
Under that anoter row with label and value.
And everything in a simpe table.

I'm sorry, cannot 'write' php, only read it.

Last edit: 11 years 4 weeks ago by [Tralala](/forum/user/31991-tralala "View Tralala's Profile"). Reason: better text

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzk1NDEtc2hvdy1jdXN0b20tZmllbGRzLW9mLXByb2R1Y3RzLWFscmVhZHktaW4tY2F0ZWdvcnk/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

11 years 4 weeks ago [\#215796](#215796) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show custom fields of products already in category](/forum/26-product-category-display/879541-show-custom-fields-of-products-already-in-category#215796 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.26 -- Browser(s) name and version -- : Firefox 40  Can I display some ‘Specificaties’ (custom fields) of products also if the products are displayed in category-view? So, if you see all products of one category, already some specifications of products are showed.  I want to show information about products in two steps: - first, already in category-view, the outlines (with ‘specificaties’ in custom fields) - second more extended info.  Maybe the answer is still in this topic:   hikashop.com/forum/product-category-disp...-layout-listing.html  But I want to show 8 or 9 custom fields. Do I copy than the code row-&gt; fieldname; ?&gt; 8 or 9 times just stacked?")*

Hi,

There is no need to write PHP for that.
You just need to write the text you want.
For example, like that: Code:

My field 1: &lt;?php echo $this-&gt;row-&gt; field1; ?&gt;&lt;br/&gt; My field 2: &lt;?php echo $this-&gt;row-&gt; field2; ?&gt;&lt;br/&gt; My field 3: &lt;?php echo $this-&gt;row-&gt; field3; ?&gt;&lt;br/&gt; My field 4: &lt;?php echo $this-&gt;row-&gt; field4; ?&gt;&lt;br/&gt;

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

- **[Tralala](/forum/user/31991-tralala "View Tralala's Profile")**
- [![Tralala's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31991.jpg)](/forum/user/31991-tralala "View Tralala's Profile") Topic Author
- [ Offline](/forum/user/31991-tralala)

Less More

- Posts: 25
- Thank you received: 1
-
-
- [](http://www.interlijn.nl)
-

11 years 4 weeks ago [\#215836](#215836) by [Tralala](/forum/user/31991-tralala "View Tralala's Profile")  Replied by *[Tralala](/forum/user/31991-tralala "View Tralala's Profile")* on topic *[Show custom fields of products already in category](/forum/26-product-category-display/879541-show-custom-fields-of-products-already-in-category#215836 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.26 -- Browser(s) name and version -- : Firefox 40  Can I display some ‘Specificaties’ (custom fields) of products also if the products are displayed in category-view? So, if you see all products of one category, already some specifications of products are showed.  I want to show information about products in two steps: - first, already in category-view, the outlines (with ‘specificaties’ in custom fields) - second more extended info.  Maybe the answer is still in this topic:   hikashop.com/forum/product-category-disp...-layout-listing.html  But I want to show 8 or 9 custom fields. Do I copy than the code row-&gt; fieldname; ?&gt; 8 or 9 times just stacked?")*

Tanks!
I already did so.
But the result is display of the column name, while it seem to me more logical to display the Labelname.
Can I use two or three words and capitals for the column name?

And how can I display this info in a simple table?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzk1NDEtc2hvdy1jdXN0b20tZmllbGRzLW9mLXByb2R1Y3RzLWFscmVhZHktaW4tY2F0ZWdvcnk/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

11 years 3 weeks ago [\#215856](#215856) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show custom fields of products already in category](/forum/26-product-category-display/879541-show-custom-fields-of-products-already-in-category#215856 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.26 -- Browser(s) name and version -- : Firefox 40  Can I display some ‘Specificaties’ (custom fields) of products also if the products are displayed in category-view? So, if you see all products of one category, already some specifications of products are showed.  I want to show information about products in two steps: - first, already in category-view, the outlines (with ‘specificaties’ in custom fields) - second more extended info.  Maybe the answer is still in this topic:   hikashop.com/forum/product-category-disp...-layout-listing.html  But I want to show 8 or 9 custom fields. Do I copy than the code row-&gt; fieldname; ?&gt; 8 or 9 times just stacked?")*

Hi,

1. I don't understand your question. For the "My field 1: " text, you can write whatever you want and it will work. I just gave you an example.

2. Just use table HTML tags in that case: Code:

&lt;table&gt; &lt;tr&gt;&lt;td&gt;My field 1&lt;/td&gt;&lt;td&gt;&lt;?php echo $this-&gt;row-&gt; field1; ?&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;My field 2&lt;/td&gt;&lt;td&gt;&lt;?php echo $this-&gt;row-&gt; field2; ?&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;My field 3&lt;/td&gt;&lt;td&gt;&lt;?php echo $this-&gt;row-&gt; field3; ?&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;My field 4&lt;/td&gt;&lt;td&gt;&lt;?php echo $this-&gt;row-&gt; field4; ?&gt;&lt;/td&gt;&lt;/tr&gt; &lt;/table&gt;

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

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

[](#top)
