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

#   Further customize product pages

##

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

Less More

- Posts: 317
- Thank you received: 20
-
-

2 years 9 months ago -  2 years 9 months ago [\#358725](#358725) by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile")  *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358725 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")* was created by *[jgribble](/forum/user/4695-jgribble "View jgribble's Profile")*

-- HikaShop version -- : 5.0.3
-- Joomla version -- : 4.4.2

On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful.
But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up.
So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?

Here's an example of typical product page

[ ![typical-product-view&#95;2024-01-31.png](/forum/attachment/58734) ](/forum/attachment/58734 "...2024-01-31.png")

[ ![typical-product-view&#95;2024-01-31.png](/forum/attachment/58734) ](/forum/attachment/58734 "...2024-01-31.png")

Thank you,
-Jim G.

- [ ![typical-product-view&#95;2024-01-31.png](/forum/attachment/58734) ](/forum/attachment/58734 "...2024-01-31.png") [ ](/forum/attachment/58734?download=1 "...2024-01-31.png")

Last edit: 2 years 9 months ago by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile").

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

2 years 9 months ago [\#358734](#358734) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358734 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

Hi,

That's a good idea, yes.
The column name is the name of the column where the data entered in that field will be stored in the database.
If you leave it empty, HikaShop will automatically use the field title as column name.
And yes, you can edit the view file product / show_default via the menu Display&gt;Views to add custom code to display the content of the custom field.
The code is actually quite simple: Code:

&lt;?php echo $this-&gt;element-&gt;xxx; ?&gt;

where xxx is to be replaced by the column name of the custom field.

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

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

Less More

- Posts: 317
- Thank you received: 20
-
-

2 years 9 months ago -  2 years 9 months ago [\#358761](#358761) by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile")  Replied by *[jgribble](/forum/user/4695-jgribble "View jgribble's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358761 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

Thanks for confirming, great news, but now walk us through it a little further?
Step one? Create the custom field. Let's call it "product-top."
Step two? Write a custom name for my column? Let's also use "product-top."
Step three? Assign the field to my select products. Can I also select by category?
Step four: I add &lt;?php echo $this-&gt;element-&gt;product-top; ?&gt; to the appropriate View.
But, which View exactly, and where in that View Php code? Could you be more specific with this last step?
Also, this is a good idea, and I hope you'll consider adding it to your list of built-in custom field options.

Is this where I would add the column in Php? Would appreciate some detailed guidance. I want the field to display in the same block as "price," directly above.

[ ![products.php.png](/forum/attachment/58742) ](/forum/attachment/58742 "products.php.png")

-Jim G.

- [ ![products.php.png](/forum/attachment/58742) ](/forum/attachment/58742 "products.php.png") [ ](/forum/attachment/58742?download=1 "products.php.png")

Last edit: 2 years 9 months ago by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile").

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

2 years 9 months ago -  2 years 9 months ago [\#358766](#358766) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358766 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

Hi,

> Step one? Create the custom field. Let's call it "product-top."

Yes.

> Step two? Write a custom name for my column? Let's call also use "product-top."

don't use a "-" for the column name. That won't work. use producttop instead of example

> Step three? Assign the field to my select products. Can I also select by category?

You don't need to do that. Leave it for all the products.

> Step four: I add &lt;?php echo $this-&gt;element-&gt;product-top; ?&gt; to the appropriate View.

Yes. without the "-"

> But, which View exactly, and where in that View Php code? Could you be more specific with this last step?

That view, as well as all the other views of HikaShop, can be edited via the menu Display&gt;Views, as I was saying.
And as I said, it should be the view product / show_default
Here is a documentation on view customization:
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)

> Is this where I would add the column in Php? Would appreciate some detailed guidance. I want the field to display in the same block as "price," directly above.

Yes, that's the place.

Last edit: 2 years 9 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 317
- Thank you received: 20
-
-

2 years 9 months ago [\#358779](#358779) by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile")  Replied by *[jgribble](/forum/user/4695-jgribble "View jgribble's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358779 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

Yes, all sounds great, I know not to use the quotes.
I will make a backup and give it a try tonite.
Appreciate the detailed response.
Please do consider adding this to the preselectable system defaults,
-JG

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

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

Less More

- Posts: 317
- Thank you received: 20
-
-

2 years 9 months ago -  2 years 9 months ago [\#358781](#358781) by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile")  Replied by *[jgribble](/forum/user/4695-jgribble "View jgribble's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358781 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

This did work great, thank you. Here's an example.
[ jimg74.sg-host.com/buy-j35-lifeline-stanchions](https://jimg74.sg-host.com/buy-j35-lifeline-stanchions)
Am I assured that layout edits such as this will not be overwritten by Hika updates? I believe so.
-JG

Last edit: 2 years 9 months ago by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile").

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

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

2 years 9 months ago [\#358808](#358808) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358808 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

Indeed.
View overrides are stored in the folder templates/YOUR_TEMPLATE/html/com_hikashop/
They are not affected by updates so you won't lose them when you update your HikaShop in the future.
And if you change your Joomla template in the future, you can just copy the view overrides from the old template to the new one.

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

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

Less More

- Posts: 317
- Thank you received: 20
-
-

2 years 9 months ago [\#358809](#358809) by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile")  Replied by *[jgribble](/forum/user/4695-jgribble "View jgribble's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358809 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

So, template updates will wipe these out? I guess it's not an issue if we know that and plan for it.
-Jim G.

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

2 years 9 months ago [\#358811](#358811) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358811 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

The short answer is most likely not.

The long answer is that it depends on the template.
If your template already had an override for product / show_default, then when you update the template, it will update the override file too. And thus if you modify the already existing view override, you would lose it when updating the template. And even in that case, Joomla introduced child templates a while ago which allows you to create overrides of view overrides (we talked about this here : [ www.hikashop.com/forum/5-support-en-fran...template/358556.html](https://www.hikashop.com/forum/5-support-en-francais-french-support-/907657-surcharge-dans-child-template/358556.html) ).
But if your template doesn't has an override for that view file, then updating the template won't change anything for these overrides and you won't have anything to do.

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

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

Less More

- Posts: 317
- Thank you received: 20
-
-

2 years 9 months ago -  2 years 9 months ago [\#358823](#358823) by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile")  Replied by *[jgribble](/forum/user/4695-jgribble "View jgribble's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358823 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

Thanks, I will have to study this further. I am aware of it but never had reason to use it until now.
The solution would be for you to add this field as a permanent default choice to the Hikashop core. I think it would be very welcome.
And now, I would like to go one better.
While it was a simple matter to add the field to the View PHP, I can only apply inline style.
I am not sure how Hikashop works but usually blocks have to be defined in a master file titled something like blocks.php. This gives a CSS class name to all our layout building blocks. Now we can add CSS style to the block via our custom.css file.
So that is what I want to do.
Then as the store grows, if I want to adjust style of all the product header blocks, I just do it one place, fast, easy. Just like already I can with all your default layout blocks.
Is this how? [ www.hikashop.com/home/blog/481-hikashop-4-5-1.html#prod](https://www.hikashop.com/home/blog/481-hikashop-4-5-1.html#prod)
Might work, but would I have to do it for every product individually? Seems cumbersome.
Again, thanks.
-Jim G.

Last edit: 2 years 9 months ago by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile").

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

2 years 9 months ago [\#358837](#358837) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358837 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

Hi,

What you linked to is the drag &amp; drop interface to customize the product edit form in the backend.
So if you want to customize the frontend, it won't help you.

What you're talking about is a drag and drop to customize the views of the frontend.
HikaShop actually comes with this.
If you go in the menu Display&gt;Views and edit the product / show_default view file, you can see the view builder's drag &amp; drop interface in order to swap the place of the different elements:
[ www.hikashop.com/home/blog/471-hikashop-4-4-3.html#drag](https://www.hikashop.com/home/blog/471-hikashop-4-4-3.html#drag)
In there, you have a block "CUSTOM PRODUCT FIELDS" which displays all the custom product fields.
If you want to add an extra block for your new custom field, instead of Code:

&lt;?php echo $this-&gt;element-&gt;xxx; ?&gt;

, you could use: Code:

&lt;!-- MY XXX FIELD --&gt; &lt;?php echo $this-&gt;element-&gt;xxx; ?&gt; &lt;!-- EO MY XXX FIELD --&gt;

and the block "MY XXX FIELD" would be added to the drag &amp; drop view builder interface of the product details page.
In the future, we would like to add a "new" button which would allow you to add new blocks there so that you would be able to do it without having to write any code.

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

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

Less More

- Posts: 317
- Thank you received: 20
-
-

2 years 9 months ago -  2 years 9 months ago [\#358859](#358859) by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile")  Replied by *[jgribble](/forum/user/4695-jgribble "View jgribble's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358859 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

So, I got it working by adding this: &lt;?php echo $this-&gt;element-&gt;productheader; ?&gt; Screenshot attached.

Instead, I should add this?

&lt;!-- MY productheader FIELD --&gt;
&lt;?php echo $this-&gt;element-&gt;productheader; ?&gt;
&lt;!-- EO MY productheader FIELD --&gt;

In the same place in the PHP code?
At views/mytemplate/products show default?
And this adds an actual field instead of just an inline element?
And do I have it right that I am only customizing the default layout?
The field will not publish if I switch to tabular layout?
Thanks again, groping toward a full understanding.
The less coding you require, the more subscriptions you will sell.
-JG

[ ![current-product-header-code-solution.png](/forum/attachment/58761) ](/forum/attachment/58761 "...e-solution.png")

- [ ![current-product-header-code-solution.png](/forum/attachment/58761) ](/forum/attachment/58761 "...e-solution.png") [ ](/forum/attachment/58761?download=1 "...e-solution.png")

Last edit: 2 years 9 months ago by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile").

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

2 years 9 months ago [\#358867](#358867) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358867 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

Hi,

You need to use upper case characters only for the block limitation tags.
So it should be: Code:

&lt;!-- MY PRODUCTHEADER FIELD --&gt; &lt;?php echo $this-&gt;element-&gt;productheader; ?&gt; &lt;!-- EO MY PRODUCTHEADER FIELD --&gt;

And yes, in the same place.

> And this adds an actual field instead of just an inline element?

I'm not sure what you mean by this ?

> And do I have it right that I am only customizing the default layout?
> The field will not publish if I switch to tabular layout?

That's correct.

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

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

Less More

- Posts: 317
- Thank you received: 20
-
-

2 years 9 months ago [\#358891](#358891) by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile")  Replied by *[jgribble](/forum/user/4695-jgribble "View jgribble's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358891 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

Thank you, I will give it a try. Excuse my PHP. I have only a basic working knowledge.
My question was, will this create a CSS classname "productheader," which I will be able to style in custom.css folder?
I think so.
-Jim Gribble

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

2 years 9 months ago [\#358893](#358893) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358893 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

No, it won't. If you want to do this, you need to add a div around it.
For example: Code:

&lt;!-- MY PRODUCTHEADER FIELD --&gt; &lt;div class="productheader"&gt; &lt;?php echo $this-&gt;element-&gt;productheader; ?&gt; &lt;/div&gt; &lt;!-- EO MY PRODUCTHEADER FIELD --&gt;

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

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

Less More

- Posts: 317
- Thank you received: 20
-
-

2 years 9 months ago [\#358903](#358903) by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile")  Replied by *[jgribble](/forum/user/4695-jgribble "View jgribble's Profile")* on topic *[Further customize product pages](/forum/25-install-update/907682-further-customize-product-pages#358903 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2  On a product page, is there a way to display content above the product/options select? In default layout we can put specifications directly underneath and that's very helpful. But what about at the very top? I'd like an introductory message/label to go there. The default presentation is kind of drab/generic and I'd like to be able to jazz it up. So I suppose I would create a WSIWYG custom field. Then I could assign to a column. And then assign it to categories or individual products? What is that column name? And how can I set my new field to appear at the top of the column if used? Will that be somewhere in Views?  Here's an example of typical product page  Thank you, -Jim G.")*

Looks perfect, thank you!

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

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