Custom fields on product listings
14 years 1 month ago - 14 years 1 month ago #61311
by Duke3D
Custom fields on product listings was created by Duke3D
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!
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: 14 years 1 month ago by Duke3D.
Please Log in or Create an account to join the conversation.
14 years 1 month ago #61398
by nicolas
Replied by nicolas on topic Re: Custom fields on product listings
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; ?>
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.151 seconds