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.

<?php
add_filter('wcmmq_ajax_cart_single_page', '__return_true');

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

Posted on Leave a comment

Global Condition On Tag

We can set conditions for a specific Tag.

For that, Navigate to WooCommerce -> Min Max Step Quantity menu. You will see the “SUPPORTED TERMS” section.

Select Tag from the ‘Choose Terms’ dropdown menu.

Now Select a Tag from the ‘Choose a Tag’ dropdown menu on the EDIT TERMS section

then click on the +ADD TERMS button.

Click and expand that tag to set values. After input, click Save All.

You can set tags as many as you want and set different values for every tag.

Video Tutorial

Posted on 2 Comments

Set Conditions To A Specific Category

We can set conditions for a specific category. For that, Navigate to WooCommerce -> Min Max Step Quantity menu. You will see a “SUPPORTED TERMS” section.

By default, “Category” will be selected in “Choose Terms”.

In the EDIT TERMS section,

Select a category from the ‘Choose a Category’ dropdown menu then click on the “+ADD TERMS” button.

Click on “Edit“; that will expand the category to set values from.

Set the quantity values on it. After input, click “Save All.

You can set as many categories as you want and set different values for every category.

Video Tutorial