Jump to content

Adding fields to display in product listings


Recommended Posts

I've been attempting to add the manufacturer to each product listing as follows:

Line 9 of product-list.tpl of default theme: Added "by {$product.manufacturer_name}. "

by {$product.manufacturer_name}.{product.description_short|strip_tags|truncate:360}



This works fine for product listings displayed after clicking a category (category module), clicking a manufacturer (manufacturer module). I've also used similar code to add this to the featured products module, and the more detailed display when you view a product.

The issue is it does not work (just the "by" gets added) when the products are listed by the search module, the specials module or the suppliers module. Other fields like $product.supplier_reference do work across all modules.

Anyone know why this is? and how to fix it?

Thanks.

Link to comment
Share on other sites

×
×
  • Create New...