跳到内容

Sawir Min Max Quantities for WooCommerce

v1.1.2

Ricardo Sawir · 2026年7月6日 上架

Set minimum and maximum purchase quantity rules for WooCommerce products, product categories, and the whole order.

正在使用
10 以下
评分
暂无
累计下载
640
最近更新
2026年11月17日
需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+

贡献者

Sawir Min Max Quantities for WooCommerce lets store owners control how many items customers can buy. Set minimum, maximum, and “group of” multiple quantities per product, per variation, per product category, and for the total number of items in an order. Rules are enforced on product page quantity inputs, when adding to cart, and again on the cart and checkout pages.

Developed by Ricardo Sawir for Sawir Studio LLC.

  • Website: https://sawirstudio.com
  • X: https://x.com/RicardoSawir
  • GitHub: https://github.com/sawirricardo
  • Email: ricardo@sawirstudio.com

More free plugins from Sawir Studio

Features

  • Adds minimum, maximum, and group-of quantity fields to the product Inventory tab.
  • Adds optional minimum, maximum, and group-of overrides to each variation.
  • Adds minimum, maximum, and group-of quantity fields to product categories.
  • Lets category rules apply to the combined cart quantity for that category instead of as a per-product fallback.
  • Adds order-level minimum and maximum item limits under WooCommerce > Settings > Products > General.
  • Applies a clear precedence: a variation rule wins; otherwise a product rule wins; otherwise the most restrictive unchecked category fallback applies.
  • Variations inherit empty fields from their parent product or category fallback.
  • Enforces rules on product page and variation quantity inputs, including step values for group-of multiples.
  • Blocks add-to-cart actions that would exceed a product maximum.
  • Validates all rules on the cart and checkout pages with clear error notices, including multiples such as “must be purchased in multiples of N.”
  • Leaves quantity inputs on the cart page free to reach zero so items can still be removed.
  • Requires no configuration to install; rules are optional everywhere.
  • Cleans up all plugin options and metadata when the plugin is uninstalled.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums