I use the following snippet to change WooCommerce add to cart quantity rules.
add_filter( \'woocommerce_quantity_input_args\', \'custom_quantity_input_args\',