total quantity of products in a cart exclude virtual products
I have three categories: wine, other and events. Events are virtual product. please, can someone write me a code so that the total quantity of products from wine and other is at least 3. But when someone buys only events, the quantity of physical products can be 0. There is no limitation for events.