Custom fields on product listings

  • Posts: 9
  • Thank you received: 2
12 years 2 months ago #61311

I have checked the box for certain product custom fields to appear on the front end, yet they do not seem to be appearing on a product listing.
Does that mean I need to implement a custom view to query and display these fields?

If so, can you assist with the appropriate code to query and display an attribute that has been added to the product table as a custom field?
e.g. text in the field Limited Edition stored in the column product_limited, values: 'Limited' or null.

Thanks!

Last edit: 12 years 2 months ago by Duke3D.

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

  • Posts: 82819
  • Thank you received: 13366
  • MODERATOR
12 years 2 months ago #61398

It's the custom item fields which can be displayed on listings with that option.
For custom fields of the table "product", you will need to edit the file listing_img_title of the view "product" via the menu Display->Views and add such code there:

<?php echo $this->row->product_limited; ?>

The following user(s) said Thank You: Duke3D

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

Time to create page: 0.126 seconds
Powered by Kunena Forum