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

#   Custom field display

##

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

Less More

- Posts: 28
- Thank you received: 0
-
-

15 years 7 months ago [\#13866](#13866) by [cestor](/forum/user/1834-cestor "View cestor's Profile")  *[Custom field display](/forum/4-how-to/13866-custom-field-display#13866 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")* was created by *[cestor](/forum/user/1834-cestor "View cestor's Profile")*

Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed?
I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...

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

15 years 7 months ago [\#13869](#13869) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom field display](/forum/4-how-to/13866-custom-field-display#13869 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")*

There is no option for that.
It's possible to do it, if you have some PHP skills, by editing the file show of the view product and storing the HTML of the specifications somewhere without displaying them and then creating a module which would just display the HTML. Then, with Advanced Module Manager, you can set that module to only display if there is something in it.

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

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

Less More

- Posts: 28
- Thank you received: 0
-
-

15 years 7 months ago [\#13873](#13873) by [cestor](/forum/user/1834-cestor "View cestor's Profile")  Replied by *[cestor](/forum/user/1834-cestor "View cestor's Profile")* on topic *[Re: Custom field display](/forum/4-how-to/13866-custom-field-display#13873 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")*

Even if I could do that, I am running Joomla 1.6 and AMM does not work with that ![:-(](/media/kunena/emoticons/22.png ":-(")

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

15 years 7 months ago [\#13877](#13877) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom field display](/forum/4-how-to/13866-custom-field-display#13877 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")*

Without AMM, you can still do that but you have to edit your template to not display the load position of the module when not on a product page.

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

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

Less More

- Posts: 28
- Thank you received: 0
-
-

15 years 7 months ago [\#13878](#13878) by [cestor](/forum/user/1834-cestor "View cestor's Profile")  Replied by *[cestor](/forum/user/1834-cestor "View cestor's Profile")* on topic *[Re: Custom field display](/forum/4-how-to/13866-custom-field-display#13878 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")*

I am using the Mercado theme from RocketTheme which (to me) seems hideously complicated and is built on top of their Gantry framework

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

15 years 7 months ago [\#13880](#13880) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom field display](/forum/4-how-to/13866-custom-field-display#13880 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")*

I didn't look at the mercado files so I can't say.

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

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

Less More

- Posts: 28
- Thank you received: 0
-
-

15 years 7 months ago [\#13887](#13887) by [cestor](/forum/user/1834-cestor "View cestor's Profile")  Replied by *[cestor](/forum/user/1834-cestor "View cestor's Profile")* on topic *[Re: Custom field display](/forum/4-how-to/13866-custom-field-display#13887 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")*

Is it possible to achieve the above purely by editing the show.php and without having to touch the template?

i.e. display the view of the product without the spec and then make a call to show a separate content module in a different position?

Sorry if this is a silly question - a lot of this is still new to me.

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

15 years 7 months ago [\#13888](#13888) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom field display](/forum/4-how-to/13866-custom-field-display#13888 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")*

Yes. That's what I wrote earlier:

> It's possible to do it, if you have some PHP skills, by editing the file show of the view product and storing the HTML of the specifications somewhere without displaying them and then creating a module which would just display the HTML.

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

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

Less More

- Posts: 28
- Thank you received: 0
-
-

15 years 7 months ago [\#13907](#13907) by [cestor](/forum/user/1834-cestor "View cestor's Profile")  Replied by *[cestor](/forum/user/1834-cestor "View cestor's Profile")* on topic *[Re: Custom field display](/forum/4-how-to/13866-custom-field-display#13907 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")*

I have found a module that allows custom php inserts here [ extensions.joomla.org/extensions/edition...code-in-modules/3668](http://extensions.joomla.org/extensions/edition/custom-code-in-modules/3668)
with a simple copy of the relevant parts of show.php that should only leave the question of how to hide empty modules in 1.6 with the incomprehensible RT template...

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

15 years 7 months ago [\#13909](#13909) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom field display](/forum/4-how-to/13866-custom-field-display#13909 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")*

You can't just copy parts of the show file in the module.
The show file needs the data from the view.html.php file in order to display it. In your module, you won't have that data available.
The easiest is to put around the tags below around the code you want in your module:
&lt;?php ob_start(); ?&gt;

and

&lt;?php $_REQUEST = ob_get_clean(); ?&gt;

Then, in your module you can just have the code: &lt;?php echo $_REQUEST; ?&gt;

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

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

Less More

- Posts: 28
- Thank you received: 0
-
-

15 years 7 months ago [\#13911](#13911) by [cestor](/forum/user/1834-cestor "View cestor's Profile")  Replied by *[cestor](/forum/user/1834-cestor "View cestor's Profile")* on topic *[Re: Custom field display](/forum/4-how-to/13866-custom-field-display#13911 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")*

thanks -will try that

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

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

Less More

- Posts: 28
- Thank you received: 0
-
-

15 years 7 months ago [\#13940](#13940) by [cestor](/forum/user/1834-cestor "View cestor's Profile")  Replied by *[cestor](/forum/user/1834-cestor "View cestor's Profile")* on topic *[Re: Custom field display](/forum/4-how-to/13866-custom-field-display#13940 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")*

When I put in the php using the custom view, I notice that it creates the override show.php in httpdocs/templates/beez5/html/com_hikashop/product even though I'm not using the beez5 template...this would seem to be a bug...

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

15 years 7 months ago [\#13953](#13953) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom field display](/forum/4-how-to/13866-custom-field-display#13953 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")*

You have one show file per template on your website. If you edit the show file for the beez template, the modification will go in the bee template, if you edit the show file of your main template, it will put it in the main template.
That allows you to have different modifications for different templates on your website (you can use several templates on a joomla website).

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

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

Less More

- Posts: 28
- Thank you received: 0
-
-

15 years 7 months ago [\#13959](#13959) by [cestor](/forum/user/1834-cestor "View cestor's Profile")  Replied by *[cestor](/forum/user/1834-cestor "View cestor's Profile")* on topic *[Re: Custom field display](/forum/4-how-to/13866-custom-field-display#13959 "Is it possible to get a detailed product specification including custom fields to appear in a different module while the main product view is displayed? I assume that just creating a 2nd hikashop content module will not do it unless it can be coded not to display on every page...")*

Silly me. I was editing the wrong show.php
Your PHP above worked a treat combined with blank_mod.
Now just need to work out how to only display the module when the product page is shown...

Thanks so much for the great support.

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

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