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

#   additional field on product - essentials

##

- **[markV](/forum/user/22055-markv "View markV's Profile")**
- [![markV's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-22-2.jpg)](/forum/user/22055-markv "View markV's Profile") Topic Author
- [ Offline](/forum/user/22055-markv)

Less More

- Posts: 12
- Thank you received: 0
-
-
-
- [](http://www.bettyandpeggyhaberdashery.co.uk)
-

13 years 4 months ago [\#110348](#110348) by [markV](/forum/user/22055-markv "View markV's Profile")  *[additional field on product - essentials](/forum/2-general-talk-about-hikashop/84012-additional-field-on-product-essentials#110348 "Hi I have added a custom field to a product to show additional information about some of our products, (such as &quot;unsuitable for children under 36 months&quot; or &quot;100% cotton&quot;), and this is showing up ok but in a position that is not where I want it to, i.e. above the product info. I would like to move it to below the info and possibly remove it if there is no additional info about a product. Can you tell me how to find the actual php page that is actually building the product page so I can swap the positions around and possibly only display this extra info if there is actually any actual info. I am assuming I can use an if() statement to only show this heading if there is content to be displayed. Cheers Mark")* was created by *[markV](/forum/user/22055-markv "View markV's Profile")*

Hi
I have added a custom field to a product to show additional information about some of our products, (such as "unsuitable for children under 36 months" or "100% cotton"), and this is showing up ok but in a position that is not where I want it to, i.e. above the product info. I would like to move it to below the info and possibly remove it if there is no additional info about a product. Can you tell me how to find the actual php page that is actually building the product page so I can swap the positions around and possibly only display this extra info if there is actually any actual info. I am assuming I can use an if() statement to only show this heading if there is content to be displayed.
Cheers
Mark

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg0MDEyLWFkZGl0aW9uYWwtZmllbGQtb24tcHJvZHVjdC1lc3NlbnRpYWxzP3RtcGw9bWFya2Rvd24=) 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: 86315
- Thank you received: 14274
-
-

13 years 4 months ago [\#110349](#110349) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[additional field on product - essentials](/forum/2-general-talk-about-hikashop/84012-additional-field-on-product-essentials#110349 "Hi I have added a custom field to a product to show additional information about some of our products, (such as &quot;unsuitable for children under 36 months&quot; or &quot;100% cotton&quot;), and this is showing up ok but in a position that is not where I want it to, i.e. above the product info. I would like to move it to below the info and possibly remove it if there is no additional info about a product. Can you tell me how to find the actual php page that is actually building the product page so I can swap the positions around and possibly only display this extra info if there is actually any actual info. I am assuming I can use an if() statement to only show this heading if there is content to be displayed. Cheers Mark")*

Hi,

You can do that in the "show_default" view file that you can edit via the menu Display-&gt;Views.

The piece of code which displays the custom product fields is: Code:

&lt;?php if(!empty($this-&gt;fields)){ $this-&gt;setLayout('show_block_custom_main'); echo $this-&gt;loadTemplate(); } ?&gt;

Note that this code mainly calls the sub view file show_block_custom_main which is in charge of the display of the custom product fields area.

The following user(s) said Thank You: [markV](/forum/user/22055-markv "View markV's Profile")

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

- **[markV](/forum/user/22055-markv "View markV's Profile")**
- [![markV's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-22-2.jpg)](/forum/user/22055-markv "View markV's Profile") Topic Author
- [ Offline](/forum/user/22055-markv)

Less More

- Posts: 12
- Thank you received: 0
-
-
-
- [](http://www.bettyandpeggyhaberdashery.co.uk)
-

13 years 4 months ago [\#110352](#110352) by [markV](/forum/user/22055-markv "View markV's Profile")  Replied by *[markV](/forum/user/22055-markv "View markV's Profile")* on topic *[additional field on product - essentials](/forum/2-general-talk-about-hikashop/84012-additional-field-on-product-essentials#110352 "Hi I have added a custom field to a product to show additional information about some of our products, (such as &quot;unsuitable for children under 36 months&quot; or &quot;100% cotton&quot;), and this is showing up ok but in a position that is not where I want it to, i.e. above the product info. I would like to move it to below the info and possibly remove it if there is no additional info about a product. Can you tell me how to find the actual php page that is actually building the product page so I can swap the positions around and possibly only display this extra info if there is actually any actual info. I am assuming I can use an if() statement to only show this heading if there is content to be displayed. Cheers Mark")*

I will have a play around with the
&gt;&lt;div id="hikashop_product_custom_info_main" class="hikashop_product_custom_info_main"&gt;
&lt;h4&gt;&lt;?php echo JText::_('SPECIFICATIONS');?&gt;&lt;/h4&gt;
and see the best way to lay this out.
Many thanks
Mark

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

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

[](#top)
