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,977

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,515
Plugin Contributions:
176

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?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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'?

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen 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?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

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 ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

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

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

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?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

FORUM:

a public meeting or assembly for open discussion

#An online discussion group, where participants with common interests can exchange open messages.

a public facility to meet for open discussion