WooCommerce Docs

Documentation, Reference Materials, and Tutorials for your WooCommerce products


Override loop template and show quantities next to add to cart buttons.

To display quantity input fields for simple products within your shop archive pages, you can override the default WooCommerce template.

Note: We are unable to provide support for customizations under our Support Policy. If you are unfamiliar with code/templates and resolving potential conflicts, contact a WooExpert.

You can download a copy of this add-to-cart.php template here. You will need to create an override folder hierarchy within wp-content/themes/YOUR-THEME/woocommerce/loop/add-to-cart.php.

Back to the top