Maximum product quantity per customer
<{mqc}prestashop>mqc_90dffb053670329bae5ac074cfcbcbe2
This PrestaShop module enhances order management by enabling precise control over product purchase quantities. It allows administrators to define maximum order quantities for individual products and customer groups, preventing customers from exceeding these limits. Furthermore, the module can track previous order history for each product and customer, allowing for dynamic quantity restrictions based on predefined thresholds. This provides granular control over product availability and helps prevent overselling or stock shortages. Attempts to order quantities beyond the defined limits will be automatically blocked, ensuring order accuracy and inventory control.
Below you will find the content of the PrestaShop module translations: Maximum product quantity To language: English
Last update date of module translations: 2025-09-01 12:52:00
Maximum product quantity per customer
<{mqc}prestashop>mqc_90dffb053670329bae5ac074cfcbcbe2
With this module you can define maximum quantity of product per customer group. Customers will not be able to order more products.
<{mqc}prestashop>mqc_12478d1277d444e2af56f6dc2c0551af
All orders
<{mqc}prestashop>mqc_a081c9610c122ca2d1fe29935930f908
This year orders (from 1 Jan this year)
<{mqc}prestashop>mqc_221d35cc8f0dacc92e75784de3e66372
Last year orders
<{mqc}prestashop>mqc_8501005b84bc04b20c667a9679531466
Last 6 months orders
<{mqc}prestashop>mqc_76d023867093f964a67e7fcd5e20c86b
Last 3 months orders
<{mqc}prestashop>mqc_e6a0717e392b9cc6b83560420ba15dad
Last month orders
<{mqc}prestashop>mqc_d9e63a7ba52725dc51b99f2be88b2135
Last week orders
<{mqc}prestashop>mqc_4ff8cff31a029b148d67e4cdd006ed26
Last day orders
<{mqc}prestashop>mqc_a6c7e692a22d1ed1a921fd67e045169a
MyPresta updates
<{mqc}prestashop>mqc_57206dc27305060c5c29150d3ad00401
Check updates
<{mqc}prestashop>mqc_d7d90723c19e43735e731a36a2739c8b
Check now
<{mqc}prestashop>mqc_2c872e677f8b5831f20a66c65e7f8966
Updates notifications
<{mqc}prestashop>mqc_722eb8a4b2d0b1c305d6361bcc7564e7
-- select --
<{mqc}prestashop>mqc_633703a658469b7fab7f42e04e59d27a
Enable
<{mqc}prestashop>mqc_2faec1f9f8cc7f8f40d521c4dd574f49
Disable
<{mqc}prestashop>mqc_bcfaccebf745acfd5e75351095a5394a
Turn this option on if you want to check MyPresta.eu for module updates automatically. This option will display notification about new versions of this addon.
<{mqc}prestashop>mqc_cc6fc347e9fd233bddcb7895e307e9a9
Module page
<{mqc}prestashop>mqc_0d24168598880003b80f9e85b8e1d62a
This is direct link to official addon page, where you can read about changes in the module (changelog)
<{mqc}prestashop>mqc_07ac9eab57de962a9518a7545fd475fe
Save
<{mqc}prestashop>mqc_c9cc8cce247e49bae79f15173ce97354
New version available, check http://MyPresta.eu for more informations
<{mqc}prestashop>mqc_4c73ce9e52a25c69cf0dce126d548f98
More details in changelog
<{mqc}prestashop>mqc_2b2972b182c459cca33e2ad5bc02ffa4
New version available!
<{mqc}prestashop>mqc_af02b06496e83946e73e69d774782654
Module is up to date!
<{mqc}prestashop>mqc_358a5fcb448d507b41d7c0a83485973a
You exceeded maximum allowed quantity for variant of this product:
<{mqc}prestashop>mqc_9510a5e468a817b74c75fa53eb9e51c1
Quantity limit is
<{mqc}prestashop>mqc_4719b22ee371b7e7a276dc4d54fa01a8
You exceeded maximum allowed quantity for this product:
<{mqc}prestashop>mqc_b619e4b168c4e94c22469c36e13ac1ff
You exceeded maximum allowed quantity for variant of this product:
<{mqc}prestashop>mqc_19f639517b81020bc8ab03a726ba23a2
Classic theme + themes that supports prestashop guidelines
<{mqc}prestashop>mqc_6c549631b5e5003ac25b137439534f47
ZOneTheme
<{mqc}prestashop>mqc_4176b824ea5e9a05528fd894e66283e6
Main settings
<{mqc}prestashop>mqc_33a56dc533fbfca7cf9a68f45055d80a
Global configuration of the module
<{mqc}prestashop>mqc_28dd680df42a9f9171fdd046d71d2533
Show information about maximum quantity on product page
<{mqc}prestashop>mqc_9cf83debf32c0d24ea0f32c43c6f9018
Option when active will display information box about maximum allowed quantity of product on product pages
<{mqc}prestashop>mqc_50465a962aa820394e881af90780b155
Enabled
<{mqc}prestashop>mqc_00d23a76e43b46dae9ec7aa9dcbebb32
Disabled
<{mqc}prestashop>mqc_b9f5c797ebbf55adccdd8539a65a0241
Control quantity field value
<{mqc}prestashop>mqc_5f3775d50ff06415f294095e96bbb49d
This option when active will block possibility to increase quantity field (on product page) value to value higher than allowed maximum product's quantity defined with this module
<{mqc}prestashop>mqc_31bd38687a3fa22c97e8fd22ccc50396
Various groups
<{mqc}prestashop>mqc_6c0fc501257854fdebe01843bfe0836b
Customers in prestashop can be assigned to various groups of customers. Module gives possibility to define maximum allowed quantity of product individually for each group. When customer will be assigned to various groups with different quantity limits, which one should be applied?
<{mqc}prestashop>mqc_6258dd9d01dc2b9f8444436cfb5c8b2b
Use highest quantity limit value
<{mqc}prestashop>mqc_12ca2be736302c8da9f8eca95c3b356e
Use lowest quantity limit value
<{mqc}prestashop>mqc_ab1a727b022b54f8f1ee6306788a3190
Show original add to cart confirmation
<{mqc}prestashop>mqc_53ed5ab9ce32e62ac4949d7f0bc3d9f8
Option when active will display original \"add to cart\" confirmation window in addition to error messsage about reached maximum allowed quantity in cart. This option is applicable for themes that uses ps_shoppingcart module to display \"add to cart\" confirmation window
<{mqc}prestashop>mqc_36245520ec93814323796e3e68767d6f
Hide module popup message
<{mqc}prestashop>mqc_a90244ce74c589dd2aae015e2a9f7b4c
Option when active will hide popup modal message with notification about reached maximum quantity of product in cart
<{mqc}prestashop>mqc_a9b9b51035df117fc945976e56077529
Theme support
<{mqc}prestashop>mqc_d26ea2060404082a2cec03c207e3b8a0
Some themes does not follow prestashop's guidelines related to appearance of errors. If you use non-default theme and if your theme appears on list below - select it.
<{mqc}prestashop>mqc_729513024304ab4f6c573488df587784
Cart conditions:
<{mqc}prestashop>mqc_36dd1189363d8ca7fa1dcdf8a48f8236
Global limit for each product
<{mqc}prestashop>mqc_537ad9d50e7885804b012d0b6806701f
Enable this option if you want to create maximum quantity limit for each product in your shop. Module will use value of maximum quantity defined below. Please note that even with this option each product can have own unique settings (you can define them on module configuration page)
<{mqc}prestashop>mqc_03812df7a0e605704bf4f3ccd8a0d85b
Global maximum quantity value
<{mqc}prestashop>mqc_6a88b0457613966c70894bbb50e1015e
All orders conditions: Set order states
<{mqc}prestashop>mqc_bd94b18999ad7e8ccb4151504c3c7bf3
Select order states
<{mqc}prestashop>mqc_4a14f950d557b6f047c6aa1ef6658551
Date brakpoint
<{mqc}prestashop>mqc_cfbc0f9c5ccbc22f61a7934001f063a9
Module will not count the number of product purchases from orders placed BEFORE this date.
<{mqc}prestashop>mqc_0073dcfcd0117c4bdf072a64e4f3dbbe
If you don't want such restriction just set it for some old times, for example to 1960s
<{mqc}prestashop>mqc_fe6eb5a9c70fb69e1ee26f0edad1c823
Time frame
<{mqc}prestashop>mqc_0f65535c189c29b4a5326a319baa4a8d
To calculate how many products customer bought module will use orders from defined time frame.
<{mqc}prestashop>mqc_c59b78ec598276a6a37785e11da0993f
You can override this parameter individually for each product on its edit page.
<{mqc}prestashop>mqc_87ba344b4dd21edf9e62cb2894efbcab
Global limit based on features
<{mqc}prestashop>mqc_b8e8d10c829def7a84cbce18bb674a1c
Enable this option if you want to create maximum quantity limit for each product that will be associated with specific feature. Module will use value of maximum quantity defined below. Please note that even with this option each product can have own unique settings (you can define them on module configuration page). If product will have own unique settings - these settings will overwrite settings for features.
<{mqc}prestashop>mqc_85f20a556e5219e80ede1079f578c8a7
Maximum quantity value by features
<{mqc}prestashop>mqc_2aea72b4c35ce4510bd455f05e3eadfe
Categories
<{mqc}prestashop>mqc_af1b98adf7f686b84cd0b443e022b7a0
Define maximum quantity for products
<{mqc}prestashop>mqc_2eacfaede5ccba410711e542cd3710b0
Define maximum quantity for products' attributes
<{mqc}prestashop>mqc_2c5b86ef8aa5f3638feaa9621352df8a
Remove defined maximum quantities for products
<{mqc}prestashop>mqc_ea5aecb0719b129b685ae0e7600b4870
Remove defined maximum quantities for products' attributes
<{mqc}prestashop>mqc_19d063d64c95f024592e17b7462f6376
Mass define / remove quantity limits by categories
<{mqc}prestashop>mqc_ce42ab84a9506fd971979e8d41f38594
Select categories
<{mqc}prestashop>mqc_99078a8f3786817fbaa593c08ff04a5d
Select Manufacturer
<{mqc}prestashop>mqc_65df26909604f3e8386bf6df348e0d33
You can define limits for products associated with selected manufacturers.
<{mqc}prestashop>mqc_c14498c73d7304df70bd720c1c453065
All manufacturers
<{mqc}prestashop>mqc_bf24faeb13210b5a703f3ccef792b000
What you want to do?
<{mqc}prestashop>mqc_5d331c8c7ab2e136c80b834c8a76ed45
Select one action that you want to with products from selected categories
<{mqc}prestashop>mqc_cdc6f9e6953c1575230e108e51527482
Target Group of customers
<{mqc}prestashop>mqc_03e73c548ff5e7642b97d3d56a0797ce
You can define / remove defined maximum quantities for selected group of customers only
<{mqc}prestashop>mqc_3297378bcc119d9b92bc3578661b02a2
Quantity to define
<{mqc}prestashop>mqc_f70e07e10ffbea556082f5af458af9da
If you want to define maximum quantity restrictions just set the value here (numbers only)
<{mqc}prestashop>mqc_fbcb226c3c229f3e0109a51ad56aa9bb
ALL ORDERS CONDITIONS:
<{mqc}prestashop>mqc_7eafc77ac5908f04520424570b2e6673
No Files
<{mqc}prestashop>mqc_29ec0f376347559b3351fa1f754afa04
skip column
<{mqc}prestashop>mqc_c4c7ca2b0fe607391ab28b0a457c64d6
id_product
<{mqc}prestashop>mqc_120faea10923bec533179a806fa925c3
id_group
<{mqc}prestashop>mqc_6d03c13d90dae15f3dafe865b0fbfded
id_shop
<{mqc}prestashop>mqc_5a0971a207e75dd040db8b6a3425a8bf
quantity
<{mqc}prestashop>mqc_221d2a4bfdae13dbd5aeff3b02adb8c1
id_product_attribute
<{mqc}prestashop>mqc_eaaba24c127bcd9ad3f754cfbdfc8a80
datetype
<{mqc}prestashop>mqc_0b6eddfe87f3ae17de8e229bed20af38
Loaded to import
<{mqc}prestashop>mqc_4de453046d21f47253498f69fb82a895
Preview of CSV file
<{mqc}prestashop>mqc_32cadbdab34b2ad1a98c00c67930f3ac
Import
<{mqc}prestashop>mqc_72d6d7a1885885bb55a565fd1070581a
CSV file does not contain all required fields or fields are not selected on preview of csv file
<{mqc}prestashop>mqc_5c03ecb23d4de962d6c82aeaa52b79f9
CSV file imported to database
<{mqc}prestashop>mqc_83f83f9b6a6d21137524065c1de7093f
CSV file deleted
<{mqc}prestashop>mqc_6abcac5e7a85ef29a04d6330fc0ebfa4
CSV file uploaded
<{mqc}prestashop>mqc_1fbc49ee842906818fb17cde79bee49c
Settings saved properly
<{mqc}prestashop>mqc_07a7d8980a5a2720300e585493cd7d5f
No products selected. You must configure filters - select category and/or manufacturer
<{mqc}prestashop>mqc_ebfd4b864e1c859f51fc58c5331716be
Quantity limits added to database
<{mqc}prestashop>mqc_9b3a4a8a85dab36aefc027276257300d
Removed maximum quantity limits properly
<{mqc}prestashop>mqc_d5264d2f4e2ec6911e76dbd6630e8711
There was a problem with removing the quantities or products from selected categories had no limits
<{mqc}prestashop>mqc_c3ac739bc11dd8b8ce3668508ad78f4c
Define maximum quantity of product in order
<{mqc}prestashop>admintab_bb5595aec47de24a06560bc19557c450
Define quantity of product. Customer will not be able to put more products to cart during order process.
<{mqc}prestashop>admintab_114c59f6bf810c0f4d7285780e7d2f09
Leave field empty if you do not want to create such restriction.
<{mqc}prestashop>admintab_fafd74ced77f8806b54af0bd30c4b7a0
Changes saved
<{mqc}prestashop>admintab_897b2be6147e80d7c2ca8e3a479a9e0e
Quantities
<{mqc}prestashop>admintab_623a9a1f669b091dd76bead27c3252ed
Define maximum quantity of product's combination in order
<{mqc}prestashop>admintab_3281a3511613bea2f5934da10838a3ff
You can also specify values of maximum quantity for product combinations too.
<{mqc}prestashop>admintab_8791217124e37596564ed6b31798da4e
Combination
<{mqc}prestashop>admintab_47ac923d219501859fb68fed8c8db77b
Maximum quantity for all purchases
<{mqc}prestashop>admintab_ea134999f21212b65b993338151c43dc
All purchases
<{mqc}prestashop>admintab_cc661006c29690b6bb8cb88f5c461e2e
Define maximum quantity of product that customer can order (products from previous orders included to calculation)
<{mqc}prestashop>admintab_d9a67e9264516ea998cfc0c41d6da5cb
Apply this rule for
<{mqc}prestashop>admintab_9ae0f89bdba98b8e63ec41393a4c8105
-- select --
<{mqc}prestashop>admintab_633703a658469b7fab7f42e04e59d27a
default configuration
<{mqc}prestashop>admintab_5dd37438ce96ab0deba886fb9c006f06
Define maximum quantity of product's combination that customer can order (products from previous orders included to calculation)
<{mqc}prestashop>admintab_768297779b11a163f11771ece93b60dd
To calculate how many products customer bought module will use orders from defined time frame. Option below allows to override the default configuration of the module exclusively for this product. (Default option is available on module's main configuration page under \"MAXIMUM QUANTITY FOR ALL PURCHASES > MAIN SETTINGS\" section.
<{mqc}prestashop>admintab_3566c8aa8b9e4907fdf58bc87ba1a08f
Check all subcategories of checked categories
<{mqc}prestashop>button-subcategories-purchases_8f8d178140cd3a2443894bca9e95df5a
Uncheck all subcategories of checked categories
<{mqc}prestashop>button-subcategories-purchases_bf27055db54b86624023018224750d8c
Check all subcategories of checked categories
<{mqc}prestashop>button-subcategories_8f8d178140cd3a2443894bca9e95df5a
Uncheck all subcategories of checked categories
<{mqc}prestashop>button-subcategories_bf27055db54b86624023018224750d8c
How to import maximum quantities?
<{mqc}prestashop>csv_3f2b2d0476761e68af9823e56e9622e0
Firstly upload a file from your hard disc drive. Depending on what you want to import csv file should contain fields:
<{mqc}prestashop>csv_5219d0db14669b158955432fadf1fd69
Limit quantity of product in cart
<{mqc}prestashop>csv_3e08323029d55e83f0fe477620053420
CSV should contain fields: id_product; id_group; shop; quantity; Fields should be separated with semicolon symbol ;
<{mqc}prestashop>csv_774af51650d2c01f8f897c03204930c1
Limit quantity of combination in cart
<{mqc}prestashop>csv_1b548ddbca7e1346787ec401b27e5f7a
CSV should contain fields: id_product; id_product_attribute; id_group; shop; quantity; Fields should be separated with semicolon symbol ;
<{mqc}prestashop>csv_a7539b961ad481192f93e5b94ab983ad
Limit quantity of product in all purchases
<{mqc}prestashop>csv_980857f53571f09ef07fc6e788c0e810
CSV should contain fields: id_product; id_group; shop; quantity; datetype; Fields should be separated with semicolon symbol ;
<{mqc}prestashop>csv_9d707b885854de967e3b711c0aaf0532
Available datetypes:
<{mqc}prestashop>csv_e12c54fb7a3e3631fc754a6b58aa1ae4
No restriction
<{mqc}prestashop>csv_12e50173b84c8f4c35a7a51fbeb9fa31
All orders
<{mqc}prestashop>csv_a081c9610c122ca2d1fe29935930f908
This year orders (from 1 Jan this year)
<{mqc}prestashop>csv_221d35cc8f0dacc92e75784de3e66372
Last year orders
<{mqc}prestashop>csv_8501005b84bc04b20c667a9679531466
Last 6 months orders
<{mqc}prestashop>csv_76d023867093f964a67e7fcd5e20c86b
Last 3 months orders
<{mqc}prestashop>csv_e6a0717e392b9cc6b83560420ba15dad
Last month orders
<{mqc}prestashop>csv_d9e63a7ba52725dc51b99f2be88b2135
Last week orders
<{mqc}prestashop>csv_4ff8cff31a029b148d67e4cdd006ed26
Last day orders
<{mqc}prestashop>csv_a6c7e692a22d1ed1a921fd67e045169a
Select CSV file
<{mqc}prestashop>csv_f453bbbc7ef5d84075c6da84c246e875
Add file
<{mqc}prestashop>csv_58be4de806253a6ee411b6c0c99296c7
Upload!
<{mqc}prestashop>csv_540061c514855090e61a2562d8193874
Uploaded files
<{mqc}prestashop>csv_851653473b3ef3f0731eae01bd208e0e
import as product cart limit
<{mqc}prestashop>csv_file_1691d2741b6d6808cd3295f26e5d74ff
import as combination cart limit
<{mqc}prestashop>csv_file_3014dc27f9dd7180e2d083a1d1bb2caf
import as product all orders limit
<{mqc}prestashop>csv_file_f7f97a5a16cfbd718745394d85f32a43
Import as combination all orders limit
<{mqc}prestashop>csv_file_1fcd1cff355bf1e746b5ec2dc314978b
delete
<{mqc}prestashop>csv_file_099af53f601532dbd31e0ea99ffdeb64
Main settings
<{mqc}prestashop>main_8103112e88495d4caaa29312e5e29314
Options
<{mqc}prestashop>main_dae8ace18bdcbcc6ae5aece263e14fe8
Global settings
<{mqc}prestashop>main_108490afa8365531d5eade07c3cc38f4
Import from CSV
<{mqc}prestashop>main_d714f8159166ccf9589964955ae21746
Maximum quantity of product in cart
<{mqc}prestashop>main_b7211bbd363d98c530e4a3fa472f29b9
Set the limit of maximum purchases for products. These settings are applicable for carts
<{mqc}prestashop>main_11daa65d1dca4d2852eb95c7fbb235a2
Global product's max cart quantity
<{mqc}prestashop>main_5f517277c55e8c1c34e8153e4bf090b4
Mass generate quantity limits
<{mqc}prestashop>main_3cba6e0085b270871a9daa4a334af5cf
Max quantity by features
<{mqc}prestashop>main_378322e06b0e3e1b7e1a8c26a60bca46
Maximum quantity for all purchases
<{mqc}prestashop>main_ea134999f21212b65b993338151c43dc
Set global quantity limits for products - settings here are applicable for all purchases in the shop (not for one cart as previous one)
<{mqc}prestashop>main_35aed61226a022727a7b99717165346e
Main settings of feature
<{mqc}prestashop>main_4992b5df09a9f6d386eab7aa120f5183
Feature below allows define maximum limit of all purchases of product.
<{mqc}prestashop>message_2da510ae9263d80462ef2dd9371bceae
This feature checks customer's history of orders with selected order states. Then it gets total quantity of products that customer bought and allow or disallow to place an order.
<{mqc}prestashop>message_8c8003364d365e310d30741588cf19aa
You can set quantity limites on product edit page.
<{mqc}prestashop>message_556d65d3b103fcaa5dc57d53c5d5d54e
Feature below allows to set maximum quantity of product per purchase for all available products in your shop
<{mqc}prestashop>message2_5c6e756e57cfa74163d66572f510add4
Feature below allows to quickly set maximum quantity of product per purchase
<{mqc}prestashop>message3_7ecc707b7929be5e1b422e9b4faedb43
You can define or remove such quantity restrictions in bulk based on product's association with categories
<{mqc}prestashop>message3_a390dffee439fd47744e5ad3adfdb5c1
You can also set quantity limits on product edit page.
<{mqc}prestashop>message3_00029e81de37338a864e99437e27e336
Feature below allows to quickly set maximum quantity of product for all purchases
<{mqc}prestashop>message4_f6c33144de780f7e535ec8fc63d2ee35
You can define or remove such quantity restrictions in bulk based on product's association with categories
<{mqc}prestashop>message4_a390dffee439fd47744e5ad3adfdb5c1
You can also set quantity limits on product edit page.
<{mqc}prestashop>message4_00029e81de37338a864e99437e27e336
Maximum quantity value defined for feature values will be applicable to all products associated with this feature value. When you will fill fields below - all maximum quantity values typed here will be applicable to all groups of customers and these values define maximum quantity of product in cart and quantity of products in \"all purchases\".
<{mqc}prestashop>message5_134e5f9ceab4dbfeb16203133657fcc6
If product will be associated with features that have various values below - module will use the lowest value to set quantity limit
<{mqc}prestashop>message5_f08400aed7c55f8b896dbc80fc3d2e1d
Order states
<{mqc}prestashop>orderstates_0133c7a0fa55069df27f8d9be2c6ab89
Select order states. Module will count products from orders with at least one order state selected below
<{mqc}prestashop>orderstates_c4ce9deccaa3013914dd139985c81ec4
ID
<{mqc}prestashop>orderstates_b718adec73e04ce3ec720dd11a06a308
Name
<{mqc}prestashop>orderstates_49ee3087348e8d44e1feda1917443987
Select
<{mqc}prestashop>orderstates_e0626222614bdee31951d84c64e5e9ff
You can order:
<{mqc}prestashop>productactions_da7bccb4ad649d3377de6b5efd666c2a
quantity of this product
<{mqc}prestashop>productactions_fa45bd72a30267d3fdc9aa70c5e59fe3
Some of product's variants have maximum allowed quantity conditions
<{mqc}prestashop>productactions_7ff57ec17c2d1f5acbe4d47f769b0864
You reached the purchases limit for products listed below
<{mqc}prestashop>shoppingcart_613ae0dc01789b5618409df7c834f016
The limit for product
<{mqc}prestashop>shoppingcart_297bf5a9f6d139cae351468a201ebfb9
is:
<{mqc}prestashop>shoppingcart_d906c3cc42579baec20039673e02085b
You previously bought:
<{mqc}prestashop>shoppingcart_e30522169c69372fed66caa92f9e4afa
Current quantity in cart is
<{mqc}prestashop>shoppingcart_34a9a11ea3b619ab035a96ce08910e46