View Single Post
  #16  
Old 09-11-2005, 06:50 PM
 
LouOffroad LouOffroad is offline
 

Member
  
Join Date: Nov 2004
Posts: 14
 

Default

Quote:
Originally Posted by KCAutosound
I was trying to put this into the product.tpl as well so I would display under the product name but all it shows is Manufacturer: as if it isn't grabbing from the database. Any ideas?
[/b]

In product.tpl after
Code:
{$product.avail}</SPAN>{else}{$lng.txt_no}{/if} {$lng.txt_items_available}</TD></TR> {/if}

Place this code
Code:
{if $product.manufacturer eq 0} {else} <TR><TD align="left" valign="middle">{$lng.lbl_manufacturer}:</TD><TD>{$product.manufacturer}</TD></TR>{/if}


This works for us in 4.0.12 perfectly. Granted this will not show under the product name but will show under the DETAILS section of the product page. You'll have to play with it a bit but put the code where you want in product.tpl. Should work anywhere.

NOTE: This code will not display a manufacturer if one is not assigned to that particular product.

Cheers!
__________________
New X-Cart - Still in development
Reply With Quote