Add quantity input in products list
Sunday, 17 May 2020
One feature that you may find useful for your B2B shop is to add the quantity selection field in pages containing products list, such as in category pages.
To do this, edit functions.php file that you find in your site’s FTP space in:
and insert this code:
Of course, you need to apply the styles needed to customize this field, to make it graphically compatible with your theme.
It is advisable not to edit the theme files directly, but to use a child theme.
For more information on child themes, please read: WordPress Official guide on Child Themes