WooCommerce shows the quantity box on the product page and this totally makes sense.

If you're only selling virtual/downloadable products then it makes sense to remove the quantity box because that way it would be easier for the user and they won't have to think about it.

The quantity box won't be rendered if the product is sold individually.

You can set it globally by adding this line to your functions.php in the current theme or your custom plugin.

// Hide the quantity box on product page.
add_filter( 'woocommerce_is_sold_individually', '__return_true' );

If you have mixed type products where having the quantity box must be displayed then you will have to setĀ sold individually for each product individually.

 

Referral Note: When you purchase through a referral link (if any) on this page, we may earn a commission.
If you're feeling thankful, you can buy me a coffee or a beer