Module Description
Commerce Product Limits lets you add minimum or maximum purchase quantities to product variations in Drupal Commerce.

To use this feature, enable the module, edit the product variation types you would like to add limits to, and enable the "Minimum quantity" or "Maximum quantity" trait as need be. Update any product variation that should have a limit applied to it.

This module defines an Availability Checker that Commerce Core's Availability Manager uses to ensure any given order item is "available" to purchase as is. This system is used by other modules to enforce availability dates or stock checks, and this module is using it to determine whether or not it's available for purchase in the given quantity.

Customers will either see a message upon Add to Cart form submission indicating they have not met the minimum or maximum requirements. On the core Shopping Cart form, the quantity fields are altered to use HTML's min / max attributes for basic client-side validation.

* Not compatible with Commerce Cart Flyout or Add to Cart forms that do not combine similar products into the same order item by incrementing the existing item's quantity.

Looking for Drupal Commerce support? Premium support from the project maintainers Centarro Support starts at $99 / month, offering guaranteed answers for site builders and developers with options for Priority Support. Free community support options Over 2,000 developers participate in our two support channels on a best-effort basis, Drupal Answers and Drupal Slack (channel: #commerce).
Project Usage
458
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Commerce Product Limits module aims to solve the issue of adding minimum or maximum purchase quantities to product variations in Drupal Commerce.
Data Name
commerce_product_limits

OPENAI CHATBOT

OPENAI CHATBOT

12:24:35
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.