[ic] Shopping Cart Items

Ed LaFrance interchange-users@icdevgroup.org
Mon Jun 17 12:38:00 2002


At 10:13 AM 06/17/2002 -0500, you wrote:
>I am running into a bit of a stumbling block with adjusting my shopping cart.
>  I can delete the top item on the list (quantity name: quantity0) but any
>other doesn't get deleted until the move up the item list to the top.  I
>looked throught the archives but I didn't find any references to this.  Here
>is the code is use in a nutshell.
>
><FORM action="[process]" method=post>
>            <input type=hidden name=mv_session_id value="[data session id]">
>            <input type=hidden name=mv_doit value=refresh>
>            <input type=hidden name=mv_checkout value="ord/checkout">
>            <input type=hidden name=mv_nextpage value="ord/basket">
>
>            <input type=checkbox name="[quantity-name]"
>               onclick="this.form.action='[process-target]', 
>
>               this.form.submit()" value=0> Remove
></FORM>
>
>Of course there is more to this code but here is the meat and pototoes, if
>any one can give me a hand or point me in the right direction I would be very
>gratefull.
>

That bit looks right, so something in the larger code picture is amiss. 
Have you modified your cart? Does this remove checkbox come before or after 
the Qty input in the code order?

- Ed L.


===============================================================
Increase profits from your Interchange store...
http://www.newmediaems.com/cgi-bin/nm/software_fus.html
===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================