add functionality to display the total cost of the items in the users current cart