50 likes | 78 Views
Magento 2 Limit Cart Quantity by Meetanshi helps admin in stock management by setting a limit for cart quantity based on customer groups.
E N D
1.Extension Installation Guide 2.Configuration 3.Limit Cart Quantity in Frontend Limit Cart Quantity for Magento2 © Meetanshi.com
1.Extension Installation •Extract the zip folder and upload our extension to root of your Magento 2 directory via FTP. •Login to your SSH and run below commands step by step: ophp bin/magentosetup:upgrade oFor Magento version 2.0.x to 2.1.x - php bin/magentosetup:static-content:deploy oFor Magento version 2.2.x & above - php bin/magentosetup:static-content:deploy –f ophp bin/magentocache:flush •That’s it. 2.Configuration To configure the extension, login to Magento 2 backend, move to Stores → Limit Cart Quantity where you can find various settings to configure the extension. •Limit Cart Quantity: Enable the limit cart quantity extension from here. •Minimum Quantity Allowed: Select the customer group from the dropdown and the minimum quantity allowed for respective customer group. •Alert Message for Minimum Cart Quantity: Enter the alert message to be displayed in frontend when the minimum cart quantity threshold value is exceeded. •Maximum Quantity Allowed: Select the customer group from the dropdown and the maximum quantity allowed for respective customer group. •Alert Message for Maximum Cart Quantity: Enter the alert message to be displayed in frontend when the maximum cart quantity threshold value is not reached. → Configuration → → Limit Cart Quantity for Magento2 © Meetanshi.com
Limit Cart Quantity for Magento2 © Meetanshi.com
3.Limit Cart Quantity in Frontend Once the settings are configured, the Limit Cart Quantity form is enabled in the frontend. •Alert Message for Minimum Cart Quantity When a customer places an order that does not contain minimum quantity in the cart required to place the order for his customer group, an alert message is displayed set from the backend. Limit Cart Quantity for Magento2 © Meetanshi.com
•Alert Message for Maximum Cart Quantity When the cart quantity exceeds the maximum allowed quantity for particular customer group, an alert message is displayed in the frontend as shown in the image. If you have any question or need support, Contact us at https://meetanshi.com/contacts/ Limit Cart Quantity for Magento2 © Meetanshi.com