This is a developer-level doc. If you are unfamiliar with code/templates and resolving potential conflicts, select a Woo Agency Partner for assistance. We are unable to provide support for customizations under our Support Policy.
To display quantity input fields for simple products within your shop archive pages, add the following code to your child theme’s functions.php
file:
You will need to add this code to your child theme’s
functions.php
file or via a plugin that allows custom functions to be added, such as the third-party Code Snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php
file as this will be overwritten entirely when you update the theme.