Prestashop Minimal product quantity

With this module you can define minimum quantity that customer group must add to cart to go through the order process in your shop. If customer will put not enough quantity of product to cart - prestashop will spawn popup notification with information about required quantity

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

More info: Prestashop Minimal product quantity

Minimum product quantity module for PrestaShop is an addon that allows to define restrictions for customer groups. You can define the minimum quantity of product that selected group of customers must add to cart to go through the order process.  If customer will not add reuqired quantity to cart - module will spawn popup with information about it and automatically increase quantity to required value.

minimum quantity of product for customer groups

 

Minimum quantity of product features

The most important feature of this module is an option to define restrictions related to products in shop. Each product can have own unique values of restrictions. Module creates new section on product edit page with features to define minimum quantity restriction for this product. Main features are listed below

  1. possibility to define minimum quantity restriction for products
  2. each customer group can have different restriction
  3. you can define restrictions for product and/or for product combinations
  4. if customer will put less products to cart module will spawn notification about that
  5. optionally, module will increase also value of quantity for this product
  6. option that allows to order only multiply of defined quantity for example 3,9,12,15,18 or 5,10,15,20 etc.
  7. module has feature to allow / disallow to order one single unit of product ("a sample of ...") even if you defined some minimal quantity rules

 

Examples of usage

  1. You're a wholesaler and your customers associated with group "wholesalers" too. You want allow them to order at least 100 quantity of selected products
  2. You sell some product in package, that contains 5 quantity of this product. Because of this, you can sell only quantity like 5, 10, 15 etc. 

Usage examples of module: Prestashop Minimal product quantity

Associated videos: Prestashop Minimal product quantity

No video is associated with this module at the moment

Module reviews: Prestashop Minimal 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.90
Alain2022-12-15
Yves2022-11-02
Liza2022-08-16
Sara2022-07-27
Hanna2022-07-25
Marta2022-07-08
Biel2022-07-02
Kíra2022-07-01
Sara2022-06-21
Guendalina2022-06-05
Pierfrancesco2019-10-21
Alexandra2019-10-11
Imre2019-09-01
Patrizio2019-08-31
Carolina2019-08-21
Manuel2019-07-26
Benedek2019-07-22
Bortolo2019-07-19
Lidia2019-07-09
Quasimodo2019-06-24
Odone2019-06-16
Trevor2019-06-11
Nicoletta2019-05-22
Omar2019-05-13
Gust2019-05-04
Jerod2019-04-26
Juan2019-04-22
Alice2019-04-09
Mariagiulia2019-03-26
Elga2019-03-17
Guillermo2019-03-06
Adriano2019-02-16
Bernard2019-02-14
Marcelina2019-02-11
Unai2019-02-06
Teresa2019-01-29
Noémi2018-08-12
Bret2018-08-11
Maria2018-08-03
Liana2018-07-12
Rod2018-03-03
Thierry2018-01-30
Daniela2017-12-16
Stéphane2017-08-22
Luna2017-07-08
Donald2017-06-11
Apolonia2017-04-04
Alighieri2017-03-11
Nicolas2017-01-24
Mia2016-04-30
Marika2016-01-06
Manon2015-04-04
Cristian2014-12-14
Guillem2014-06-02
Piotr2014-04-03
Igor2013-11-18
Guilherme2013-10-26
Margaux2013-06-17
Felipa2013-05-28

Frequently asked questions

Feature under construction

Associated blog posts

No blog entries associated with this product

Minimal product quantity Changelog - informations about updates

2.1.8

- added improvements to appearance of cart modal box in prestashop 8.1.x environments

 

2.1.7

- added new option to duplicate module settings when product is duplicated

- you can activate this feature or disable on main configuration page of the module

 

2.1.6

- added improvements to appearance of errors on cart page (if you switched option to disable it - errors will not appear on cart page)

 

2.1.5

- added fixes and improvements to module workflow in environment based on php 7.4

 

2.1.4

- added improvements to appearance of notifications in prestashop 8.x 

 

2.1.3

- added improvements to module installation in prestashop 8.1

 

2.1.2

- added new feature to quickly repeat value of minimal quantity on list of products (on module configuration page)

- from now value can be repeated for all groups for selected products or for all products for selected group

- improved workflow of mass generation settings where it is possible to select various groups and assign massively settings for all selected groups (previously it was possible to select only one group)

 

2.1.1

- solved problem with missing function in class Product, now prestashop uses ProductAttribute class for getAttributes function

 

2.1.0

- added better support of php in version 8 to avoid php notifications related to wrong order of parameters in functions 

 

2.0.9

- added improvements to module workflow in prestashop 8.x

 

2.0.8

- improved support of prestashop 8.x releases

 

2.0.7

- added function to return information about minimal quantity multiply (if it is active or not) for product by product id. Option is useful for implementation of minimal quantities and multiply feature to list of products "add to cart" button

 

2.0.6

- added improvements to module workflow in shops with disabled stock management 

 

2.0.5

- improved module workflow in context of back office order creation process

- if admin creates order module will not redirect to shop's front office anymore, instead it will spawn information about required minimal quantities in shop's back office

 

2.0.4

- added improvements to module usage in prestashop 1.7.8.x

- from now module does not display not necessary messages in cart during checkout

 

2.0.3

- added improvements to module workflow on product pages in prestashop 1.7 (added improvements to fix problems with spritnf function in smarty templates)

 

2.0.2

- added information to product page with information that you accept only multiplied quantity of item (if option to accept multiplied quantity for selected item is active)

 

2.0.1

- added new option to module thjat will display detailed information about missing quantity on cart page (during checkout)

 

2.0.0

- added improvements to module to avoid problems in templates that do not follow prestashop development standards (and remove the #product-details block that is requried)

 

1.9.9

- added improvements to module workflow to avoid problems with customer register process and missing "cart" object

 

1.9.8

- improved workflow of multiplied quantities with feature to accept "1 quantity of product" in prestashop 1.6.x and prestashop 1.7.x

 

1.9.7

- added improvements to login process when "redisplay cart at login" option is disabled

 

1.9.6

- added improvements to feature that automatically adds cart rules to cart

 

1.9.5

- updated module's static functions to return minimal quantities

 

1.9.4

- added fixes to module installation process in old releases of prestashop 1.6.0.x 

 

1.9.3

- added improvements to module configuration page in prestashop 1.6.0.x releases

 

1.9.2

- added improvements to module usage and cooperation with "combinations table" plugin

 

1.9.1

- added improvements to module workflow related to usage of "allow to order 1 quantity" option

 

1.9.0

- added new function to the module that returns the minimal quantity value for selected product, it can be used in template files. Function: returnProductMinqty(id_product,id_product_attribute)

 

1.8.9

- added improvements to usage of multiplied quantities for option when active is default "minimal quantity" feature

 

1.8.8

- added improvements to stock check also in prestashop 1.6.x 

 

1.8.7

- extended stock check feature, from now it uses also default product settings related to product availability when it is in stock / out of stock

 

1.8.6

- added missing translations

- added feature to allow / disallow order more quantity of product than stock available 

- option is useful in context of acceptance of multiplied quantities only

 

1.8.5

- added improvements to usage of default minimal quantity feature available in prestashop

- from now it is applicable also for attributes (when you will set up deafult minimal quantity feature for combinations)

- added missing features to module dedicated for prestashop 1.6.x

 

1.8.4

- added improvements to cart quantities calculation process (in feature that blocks checkout)

 

1.8.3

- added feature that checks conditions in cart, if cart will not have required quantities of products - module will block possibility to go through the checkout

 

1.8.2

- cleaned up module code

 

1.8.1 

- added new feature to activate option to accept "multiplied" quantities for all products in shop

- added new feature to decide what kind of "minimal_quantity" module will use (you can use default prestashop's tool to define minimal quantities that is available on each product edit page or you can use module's feature to define minimal quantities for products and combinations - you can do it on product edit page or from main configuration page of the module)

 

1.8.1 

- added new feature that allows to purchase last items of product's stock if minimal allowed quantity is bigger than stock available (you can turn this feature on or off)

 

1.8.0 | 2020-02-14 12:28:04

- added feature to display original "add to cart" confirmation
- on module configuration page you can decide if you want to show such confirmation modal window, or not.

 

1.7.9 | 2019-11-27 13:00:01

- added improvements to add to cart process in new releases of prestashop 1.7.6.x

 

1.7.8

- added improvements to usage of position displayProductAdditionalInfo that is required for module usage on product pages in prestashop 1.7 (replaced old hook productActions with new one)

 

1.7.7

- added feature that allows to decide if module will control quantity in shop's back office, or not.

- as you probably know prestashop allows to create an order in shops back office

- new option allows to decide how module will behave when admin creates an order in that way

 

1.7.6

- added improvements to module workflow related to option to display notifications about required minimal quantities and auto-add-to-cart process.

 

1.7.5

- added improvements to module code to make it work with php 7.2 properly

- updated polish translation

- updated spanish translation

- updated french translation

- updated italian translation

 

1.7.4

- added improvements to installation procedure to make module work properly with prestashop 1.7.5+

- added improvements to pagination tool on module configuration page (you can browse list of products properly now)

 

1.7.3

- added auto-check for module updates

- changed the way of how module saves its settings in PrestaShop 1.6.x

 

1.7.2

- added multistore environment support, now each shop can have own unique settings of minimal quantities, as well as other settings

- this version of module requires reinstallation (no worries, module will remember all its settings)

 

1.7.1

- added  feature to bulk activate/deactivate option to "accept only multiplied quantity" for products (from selected categories)

- added feature to quickly enable / disable option to "accept multiplied quantity" to "quick settings - products list" tool

 

1.7.0

- updated the design of module configuration in prestashop 1.7.4.x released

 

1.6.9

- improved module compability with prestashop 1.7.4.x releases

- added "show" link to form where you can quickly define minimal quantity values (it opens product page)

 

1.6.8

- developed new feature to quickly define the minimal quantities directly on list of products (on module configuration page)

 

1.6.7

- added improvements related to module usage in prestashop 1.7.x

 

1.6.6

- added improvements to module workflow when option to accept "multiplied" quantities is disabled

 

1.6.5

- updated design of module configuration page, added additional informations to explain the configuration process

- added updates checker system to check if new versions of the module are available

 

1.6.4

- added improvements to minimal quantity identification when prestashop 1.7 changes product page contents

 

1.6.3

- added improvements to identification of "visitor" customer accounts (to properly assign minimal quantities to products)

 

1.6.2

- added improvements related to cart refresh in prestashop 1.6.x

 

1.6.1

- added improvement to "quantity control" feature - it works with minimal quantities for combinations too

 

1.6.0

- added feature to support quantity control also in quick product preview window

 

1.5.9

- added improvements to [+] and [-] buttons on cart page, it increases quantities properly now

 

1.5.8

- added feature to control quanttiy field value that is available on product page

- when you allow "multiplied quantity" only, module will control the value of this field properly

 

1.5.7

- added feature to bulk-define minimal quantities for products from selected categories

 

1.5.6

- added improvement to save process of product settins in prestashop 1.7.x, now quantities are saved properly even if product does not have a combinations (attributes)

- added feature that allows to add more quantity to cart than current product / combination stock (you can enable or disable this feature)

 

1.5.5

- added improvements to module workflow,

- it does not show minimal quantity restriction information if it was removed

 

1.5.4

- added improvements to module installation process in prestashop 1.7.x

 

1.5.3

- added fixes to warning message that appeared in php logs on product pages without attributes, if option to show attributes restriction information was enabled. Warning PHP Warning: Invalid argument supplied for foreach() in /home/diyelect/public_html/store/modules/minqc/minqc.php on line 1450 does not appear anymore.

 

1.5.2

- added fixes to module workflow in prestashop 1.7.x

 

1.5.1

- released major update of the module - now it fully supports prestashop 1.7.x

 

1.4.3

- added buttons to quickly assign minimal quantities to all combinations of product 

 

1.4.2

- added feature to enable / disable minimal quantity info on product page 

- added feature to enable / disable minimal quantity for attributes (combinations) on product page

 

1.4.1

- added fixes to displaying message with information about not enough quantity if customer is associated with several groups with minimal quantity values

 

1.4.0

- added new feature to define possibility to order a single quantity of product even with minimal quantity rules (great option if you want to allow to order "a sample of")

- added feature to display informations about defined minimal quantity rules below "add to cart" button on product page

 

1.3.9

- added missed translations

 

1.3.8

- added better customer identification process, especially if customer trying to log in for the first time

 

1.3.7

- added improvements related to customer login process and minimal quantity values

- added feature to define what to do if customer will add less quantity than required

 

1.3.6

- added fixes to notification appearance minqc::getRestrictionsAttributesByGroupValue() should not be called statically Unknown error on module configuration page (on product edit page in prestashop back office)

 

1.3.5

- added module configuration page

- added option to turn on / off  "auto quantity change" quantity of the product. 

- if you will enable "auto quantity change" feature, module will add desired quantity of product to cart automatically. For example you accept 5,10,15,20,25 quanties. Someone tried to add 3 products to cart. Module will increase this 3 value to 5. 

- if you will disable "auto quantity change" feature, module will display popup only with information about accepted quantities.

 

1.3.4

- module supports quantity change on cart page properly now

 

1.3.3

- module is now trusted by official addons marketplace

- you can use this module in PrestaShop Cloud

 

1.3.2

- dodana została funkcjonalność, która pozwala dodawać do koszyka tylko taką ilość produktu, która jest wielokrotnością określonej wartości. np. 3,6,9,12 lub 5,10,15,20 lub 10,20,30,40 itp

- ładniejsza strona zarządzania ustawieniami, pasuje do PrestaShop 1.6.x

 

1.3.1

- updated missed translations,

- added support of PrestaShop 1.6.1.4

 

1.3.0

- added fixes to appearance of notification (if customer will put not enough quantity of product to cart)

 

1.2.9

- started to log changes in the module with this changelog

- added support of PrestaShop 1.5