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.
I only tried general commands for total quantity per category in a cart, but I haven’t found any that exclude virtual products.
Lady_M is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.