[ic] Cart update is freaky

Grant emailgrant123b at yahoo.com
Thu Jul 1 15:28:13 EDT 2004


--- Mike Heins <mike at perusion.com> wrote:
> Quoting cHao (dont.botherme at verizon.net):
> > A client of ours has a product people will order
> in multiple sizes at once.
> > For confidence's sake, let's assume they're
> T-shirts.  Someone browsing the
> > site might want to buy 10 large, 10 medium, and 10
> small shirts.
> > Interchange adds them to the cart, and all is well
> so far.
> > 
> > (For reference, the size is a simple option with a
> price differential.  Each
> > size of shirt is a different price, but all share
> the same SKU.)
> > 
> > The problem comes when the buyer changes their
> mind and decides they only
> > want 8 medium shirts.  The way the current cart
> component and checkout form
> > seem to work, they don't know how to remove or
> update any but the first item
> > in the cart.  I assume this is because the
> products in the cart all have the
> > same SKU, but i'm not sure.
> 
> That probably means you toyed with the order of the
> variables in the
> cart, or totally removed the variables that show the
> quantity.
> 
> You need to have any remove box before the quantity
> variable, and you
> need to have a variable for the quantity of each
> item, even if only
> in a HIDDEN.

I got the delete-checked tag from the archives which
lets you put the remove box after the quantity
variable if you like.  It works great in case anyone
is interested.

- Grant

> 
> This is the type of thing a competent consultant
> could show you in
> just a few minutes, and I think it is even in the
> docs somewhere if
> you look.
> 
> -- 
> Mike Heins

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the interchange-users mailing list