Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Creating dropdown list for product quantities


Guest

Recommended Posts

Hi,

 

Does anyone know how to create a dropdown list for product quantities on the product_info.php page? I thought it would be easy (like in HTML)... but it's proving to be otherwise ;(

 

Thanks,

J

Link to comment
Share on other sites

If you search this forum for "quantity dropdown" (minus the quotes), there's a post somewhere in here that links to another post that explains how to do it. I've got it in action on my site, but can't recall off the top of my head what changes I had to make to get it working, but I know it wasn't too difficult.

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Thanks Terry,

 

I have searched and searched the forums for a suitable solution but can't find anything for quantities... the dropdown solutions all seem to be for products or categories - involving references to arrays and dB values... quantities wouldn't have either of these... I don't think!?

 

I don't suppose you could send me the page that you are running the quantity dropdown on could you? I might be able to work out how you've done it by looking at the code?

 

In the meantime, can anyone else help with a definite solution for displaying product quantities in a dropdown!?!?!?!?! :wacko:

 

*fingers crossed*

Link to comment
Share on other sites

Hi Jeannette,

 

Try this:

 

http://www.oscommerce.com/community/contributions,1253

 

To see it in action on my site, just click on the WWW link in my signature, then click on one of the product pages.

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Hi Terry,

 

Many thanks for your help - I was _finally_ able to get this to work (after quite a bit o' fiddling!)

 

Cheers,

J

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...