Minimum quantity bug still exists

[ad_1]

Hi,

I am referencing to this bug here: https://projectdmc.org/support/topic/minimum-quantity-4/

It still prevents customers from removing products from the cart.

The current version (6.2.1) has a file wordpress/wp-content/plugins/tier-pricing-table/src/Addons/MinQuantity/MinQuantity.php
with a filter
add_filter( 'woocommerce_update_cart_validation', function ( $passed, $cart_item_key, $values, $quantity )
in line 67.

One needs to be able to remove products from the cart (quantity down to zero).
Line 73 should therefore read
if ( $quantity < $min and $quantity != 0)

Would you mind to fix this with the next minor version?

Thank you,
Thomas

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer