Updated addToCart code to use proper uri