[Solved] How to Add a Quantity Field to Shop Pages in WooCommerce

Having a ‘Add to cart’ button on the shop (archive) pages can be a great way to increase conversions on your site. Depending on the products you’re selling having to go into the product detail page about a product may not be needed at all.

However if your customers tend to order more then 1 quantity of a product using the ‘Add to cart’ button on the overview page can be a very unsatisfying experience for the customer. Adding a quantity field on the overview page may just be the right solution for you!

Watch the video tutorial above and use the code snippets below and you will do it

+ Step 1: (PHP): Use the following PHP code

+ Step 2: (CSS): Use the following CSS code

Leave a Reply

Your email address will not be published. Required fields are makes.