2 replies [Last post]
slackerx's picture
Offline
Joined: 03/12/2009
Juice: 3
Was this information Helpful?

does the default quantity field even do anything??? when editing a product, no matter what i put in there it always comes up as one. here is what im trying to accomplish, i have a product that has a set price per one... i want users to know how much it costs for 1 of that product, but the product has a minimum quantity of 4. meaning they have to purchase 4 or more. i know everyone will say, well why dont put the sell price in as the price of four, well because once they buy the initial 4 they can ad as many as they want, so if they wanted to add 1 more to make 5 it would only charge them for one and not 4. i hope that makes sense.

anyway no matter what i put in the quantity field it doesnt change, i even changed it to 0 just to see if it would go away, and nothing happened. if anyone knows of a way i can accomplish this or if i am missing something, please let me know.

your help is greatly appreciated.

thanks for your time.

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: default quantity field

I think what you want is http://www.ubercart.org/contrib/274

Do you see wrong behavior of the quantity field on Livetest, or is it just your site?

<tr>.
wbclassics's picture
Offline
Joined: 01/25/2009
Juice: 55
Re: default quantity field

This is a built in feature of Drupal and should work easily once you have the display optional product quanity box enabled in Store Config -> Product Settings. Then it is just a simple matter of adjusting the "Default Quantity" in your individual product's setup.

I've got two Drupal installations working fine, both Drupal6 w/ Ubercart 2.0Beta5. The default quantities work and display fine, no matter what I adjust them to. Price still displays the individual unit cost, but Xnumber are added to cart where X matches the default quantity I specified.