I'm a little confused, but here it goes...
I'm not sure what exactly corresponds to item quantity, I believe it's $ct_qty?
Regardless, through the for loop I would just do something like....
PHP Code:
$total_qty .+ $ct_qty;
which is equivalent to taking each cart quantity and adding it to a total quantity through each iteration of the for loop. Then when the for loop is over, you'll have the total number of items in $total_qty.
Hope this helps.
|