This project is not covered by Drupal’s security advisory policy.

The Commerce Product Quantity Limitation module provides functionality to set limits on the quantity of items for both individual products and product types during the checkout process in Drupal 9 or 10.It allows site administrators to set specific quantity limits for individual Product, product types ensuring that customers cannot exceed these limits when placing orders. This module is particularly useful for e-commerce websites that want to enforce quantity restrictions on certain Product and Product types.

Features:

Set quantity validation rules and configure per order limits for multiple individual products and product types.
Ensure that customers cannot purchase more than the allowed quantity for a product and Product type.

Installation:

Download and install the module in your Drupal 9 or 10 website.
Enable the module in the Extend section of your Drupal site.

Configuration:

Product Quantity Limitation

1. Go to Commerce > Configuration > Product > Product Quantity
2. Select the product you want to configure.
3. Set the quantity you want to allow for purchase per order.

Product Type Quantity Limitation

1. Go to Commerce > Configuration > Product > Product Type Quantity
2. Select the Product Type you want to configure.
3. Set the quantity you want to allow for purchase per order.

Note:

When a site admin sets limits for both products and product types, the limit for the specific product will take precedence.

Supporting organizations: 

Project information

Releases