CartMend Quantity Min/Max & Step Rules for WooCommerce

By stickitsibiu

0+ active installationsVersion 1.0.2

Enforce minimum, maximum and step (multiples-of) order quantities — perfect for wholesale and case-pack selling.

Description

Some products should only sell in minimums, caps or packs. Quantity Min/Max & Step Rules enforces those constraints both on the product page quantity selector and when items are added to or updated in the cart.

  • Minimum, maximum and step (multiples-of) quantities, store-wide.
  • Enforced on the product input and at cart validation.
  • Lightweight, HPOS-ready, no jQuery.

Installation

  1. Upload to /wp-content/plugins/ and activate.
  2. Go to WooCommerce → Settings → Quantity Rules and set your limits.

Screenshots

Changelog

1.0.2

  • Tested with WordPress 7.1 and WooCommerce 11.2: product page, classic cart/checkout and Cart/Checkout/Mini-Cart blocks (Store API quantity limits). No functional change.

1.0.1

  • Fix: quantity min/max/step rules are now enforced on the Cart block, Checkout block and Mini-Cart block (WooCommerce Store API), not just the classic cart/checkout.

1.0.0

  • Initial release. Store-wide min / max / step quantity enforcement.