View Single Post
  #2  
Old 07-16-2003, 12:51 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

at the end of each loop (before you display the total, put in :

{assign var="runningtotal" value=+$products[prod_num].total}

Then display $runningtotal

This might do it haven't tested it though.

For ideas on how this might work look at the bestsellers template.
__________________
ex x-cart guru
Reply With Quote