Table of Contents
View Magento 2 Limit Quantity For Grouped Products Extension Detail Page for Features and Demo
Documentation for Limit Quantity of Grouped Products
Preference
- Limit Quantity for Grouped Products extension allows setting the minimum and the maximum quantity limit for grouped products.With the help of this extension, admin can set minimum and maximum quantity for number of child products of grouped products.
- If customers add quantity less than minimum quantity and more than maximum quantity for grouped product,Custom error message will be displayed and hence restricted to add product.
Installation
There are two ways of installing extension in magento2.
- Using COMMAND LINE.
- Manually Install extension.
Option 1: Magento 2 install extension using COMMAND LINE (Recommended)
Follow below steps to install extension from the command line.
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory. If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management.
Step 4: Enter the following at the command line:
Php bin/magento setup:upgrade
Php bin/magento setup:static-content:deploy
Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Stores → Configuration → Mageants → Limit Quantity for Grouped Products Configuratioins, the module will be displayed in the admin panel.
Option 2: Magento 2 install extension manually
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management Edit app/etc/config.php file and add one line code: ‘Mageants_MinimumMaximumQuantity’ ⇒ 1
Step 4: Disable the cache under System → Cache Management
Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Stores → Configuration → Mageants → Limit Quantity for Grouped Products Configuratioins, the module will be displayed in the admin panel.
Backend Example
After Installation of Extension log in to magento admin panel for set configuration of the extension.
Main Menu
Minimum Quantity : you can set minimum qty.
Maximum Quantity : you can set maximum qty.
Extension Configuration
Enable Limit Quantity For Grouped Products : Here you can enable and disable module from back end.
Minimum Quantity Error Message : Here you can set error message of minimum qty.
Maximum Quantity Error Message : Here you can set error message of maximum qty.
Frontend Example
Product Page
Cart Page
Minicart Page