Custom fields not visible in product listing table

  • Posts: 11
  • Thank you received: 0
11 years 3 months ago #141650

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 3.2.2 Business
-- Joomla version -- : 3.2.1
-- PHP version -- : 5.3.13
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi, there! I'm sure, that it's not a big trouble, - I don't know how to make my custom fields visible in the product_listing_table? Which codes must be added to the View? Thanks You, really clever Man!)) And sorry for my great English))

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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #141679

Hi,
The solution will probably be to edit the code "show_tabular" file of the "product" view of your front-end template through "Hikashop->Display->Views"

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

  • Posts: 11
  • Thank you received: 0
11 years 3 months ago #141685

Yes, I understand, but I can just add ready-made code)). Resently I found , Mr. Mohamed, your code examle and used it to add Description row into the product listing table (Thanx a lot!)). But I can't find nothing about code of Custom Fields((

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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #141692

Ok, so can you show me how did you configured your custom field through some screenshots ?

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

  • Posts: 11
  • Thank you received: 0
11 years 3 months ago #141698

Sure! But it's Russian language site...)

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #141732

Ok, so by using this code you'll be able to display the value of your product custom field :

echo $this->row->YourCustomFieldName;

Note that you'll have to replace the word YourCustomFieldName by your custom field column name.

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

Time to create page: 0.108 seconds
Powered by Kunena Forum