I am using the following function to have an add to cart with a quantity field in the shop loop
add_filter( \'woocommerce_loop_add_to_cart_link\', \'quantity_inpu