Forums / General Questions / Set A Product Minimum Across Products In Several Categories

Set A Product Minimum Across Products In Several Categories

Locked

Views: 863

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
6 Jan 2009, 6:29 PM
#1
gereentp avatar

gereentp

New Zenner

Join Date:
Jan 2009
Posts:
1
Plugin Contributions:
0

Set A Product Minimum Across Products In Several Categories

Hi, Please forgive me if I started a new thread that has been previously addressed, but I've not been able to find a solution to what seems like a simple thing to do. I'm working for a client on a site that sells bread, they have two categories "Classic" and "Artistan". They would like to be able to force customers to purchase a minimum of three loaves based on any combination from both categories. I found where I could set a minum qty for an individual product, but is there any way to set a minimum qty at the category level that groups more than one category together? I am comfortable with PHP/MySQL, but new to zencart and not very familiar with the tables/structure yet, so any pointers or SQL/code examples on how to accomplish this would be very helpful.

6 Jan 2009, 9:07 PM
#2
swguy avatar

swguy

Administrator

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

Re: Set A Product Minimum Across Products In Several Categories

You would have to write custom code to do this; there's nothing built in.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

3 May 2009, 3:40 PM
#3
ronron avatar

ronron

Zen Follower

Join Date:
Mar 2009
Posts:
125
Plugin Contributions:
0

Re: Set A Product Minimum Across Products In Several Categories

Hi, Swguy and all. I am selling apparels with severals catagories like tops, bottom, jackets etc and they are all under product general. I would like customer to have a minimum purchase of 5 pieces of products can be mix and match before they can checkout. Refer to Swguy says have to write custom code, how do I do about it. Or any other ways? Thanks, your help will be apprciated.