refactor event product quality with sell_in conditions