In my WooCommerce development experience i found many times we need to remove quantity field in project so i share you single line code where you can learn how to remove quantity field from WooCommerce functionality. Follow this code.
Method 1: You can add this code in functions.php or in plugin file.
Method 2: You can hide quantity field with help of CSS. Check out this code.
Thanks for reading.