in updateCartTotals(), identified the last product.