If you are selling wine, where the customer may choose, for example, a single bottle of each of a selection of varieties - but that the total order must make up case-lots of 3 or 12 - because that's how the order is configured, packaged and despatched.
Some wine combinations are available as 3-pack - others available as case lots of 12, but the customer can still choose what wines to make up those packs...
I developed a module that SORT-OF works, but it looks at the total quantity of ITEMS in the cart...
If I set the limiter to 6 (in the Admin Console), then the cart item total must be in multiples of 6...
... so a customer MUST have at least 6 bottles in the cart, or a MULTIPLE of 6 (ie: 6, 12, 18, 24, 36, etc...)
IF they have LESS than 6, OR IF they have a number that is NOT a MULTIPLE of 6, then they cannot proceed to checkout, and an alert appears telling them to adjust their cart so that they have the requisite number of ITEMS.
The limiting factor here is that the mod works off the TOTAL ITEM COUNT in the cart, and checks that against the designated limit that you set in Admin.
... so it ONLY works if ALL items are single bottles, and ALL case lots are configured in 6-per case.
My mod allows you to set the limiter to any integer greater than 0, so, while I use "6" in my example, you could use 3, or 9, or even 722 !
See it in action at
www.modshops.co.uk/wineshop .
(This will not work for the OP, as he/she wants the capability to have 3 or 12 as delimiters.)
Maybe some clever wag can see how to do it...
