
Maximum Purchase Quantity for PrestaShop 9 — Rules per Product, Category & Manufacturer
Control how much each customer can buy
Some stores need to set maximum quantity limits per customer — to prevent hoarding during promotions, ensure fair stock distribution, comply with supplier policies, or control bulk purchasing. The Maximum Quantity module for PrestaShop 9 does this with precision and flexibility.
Define maximum quantity rules per product, per category, per manufacturer, or per category+manufacturer combination and the system enforces them automatically in the cart and checkout — clearly notifying the customer of any adjustment made.
Key Features
Flexible quantity rules
Create rules at any level of your catalogue:
- Per product: "Maximum 2 units of Product X per order"
- Per category: "Maximum 5 units from the Accessories category"
- Per manufacturer: "Maximum 3 units from Brand X"
- Category+Manufacturer combo: "Maximum 2 Nike units from the Footwear category"
Automatic cart validation
The CartQuantityValidator checks rules in real time. If a customer exceeds the limit, the system:
- Displays a clear message to the customer
- Automatically adjusts the quantity to the allowed maximum
- Prevents order completion when a rule is violated
Rule management from the back office
Create, edit, and manage all rules from a dedicated management page. Product and category search for quick rule assignment.
When do you need quantity limits?
There are many reasons an e-shop enforces maximum quantities:
- Flash sales & limited offers: Stop a single customer buying all sale stock before others see it
- Supplier rules: Some manufacturers impose per-customer quantity limits on authorised retailers
- Stock management: Ensure limited-stock items are available to more customers
- Resale prevention: Discourage bulk purchases intended for resale at retail prices
- Gifts & samples: Set "1 per customer" for free samples or promotional items
Merchant benefits
- Full control: Define exactly how much each customer can buy per product or category
- Fair distribution: Ensure promotions are accessible to more customers
- Automation: No manual checking — the system enforces rules automatically
- Flexibility: Different rules for different products and categories
Perfect for
Stores with limited stock, flash sale promotions, manufacturer quantity policies, and any merchant who needs precise control over purchasing flow.
Get in touch
If you need to set quantity limits in your PrestaShop store or want to discuss the right purchasing policy for your case, contact us.