Thread: Extra Fields??
View Single Post
  #5  
Old 05-02-2004, 05:00 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Quote:
Originally Posted by spoonernyc
the section tags are for looping no?
So why would the

{$products[product].param00}

need to be in the midst of a loop?

The reason a section loop is required is $products is an array tha thas to be walk-throughed in order to return values.

{section name=product loop=$products}

means... loop over $products aray, with an index name of "product". Hence why {$products[product].param00} is used in a loop...

{$array[index].value}

__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote