See translation

Prestashop Maximum product quantity

This PrestaShop module allows to define value of maximum product quantity that customer can add to cart and order, or feature to check how many times product was previously ordered and based on defined limits - block or allow to order it. As a shop owner you can define different values for each product and for each customer group. When customer will try to order more quantity of product that you allow - module will not allow to do that.

Shop version 8.x, 1.7.x, 1.6.x, 1.5.x PrestaShop 8.0 support Yes :-)
Available translations
Module version 2.2.7
Works with ThirtyBees Yes
Public help and discussion Open forum discussion
  • Trusted developer of module Maximum product quantity
  • Support to the module Maximum product quantity
  • Free updates of the module Maximum product quantity
  • Open source - you can edit module code Maximum product quantity
  • Module Maximum product quantity works with PrestaShop 1.7
  • Module Maximum product quantity works with PrestaShop 1.6
  • Module Maximum product quantity works with PrestaShop 1.5
  • Module Maximum product quantity works with PrestaShop 8.0

More info: Prestashop Maximum product quantity

This great PrestaShop addon is one from the most wanted features in PrestaShop. With this module you can specify value of maximum product quantity that customer will be able to order. As you can read in short description - as a shop owner you can define different values of maximum quantity for each product and for each customer group that you have in your online store. Of course if you don't want to create such restrictions - module also allows to do that. 

This is great module to limit orders based on customer group - for example you can distinct maximum value for simple customer and for wholesaler customer. Second one will be able to order 1000 quantity of product, first only several items. There is no limitations, you can create as much restrictions as you want.

 

maximum product quantity in cart

 

Most important features in module

The most important feature is a possibility to define quantities for each product based on customer grups. You can read detailed specification below (both for front and back office).

 

Two possibilities

With this module you can define two kind of maximum quantity limits. First one - is a limit for cart. Module will check the number of products in cart and then - allow to place an order, or not. Second one is a limit for all purchases, also previously placed. Module will check history of orders and then - allow to place an order or not.

For current cart All purchases
Maximum product quantity you can set with this module will be applicable for customers' carts. Module will analyse how many products cart has, and based on this - block possibility to place an order (if customers' cart reached limits).

This feature checks also previously placed orders. Module will get history of orders, count the products in these orders. Based on this calculation module will check limits you defined. And then - it will block possibility to order (if customers' reached the quantity limits). You can set limit for:
- last day orders (24h)
- last week orders
- last month orders

- last quarter (3 months)

- last half year (6 months)
- last year orders

- this year orders (from 1 January current year)
- all orders in shop

 

Back office features

  1. Module right after installation will create special tab on product edit page where you will be able to define restrictions
  2. This special tab contains feature to define values of maximum quantity for each customer group.
  3. You can define different values for each customer group
  4. If you don't want to create such restrictions - just leave these fields empty.
  5. possibility to define restrictions for product combinations
  6. Option to define "global maximum quantity" limit for each product. Module will use this restrictin for each available product in your shop. You can define this option on module configuration page (new!)
  7. It is worth to mention that with "global maximum quantity" you can still define unique max quantity values for products. Module will use this value instead.

 

Bulk generate or remove quantity limits for cart and for total purchases

If you've got many products it will be a nightmare to define quantity limits one by one for each product. Thanks to "bulk update" feature you can quickly define quantity limits (or remove existing limits) for products from selected categories:

- added new feature to bulk define or remove quantity limits by categories

- you can select categories - module will get all products associated with these categories

- you can select what to do:

- - define quantity limits for products,

- - define quantity limits for products' attributes,

- - remove defined limits for products,

- - remove defined limits for products' attributes

- you can select group of customers that will be a target of bulk update process

Maximum quantity limit depending on features
Module gives possibility to define global maximum quantity value that depends on product associations with features. On module configuration in shop's back office you can set maximum quantity value for each available feature. If product will be associated with feature that has own maximum quantity limit - this maximum quantity value will be a product's maximum quantity value.

maximum quantity by feature

 

Front office features

  1. If customer is associated with group doesnt have restriction - customer will be able to order as much product as it want.
  2. If customer will be associated with group that have restictions module will check quantity of product in cart. After that module will compare this value with restiction value.
  3. If value of quantity will not be larger than value of restiction - module will allow to put that quantity of product to cart.
  4. If value of quantity will be larger than value of restiction - module will block add to cart process and display message about that (in nice modal popup)

 

 

Usage examples of module: Prestashop Maximum product quantity

  1. Define maximum allowed annual purchase limit (by quantity) for selected products
  2. Define maximum allowed monthly purchase limit (by quantity) for selected products
  3. Define maximum allowed weekly purchase limit (by quantity) for selectd products
  4. Define maximum allowed daily purchase limit (by quantity) for selected products
  5. Define maximum allowed product quantity available in cart during purchase process
  6. Each group of customers can have own quanttiy limits
  7. Each product can have unique limit values
  8. Each product can have limit defined to product and also to product variants (combinations)
  9. Block possibility to order more quantity of products than allowed
  10. Do not allow to order more products than allowed quantity

Associated videos: Prestashop Maximum product quantity

Currently no related video clips available

Module reviews: Prestashop Maximum product quantity

Reviews were placed by customers that purchased this addon. If you already purchased this plugin and if you expect to left a review - you will get an email form shop after 2 weeks from purchase. This email will contain reminder about pending comment with url to review form
Average grade
4.89
Paola2022-11-28
Luna2022-11-19
Elżbieta2022-10-09
Nuria2022-09-08
Adrian2022-08-21
Sára2022-08-17
Mia2022-08-07
Concetta2022-06-12
Fabian2022-05-25
Costanzo2022-05-13
Miguel2019-11-21
Julien2019-11-20
Yasmin2019-11-08
Márcio2019-11-06
Gabriel2019-10-26
Bendegúz2019-10-15
Oliwia2019-10-10
Pansy2019-09-25
Caligola2019-09-18
Nathaniel2019-09-15
Alexa2019-09-13
Alicja2019-09-07
Natalia2019-08-15
Jenő2019-08-03
Edvige2019-07-26
Jewel2019-07-26
Joanna2019-07-08
René2019-06-24
Marc2019-06-18
Fernando2019-06-06
Aroa2019-05-23
Milán2019-05-07
Ethan2019-05-01
Johann2019-04-25
Joshua2019-03-19
Dawid2019-03-14
Bernadette2019-03-07
Noël2019-03-03
Suzanne2018-07-15
Zuzanna2018-06-28
Ciara2018-06-20
Clay2018-01-11
Claire2017-11-03
Arno2017-03-25
Izan2016-07-10
Árpád2016-06-16
Lisandro2016-04-14
Noël2016-01-22
Claude2016-01-02
Nunzia2015-10-12
Alexandro2015-03-31
Élodie2015-03-30
Cristina2015-03-28
Vince2014-10-04
Lorraine2014-08-08
Claude2013-12-18
Szandra2013-11-28
Genevieve2013-07-10
Inês2013-06-19
Helen2013-06-16
Kevin2013-06-11

Frequently asked questions

Feature under construction

Associated blog posts

Maximum product quantity Changelog - informations about updates

Version 2.2.7

  • Improved the calculation of maximum combination quantities in the cart to ensure a smooth and error-free checkout process.

Version 2.2.6

  • Fixed an issue with the cart cleanup process that could sometimes result in an empty cart after customer login.

Version 2.2.5

  • Enhanced the module's workflow for logged-in customers, providing a more streamlined and efficient user experience.

Version 2.2.4

  • Introduced new import types allowing for efficient management of maximum product and combination purchase quantities within specified timeframes.
  • Import CSV Structure:
    • Limit Product Quantity: id_product; id_group; shop; quantity; datetype (semicolon-separated)
    • Limit Combination Quantity: id_product; id_product_attribute; id_group; shop; quantity; datetype (semicolon-separated)

Version 2.2.3

  • Implemented a CSV import feature for quick and easy configuration of product and combination cart quantity limits.
  • Import CSV Structure:
    • Limit Product Quantity in Cart: id_product; id_group; shop; quantity (semicolon-separated)
    • Limit Combination Quantity in Cart: id_product; id_product_attribute; id_group; shop; quantity (semicolon-separated)

Version 2.2.2

  • Improved module compatibility with PrestaShop 8.x, resolving issues with extraneous "adjust quantity" notifications during the add-to-cart process.

Version 2.2.1

  • Optimized the module for PHP 8.1 environments, eliminating undefined index notices and ensuring seamless operation.

Version 2.2.0

  • Enhanced module compatibility with the ps_shoppingcart module version 3.0.0, improving overall performance and stability.

Version 2.1.9

  • Introduced a new feature to set global maximum quantity limits for products associated with specific product features, providing granular control over inventory management.

Version 2.1.8

  • Further optimized module performance and compatibility in PHP 8.1 environments.

Version 2.1.7

  • Improved the visual presentation of maximum quantity exceeded notifications in PrestaShop 8, providing a more user-friendly experience.

Version 2.1.6

  • Improved the module's core functionality to prevent notifications about missing variables, enhancing stability and reliability.

Version 2.1.5

  • Enhanced module compatibility and performance with PrestaShop 8.1.x.

Version 2.1.4

  • Improved module compatibility and usability in PrestaShop 8.0.4.

Version 2.1.3

  • Resolved PHP notices that could appear on the product edit page in the back office, improving the administrative experience.

Version 2.1.2

  • Further improved module workflow and compatibility in PrestaShop 8.x.

Version 2.1.1

  • Addressed compatibility issues and optimized workflow in PrestaShop 8.x releases, ensuring smooth and consistent operation.

Version 2.1.0

  • Added a new configuration option to control the visibility of the information box displaying maximum allowed quantities on the product page, enhancing user experience customization.

Version 2.0.9

  • Improved and fixed the calculation of maximum purchase quantities within a defined time frame, ensuring accurate tracking of purchased items.
  • Enhanced the feature to accurately count products in the cart for maximum quantity restrictions.
  • Extended the time-based purchase limit feature to support product combinations, allowing for more granular control over purchase restrictions.

Version 2.0.8

  • Improved the visual presentation of the maximum allowed quantity information block on product pages, enhancing user experience.

Version 2.0.7

  • Refined and optimized a recently added feature in PrestaShop 1.7.x, enhancing its functionality and performance.

Version 2.0.6

  • Introduced a new setting to manage maximum quantity limits for customers belonging to multiple customer groups. Merchants can now choose whether the lowest or highest quantity limit applies when a customer is a member of multiple groups with different quantity restrictions.

Version 2.0.5

  • Resolved an issue related to the allow_oosp variable on the cart page in PrestaShop 1.7.8.x, ensuring smooth cart functionality.

Version 2.0.4

  • Improved module workflow and compatibility with PrestaShop 1.7.8.x, ensuring seamless operation and optimal performance.

Version 2.0.3

  • Improved module workflow within the cart and optimized the counting of purchased products, including those purchased by guest users, by utilizing email addresses for accurate tracking.

Version 2.0.2

  • Improved the add-to-cart process in PrestaShop 1.6.x to address missing index notices that could occur when adjusting product attribute quantities in the cart.

Version 2.0.1

  • Improved compatibility with non-default PrestaShop themes that may deviate from standard conventions regarding the #product-details block, which contains information about the currently viewed product.

Version 2.0.0

  • Improved the "previously placed orders" check, used to verify the quantity of previously purchased products, enhancing the accuracy and efficiency of the feature.

Version 1.9.9

  • Enhanced the cart cleanup feature, which removes products exceeding defined quantity limits, to ensure accurate cart management and compliance with purchase restrictions.

Version 1.9.8

  • Introduced a significant enhancement allowing unique time frames for maximum allowed purchases to be configured individually for each product and customer group, providing granular control over purchase limitations. This update requires module reinstallation (settings will be preserved).

Version 1.9.7

  • Improved included Javascript files to prevent refresh loops on product pages in PrestaShop 1.7.x, ensuring a smooth user experience.

Version 1.9.6

  • Improved the calculation of product attribute quantities, ensuring accurate inventory management and order processing.

Version 1.9.5

  • Improved the visual presentation of the add-to-cart confirmation window in PrestaShop 1.7.x, enhancing user experience.

Version 1.9.4

  • Improved error handling in PrestaShop 1.6.x when AJAX cart functionality is disabled, preventing display issues and providing clearer error messages.

Version 1.9.3

  • Improved global quantity limit functionality in PrestaShop 1.7.x, enhancing the precision and reliability of purchase restrictions.

Version 1.9.2

  • Improved global quantity limit functionality in PrestaShop 1.6.x, enhancing accuracy and reliability of purchase restrictions.

Version 1.9.1

  • Added the option to enable or disable the module's modal popup, which informs customers when they exceed maximum purchase limits, providing greater control over user messaging.
  • Re-implemented the automatic update checker to notify merchants of new module versions.

Version 1.9.0

  • Added a new feature to define quantity restrictions for specific manufacturers (brands), allowing for efficient management of purchase limits across product lines.

Version 1.8.9

  • Improved customer login process in PrestaShop 1.6.x.
  • Improved the global maximum limit feature to prevent duplicate notifications about reaching the limit.

Version 1.8.8

  • Improved module workflow and compatibility with PrestaShop 1.6.1.x.

Version 1.8.7

  • Improved the calculation of product quantities in the cart, particularly for product combinations, ensuring accurate enforcement of purchase limits.