VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Limit quantity dropdown box to items in stock
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

36 Posts

Posted - April 21 2009 :  18:31:38  Show Profile  Reply with Quote

I wonder if it is possible to limit the quantity dropdown box, which is displayed in the extended product page, to the amount of items in stock. Now, the dropdown is defined by xproductminimumquanty, xproductminimumlist and xproductmaximumquantity (generally 6 items).

Probably it can be tweaked in the shopfileio.asp file, somewhere in the add_quantity sub routine and in the generateminimumlist sub routine.

I have tried to replace parraycount by lngcstock but it does not work.

Are there other suggestions?

Best regards,
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000