Square Site Banner | Q3 2025

Product Icon

Min/Max Quantities for WooCommerce

Minimum and maximum quantity rules for products, orders and categories.

Input Validator for Min/Max Quantities

My site is a multivendor marketplace, and some users mistakenly put in 0 for minimum, maximum, and/or group of quantities – this caused both issues with checkout and more importantly a fatal PHP error when the plugin attempted to run the check on line 675 for if the min/max quantities are divisible by the group of.

I’m requesting a validator be added to the plugin to prevent 0 from being added.

Author

Current Status

Completed

Last updated: August 16, 2018

1 comment

Log in to comment on this feature request.

  1. jaskyt8 says:
    Product developer November 15, 2024 1:57 pm

    Hey there,

    Thank you for getting in touch!

    The validation you describe has been implemented. I encourage you to upgrade Min/Max Quantities to the latest version (v5.0.3) and confirm that it is not possible to save 0 values for quantity restrictions.