Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Total Number of Items in Cart must be a MULTIPLE of a stated value before checkout

Total Number of Items in Cart must be a MULTIPLE of a stated value before checkout

Locked

Started by schoolboy on 2 Jun 2009, 4:36 PM · Views: 744

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
2 Jun 2009, 4:36 PM
#1
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #1 by schoolboy

Many people have contacted me to see if it's possible to ensure that the TOTAL NUMBER OF ITEMS in the cart MUST be a multiple of a stated value.

In other words... Let's say you are selling bottles of wine, and the customer can choose bottles from ANY category and in ANY quantity - as long as the TOTAL number of bottles they choose is a MULTIPLE of 12.

This is because you only pack your wine in cases of 12, but allow the cases to have MIXED products, across all categories.

Right now, you can only FORCE product quantity by PRODUCT (this is done in the product edit screen), but you cannot FORCE product quantity as a MULTIPLE of a set value, if all the products are different and/or exist in different categories.

GOOD NEWS!

I have written a module that will allow you to set a CART TOTAL MULTIPLE VALUE in the admin screen.

So... if you set this multiple value to 6, then the Total Items In Cart MUST be equal to 6, or a multiple of 6 (eg: 12, 18, 24, 36... etc).

If the customer's cart does not contain a total that is exactly divisible by 6, then he/she is presented with an ALERT message, and cannot proceed to checkout until the number of items is divisible by 6.

(You can set the value to any integer. Leaving the field empty disables the module).

If you are interested in this module, please PM me. I need volunteer testers before I submit it to Free Downloads).

20 years a Zencart User