I am using following code to calculate total price for each item in shopping cart. How should I calculate grand total for whole cart - sum of each "total" from code be