I cannot figure out how to get the subtotal and make the product required