View Single Post
  #89  
Old 10-09-2008, 12:10 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: common if/then modifications I make to x-cart...

You have to ensure you are using a variable in a section loop. For example:
Code:
{section name=prod_num loop=$products} {$products[prod_num].product}: {$products[prod_num].categoryid}<br /> {/section}

Not sure if the categoryid is in the cart $products variable as I didn't test it.
Reply With Quote