Set a max limit, per product, that can be added to cart with WooCommerce. Buyers don't need to be logged in.