Write product validations.