validations for product and item