Ok so my problem is that when I run this code everything works except when I click the buy button it only displays price for current item selected.
I am having a problem figuring out what I need to do to have the total for every object to continue to add to total when I press the buy button.