Zen Cart Logo
Forums / General Questions / how do you add a drop down menu for the quanity box?

how do you add a drop down menu for the quanity box?

Locked

Views: 1,967

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
12 Aug 2006, 4:52 PM
#1
mikeylikesyou avatar

mikeylikesyou

New Zenner

Join Date:
Jun 2006
Posts:
24
Plugin Contributions:
0

how do you add a drop down menu for the quanity box?

Would like to change the quantity box to a drop down menu.

Any suggestions would be great?

Thanks,

mikey

13 Aug 2006, 5:42 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: how do you add a drop down menu for the quanity box?

Please explain in more detail.

What would be in the dropdown menu?
How would you control its contents?
Why do you want this?
What problem is it attempting to solve?

13 Aug 2006, 9:13 AM
#3
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: how do you add a drop down menu for the quanity box?

Did you mean the quantity next to 'Add to Cart'?

14 Aug 2006, 4:21 AM
#4
mikeylikesyou avatar

mikeylikesyou

New Zenner

Join Date:
Jun 2006
Posts:
24
Plugin Contributions:
0

Re: how do you add a drop down menu for the quanity box?

When the user is viewing the product,
and selects add to cart, there is
quantity box for How Many?

How do I change this default of 1 to maybe 3?

Thanks,

mikey

14 Aug 2006, 5:02 AM
#5
ajeh avatar

ajeh

Oba-san

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

Re: how do you add a drop down menu for the quanity box?

Are you forcing a minimum purchase or just want to up the stakes?

15 Aug 2006, 3:19 AM
#6
mikeylikesyou avatar

mikeylikesyou

New Zenner

Join Date:
Jun 2006
Posts:
24
Plugin Contributions:
0

Re: how do you add a drop down menu for the quanity box?

Yes, I am.
Need minimum and max values.

Thanks

15 Aug 2006, 3:24 AM
#7
ajeh avatar

ajeh

Oba-san

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

Re: how do you add a drop down menu for the quanity box?

Each Product has separate settings the defaults are:
Products Minimum 1
Products Maximum 0 (unilimited)
Products Units 1

Change them to suit your needs ...

15 Aug 2006, 4:12 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: how do you add a drop down menu for the quanity box?

mikeylikesyou:

Yes, I am.
Need minimum and max values.
I'm still not understanding you.

Zen Cart normally offers:

  • buy-now-default-quantity = 1 unless a "minimum" has been set like Ajeh mentioned
  • if a "minimum" other than 0 or 1 has been set, then the customer is not allowed to purchase less than the minimum
  • if a "maximum" has been set, then the customer is not allowed to purchase more than the maximum

What are you asking to do?

  • do you want to just change the default from 1 to 3 for all products?
  • do you want to force the customer to order a "set minimum quantity" for individual products? (ie: 3 instead of 1 ... and never let them buy less than 3)?
  • do you want to force the customer to never be able to purchase "more" than a "set maximum" per product? ie: 5 for shoes, or 18 for t-shirts?
  • are you looking for something that affects all products equally, or can be controlled "per product"?

Why are you looking for this? What is the business need you're trying to solve?

30 Sep 2007, 10:18 AM
#9
mediathing avatar

mediathing

Zen Follower

Join Date:
Apr 2005
Location:
London
Posts:
405
Plugin Contributions:
0

Re: how do you add a drop down menu for the quanity box?

I think what he is asking is this:

Instead of the standard box next to the add to cart button with a qty of 1 in it which the customer can change to any number, he wants it to be a drop down box with qty's in it from say 1 to 10 so the customer can just select the qty desired from the drop down box. I had this on a previous shop but cannot remember how I did it.

Thanks
Pete