Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Mix and match minimum order

Mix and match minimum order

Locked

Views: 1,865

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
6 Apr 2007, 9:06 PM
#1
designz avatar

designz

New Zenner

Join Date:
Apr 2007
Posts:
8
Plugin Contributions:
0

Mix and match minimum order

Went at least 10 pages deep, please help!!!!

I have 180 items...
I want to set the minimum order to (6) six...
I want shoppers to be able to pick and choose / mix and match from the 180 items to get to their minimum order of 6.

ie.
item 002 - qty 2
item 034 - qty 3
item 129 - qty 1

6 Apr 2007, 9:59 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,607
Plugin Contributions:
0

Re: Mix and match minimum order

Sorry- mix and match for a total is not part of the core code at this time.

6 Apr 2007, 10:32 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Mix and match minimum order

You would need to write your own code to manage how many items there are ...

$_SESSION['cart']->count_contents() will tell you the number of items ...

Items being, if you have 3 of Product A and 2 of Product B and 4 of Product C then you have 9 items ...

7 Apr 2007, 12:36 AM
#4
designz avatar

designz

New Zenner

Join Date:
Apr 2007
Posts:
8
Plugin Contributions:
0

Re: Mix and match minimum order

Kim, Ajeh thanks for the quick response!!
:smile:
Hope to have/get it soon!!

"Zen" becoming ONE with the universe!!

22 Jan 2008, 9:28 AM
#5
benmckechnie avatar

benmckechnie

New Zenner

Join Date:
Nov 2007
Location:
North East United Kingdom
Posts:
25
Plugin Contributions:
0

Re: Mix and match minimum order

Hi Designz,
did you manage to get this set-up working?
I've been searching for exactly the same mod but everything seems either based on price, or a minimum number of a single product - as you discovered i guess.
Did you find / get the code for a minimum order based on the total number mixed items?
Cheers,
Ben

22 Jan 2008, 10:22 AM
#6
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,694
Plugin Contributions:
56

Re: Mix and match minimum order

Response by email.

1 Feb 2008, 1:28 AM
#7
missviv2 avatar

missviv2

New Zenner

Join Date:
Feb 2008
Posts:
6
Plugin Contributions:
0

Re: Mix and match minimum order

Has this been added as a new feature to 1.3.8? I am in need of this particular feature and would like to know what the code is so I can add it to my cart. Thanks!

1 Feb 2008, 4:37 AM
#8
missviv2 avatar

missviv2

New Zenner

Join Date:
Feb 2008
Posts:
6
Plugin Contributions:
0

Re: Mix and match minimum order

Nevermind. I created code myself. I've uploaded it to the Zen Cart downloads under Marketing Tools, named Minimum Number of Items. I don't know how long it takes them to review the files before they are available to everyone. Post here if you need them now and they're not available yet. I will email them to you. I have the code running at https://www.spotowines.com if you want to see it in action.

4 Feb 2008, 7:47 PM
#9
missviv2 avatar

missviv2

New Zenner

Join Date:
Feb 2008
Posts:
6
Plugin Contributions:
0

Re: Mix and match minimum order

I've uploaded a new version. I just updated where to find the setting from My Store to Minimum Values (Many thanks to Chinchilla2661). For those that already have it installed, you can use install_config_relocate.sql to move the existing Minimum Number of Items configuration to the Configuration-->Minimum Values section of the Admin Panel WITHOUT any changes to your existing setting.