materialID validation for checkout added