Posted on Leave a comment

Add quantity box on Shop page

WooCommerce, the popular e-commerce platform for WordPress, does not have a quantity box on its archive pages by default. This can be a hindrance for customers who want to purchase multiple items at once and increase their shopping experience. But don’t worry, you can easily add a quantity box to your WooCommerce archive pages with the help of our plugin.

Navigate to WooCommerce => Min Max Step Quantity

So now your min max and step quantity will work on any archive page.

To give a professional view, you can also add plus minus button on your archive page. For that install “Quantity Plus Minus Button for WooCommerce by CodeAstrology” plugin.

First you have to enable Ajax using filter hook. You can add the following code in your child theme’s functions.php file
or you can use code snippet plugin.

add_filter('wcmmq_ajax_cart_single_page', '__return_true');

To enable ajax navigate to WooCommerce->Settings->Products->Add to cart behaviour.

Leave a Reply

Your email address will not be published. Required fields are marked *