Add custom fields at table layout

  • Posts: 41
  • Thank you received: 1
5 years 3 months ago #301756

-- url of the page with the problem -- : www.indianmotos.es/pruebamotocasion/
-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.3.29

Hi!

I change to table layout the products list and I would like that in addition to the name and price appear some or all the custom fields of the product that if they are displayed on your page. Is that possible?

Thank you.

Best regards.

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

  • Posts: 81378
  • Thank you received: 13037
  • MODERATOR
5 years 3 months ago #301758

Hi,

In the settings of the custom product fields, you have a display setting you can activate so that they will display on the listing.
If that setting is activated and you don't see the custom field on the listing, it's either that no product has anything selected/entered in the custom field or that there is a view override on the listing_table view file which doesn't support the display of the custom product fields.

The following user(s) said Thank You: motocasionweb

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

  • Posts: 41
  • Thank you received: 1
5 years 2 months ago #302094

Hi! thank you for your answer. I have another question, It could be possible modify the apparence of the custom fields at the product list? Here you can see how my page shows:

This message contains confidential information

I want to put under the name and price (for example)
"Noviembre 2014
10.900 Km"
Show only the the valor of the custom fields.
It could be possible to change that? In which file can I modify this and how?

Thank you very much.

Best regards.

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

  • Posts: 81378
  • Thank you received: 13037
  • MODERATOR
5 years 2 months ago #302100

Hi,

Yes, you'll have to modify the file "listing_img_title" of the view "product" via the menu Display>Views.
Note that to know which view file to edit in such cases, we've added the "Display view files" setting that you can activate in the Hikashop configuration to automatically show all the view files of HikaShop being used on your website pages. You can read more about that here:
www.hikashop.com/support/documentation/1...-display.html#layout

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

Time to create page: 0.062 seconds
Powered by Kunena Forum