How can I caculate the total price of the selected products?