total price and add to cart