How to Catch lookup?

Dear @Evgeniy_Mamontov ,

I suggest to checkout this post with a similar use-case:

In this way you can categorize each product to either vegetable or fruit and accordingly select the category you need.