View Single Post
  #7  
Old 10-25-2004, 01:36 PM
  jds580s's Avatar 
jds580s jds580s is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 38
 

Default

Ok, closer still... now it displays the manufacture for all the items that have the same manuf as the last item in the list.

this code also displays the manufacture id number "manid" to help me identify what id is with what product
Code:
{if $products[product].manufacturerid ne "0"} {assign var="manid" value=$products[product].manufacturerid} manid is {$manid} {section name=id loop=$manufacturers start="0"} {if $manid eq $manufacturers[id].manufacturerid} {$manufacturers[id].manufacturer} {/if} {/section} {/if}

you can see what this looks like http://www.yarnsmith.co.uk/xcart/home.php?cat=3

the first item's manufacture is Katia manid=6
__________________
animator for hire
onthez.com
------------------------
x-cart v4.0.5 Linux
_________________
Reply With Quote