I have placed a product attribute (Author) into my category listing pages for both grid and list view.
The code I used was placed in app/design/../layout/catalog.xml. The action method below was placed directly below the block tag in both grid and list view.
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
Then in app/design/../template/catalog/product/list.phtml I placed the following:
<?php echo $_product->getAttributeText('Author') ?>
This allowed me to add a custom attribute to the listing page. But now, when I use the search bar in the header I don’t get the Author field to display.
Anyone have any ideas?