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.
|