Show Custom Field on Product Page (above product description)

  • Posts: 117
  • Thank you received: 6
4 years 2 weeks ago #316447

-- url of the page with the problem -- : www.formidog.nl
-- HikaShop version -- : 4.2.3 business
-- Joomla version -- : 3.9.16

Good evening everybody

I need extra information for wholesalers in products

I have created a custom text area field in the product table.
its name is: pro_omschrijving
it has the right user group access settings

My question:
Which view do I need to edit to make the field visible just above the main description on the product display page.

Thanks in advance!

Dick

Last edit: 4 years 1 week ago by Formidog.

Please Log in or Create an account to join the conversation.

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
4 years 2 weeks ago #316453

Hi,

Turn on the "Display view files" setting of the HikaShop configuration and look at your product details page again and you'll see which view file is used for which area.
It will probably be the product / show_default.php view file that you'll have to edit.

Please Log in or Create an account to join the conversation.

  • Posts: 117
  • Thank you received: 6
4 years 2 weeks ago #316488

Thanks again for your kind and patient help.

I will let you know if I managed to get the text visible

Dick

Please Log in or Create an account to join the conversation.

  • Posts: 117
  • Thank you received: 6
4 years 1 week ago #316657

Hello Nicolas

Yes, it was the file I needed but unfortunately my knowledge and skills of PHP is not sufficient enough to get the field visible where I want it.

I solved it with a workaround:

Since I only needed a handful different texts I put these in custom modules.
> With Regular Labs' "Advanced Module Manager" I assigned these to the user groups.
> with {loadmoduleid …} I show the modules in the description field of the product.
This works even better as I cab have an image in the module as well.

Thanks for your time

Last edit: 4 years 1 week ago by Formidog.
The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum