View Single Post
  #1  
Old 03-10-2011, 11:58 AM
 
jeremyScott jeremyScott is offline
 

Advanced Member
  
Join Date: Dec 2008
Posts: 39
 

Default Manufacturer Name in products_list.tpl

Hello, I'm trying to display the manufacturer name in products_list.tpl
I am able to grab the manufacturer id using:
PHP Code:
{$product.manufacturerid
But the manufacturers name isn't a part of that array.


Using this:
PHP Code:
{$manufacturer[$product.manufacturerid].manufacturer
I'm able to grab a manufacturer name, its just not the correct name because manufacturerid is static and the manufacturer array is index based on your admin sort settings.


**Note, this is for a 'Category' page or 'Search Result' page. I have access to the manufacturer name when I click on one of the 'Manufacturer' links in the side panel using:
PHP Code:
{$manufacturer.manufacturer
__________________
X-Cart version 4.3.2
Reply With Quote