here is the code...
Quantity: <select name="quantity">
<cfloop from="1" to="#recommend.units_in_stock#" index="idx">
<option value="#idx#">#idx#</option>
</cfloop>
</select>
-----Original Message-----
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 3:38 PM
To: CF-Talk
Subject: RE: Shopping Cart qty problems.
Going to need a little more than that :)
It sounds like you are only outputting the last qty value for all of them
though. -or- you are updating them all to the last qty's value somewhere.
...:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-----Original Message-----
From: Phillip Perry [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 3:27 PM
To: CF-Talk
Subject: Shopping Cart qty problems.
Hi,
I have a cart that displays the qty in a drop down list. The list is from
1 - max qty in the DB. The problem is that if the user chooses more than one
item, all items qty's become the same as the last item chosen.
Example:
item 1 qty chosen 4; qty after item 2 = 2
item 2 qty chosen 2; qty stays the same.
and the qty for each item goes to 1 when the user decides to checkout also.
Any help is appreciated.
Phil
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232653
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54