What you set up
- A rule for one product or one category (with its sub categories) and a pack size from 2 to 1000.
- Optional: one customer group only, and your own message. Up to 50 rules.
What shoppers see
- "iPhone is sold in packs of 6. You have 8, please add 4 or remove 2."
- The cart page shows the box; the checkout (and One Page Checkout) sends the cart back to the cart page until it is whole packs.
- A cart without the product or category is left alone. Several broken rules are listed together.
- All sentences are in a language file you can translate.
Safe
- Rules are checked when saved: a product or category must be picked, whole numbers, pack of 2 or more, plain-text names and messages.
- Switch the module off and the cart is untouched. No database tables, nothing left behind.
Good to know
- The count is all items of the product or category in the cart together: 6 of one product and 6 of another in a category of packs of 12 is fine.
- It checks the cart page and the checkout, it does not change the quantity box or stop the add-to-cart click.
- Tested on the four versions with the real admin installer, 53 to 55 checks each: exact packs, not whole packs, categories, customer groups, messages, status off, uninstall and reinstall. Not checked in a real browser.