change lay-out and add extra custom fields

  • Posts: 16
  • Thank you received: 1
6 years 1 month ago #303511

-- HikaShop version -- : 4.02
-- Joomla version -- : 3.9.2
-- PHP version -- : 7.2.14
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : none

Hello,

My client want to add custom fields to the product listing.
i have followed the topic www.hikashop.com/forum/4-how-to/70441-re...ice-field.html#72243

But i don't know the files i have to adjust.
Current state



Is this possible?
[attachment=46047]

Attachments:
Last edit: 6 years 1 month ago by janic. Reason: pictures not added

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

  • Posts: 83511
  • Thank you received: 13511
  • MODERATOR
6 years 1 month ago #303516

Hi,

This thread is to add custom product fields on the product page, not on the listings. So the code there won't help you as it doesn't correspond to what you're trying to do.

In your case, you can just create a custom field of the table "product" via the menu Display>Views. Fill it in in your products.
And make sure that you activate the frontend listing display setting of the custom field and you should see it automatically on the listings without having to change any code.

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

Time to create page: 0.064 seconds
Powered by Kunena Forum