Is it possible to set a coupon to minimum order quantity instead of minimum order amount?
Is it possible to set a coupon to minimum order quantity instead of minimum order amount?
Out of the box that is not available, though it would be an incredibly small mod to make this work.
For a very quick work around you could change the check for the CartMinOrderAmount to use order.CartItems.Count to check for the the number of items you want to require for the cart. There might be a little more work to make sure your getting the correct count, but that would be a start.
All of this would be in the ShoppingCart class and checkout classes.