advocodo / module-cart-quantity-multiple
Only allows checkout when cart contents are multiple of X.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 1
Type:magento2-module
Requires
- php: ~7.3.0||~7.4.0
- magento/framework: 103.0.*
README
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: