[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Shopping Cart adds extra goods
Quoting Mark Johnson (markj@redhat.com):
> cfm@maine.com wrote:
> >
> > > >
> > > > If a customer buys an item on my IC, then goes to their cart, the item
> > > > appears on the list - which is fine. But then, if the page is reloaded, the
> > > > same item is added again ie: 2 of the same items are listed. It is possible
> > > > to remove one of the extra items, but reloading adds it again.
> > > >
> > > > Is this to be expected or is something wrong and if so, Can anyone help?
> >
> > Just what do you expect the page to do if someone "reloads"?
> >
> > Check the archives for this.
>
> AH! I misread the question.
>
> The answer is, don't reload. This is simply a browser issue, and frankly
> the only reasonable response to reloading a page contingent on a form
> post. Interchange will not stop you from loading products in a cart
> unless you make efforts to keep it from doing such; thus, it will
> happily accept each request made to add an item to the cart.
>
If someone wants to do this despite what I consider to be all good sense,
they can:
[page
href=order
form="
mv_separate_items=0
mv_order_item=THE-SKU
mv_order_quantity==1
"]Order it, only one ever[/page]
Note the two equals (=) signs in mv_order_quantity.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
In character, in manners, in style, in all things, the supreme excellence
is simplicity. -- Longfellow