Totally Zenned
- Join Date:
- Aug 2004
- Location:
- Fountain Hills, AZ
- Posts:
- 476
- Plugin Contributions:
- 0
Turn a field on/off in product listing
I've created a new product type that merely added one field. I've also coded product_listing to display the field on the listing page. 90% of the customer's products will need this field, but there are a few to include Gift Cards (Gift Certificates) that I would rather not have it show.
Is there a bit of code that could be added to the template that could detect the product type and if not product_type 6 don't display field?
I'm not quite sure how to go about this. Any suggestions would be greatly appreciated.