I'm trying to put the Quantity form in the Products page as in the single product page.
If I add this
<?php if ( ! $product->is_sold_individually() ) woocommerce_quantity_input( array( 'min_value' => 1, 'max_value' => $product->backorders_allowed() ? '' : $product->get_stock_quantity() ) ); ?>
in the loop-shop.php template just before
<?php do_action('woocommerce_after_shop_loop_item'); ?>
It appears but it doesn't work