Added validation when the user adds/sells product.