View Single Post
  #11  
Old 10-26-2004, 09:10 AM
  jds580s's Avatar 
jds580s jds580s is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 38
 

Default

For anyone else reading this I made one other small change and it is working like a charm

in products(_t).tpl I change the code to
Code:
{*** ########## Lines below to display manufacture name ########## ***} {assign var="manid" value=$products[product].manufacturerid} {if $manufacturers[$manid].manufacturerid ne "0"} {$manufacturers[$manid].manufacturer} {/if} {*** ########## End display manufacture name ########## ***}

Before it was returning manufacture name based on the current loop number. And not it doesn't display anything if there is no manufacture set for a product.

Thanks pmstudios for all the help!
__________________
animator for hire
onthez.com
------------------------
x-cart v4.0.5 Linux
_________________
Reply With Quote