Cart Quantity Multiple - Magento 2 Module
Introduction
This module allows to limit checkout only when the contents of the cart are a multiple of X.
Screenshots
Setup
Magento 2 Open Source or Commerce edition is required.
Composer installation
Run the following composer command:
composer require advocodo/module-cart-quantity-multiple
Setup the module
Run the following magento command:
bin/magento setup:upgrade
Features
Limit cart multiple of X is useful feature when selling beer or wine, where your shipping is in boxes with fixed number of items (usually 6 for wine). It's also possible to exclude some categories from this rule.
Settings
The configuration for this module is available in Stores > Configuration > Sales > Cart Quantity Multiple
.
Authors
License
This project is licensed under the MIT License - see the LICENSE details.
Credits
This module was partially designed with the inspiration from these fine folks: