View Single Post
  #3  
Old 03-21-2012, 04:08 PM
  tqualizerman's Avatar 
tqualizerman tqualizerman is offline
 

X-Adept
  
Join Date: Jun 2008
Posts: 392
 

Default Re: Show total quantity on order_data.tpl or the invoice

Thanks for the quick reply! So far I've got it to manually add up the number of items in the order...but I can't get my head around factoring in the quantities of each:

{foreach from=$products item=product name=num}
{$smarty.num.index}
{math equation="value+1" value=$smarty.foreach.num.index}

It outputs a list of

1 2 3 4 5 6 7 8 9 etc.
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World
- Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com)


X-Cart Version 4.1.10
Reply With Quote