You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Amrish Kumar <am...@palindromesoftware.com> on 2011/04/13 09:20:33 UTC

Problem with add to cart whenever we refresh the browser

Hi,

 can anyone tell me how to solve the problem for add to cart on browser
refresh.
Whenever we add any product it adds one quantity and again if I refresh the
browser it adds one more product.
can any one give me the solution for this.

-- 
"Print this mail only if absolutely necessary".
Save Paper. Save Trees.

Regards,
Amrish Kumar,
Palindrome Software Labs

Re: Problem with add to cart whenever we refresh the browser

Posted by S K Pradeep Kumar <s....@gmail.com>.
You can use ajax.

With regards,
S K Pradeep kumar,
9980609494


On Wed, Apr 13, 2011 at 1:41 PM, Deepak Dixit
<de...@hotwaxmedia.com>wrote:

> You can use request-redirect for add to cart request.
>
> ie.
> <response name="success" type="request-redirect" value="main"/>
>
>
>
> Thanks & Regards
> --
> Deepak Dixit
> HotWax Media Pvt. Ltd.
> www.hotwaxmedia.com
> Contact :- +91-98267-54548
> Skype  :- deepakdixit
>
> On Apr 13, 2011, at 12:50 PM, Amrish Kumar wrote:
>
> > Hi,
> >
> > can anyone tell me how to solve the problem for add to cart on browser
> > refresh.
> > Whenever we add any product it adds one quantity and again if I refresh
> the
> > browser it adds one more product.
> > can any one give me the solution for this.
> >
> > --
> > "Print this mail only if absolutely necessary".
> > Save Paper. Save Trees.
> >
> > Regards,
> > Amrish Kumar,
> > Palindrome Software Labs
>
>

Re: Problem with add to cart whenever we refresh the browser

Posted by Deepak Dixit <de...@hotwaxmedia.com>.
You can use request-redirect for add to cart request.

ie.
<response name="success" type="request-redirect" value="main"/>



Thanks & Regards
-- 
Deepak Dixit
HotWax Media Pvt. Ltd.
www.hotwaxmedia.com
Contact :- +91-98267-54548
Skype  :- deepakdixit

On Apr 13, 2011, at 12:50 PM, Amrish Kumar wrote:

> Hi,
> 
> can anyone tell me how to solve the problem for add to cart on browser
> refresh.
> Whenever we add any product it adds one quantity and again if I refresh the
> browser it adds one more product.
> can any one give me the solution for this.
> 
> -- 
> "Print this mail only if absolutely necessary".
> Save Paper. Save Trees.
> 
> Regards,
> Amrish Kumar,
> Palindrome Software Labs


Re: Problem with add to cart whenever we refresh the browser

Posted by Adrian Crum <ad...@sandglass-software.com>.
It seems to me that is a problem common to any web-based or 
browser-based application. Clicking the browser's Refresh button repeats 
whatever you did previously. Some browsers will warn the user that data 
duplication might occur.

-Adrian


On 4/13/2011 12:20 AM, Amrish Kumar wrote:
> Hi,
>
>   can anyone tell me how to solve the problem for add to cart on browser
> refresh.
> Whenever we add any product it adds one quantity and again if I refresh the
> browser it adds one more product.
> can any one give me the solution for this.
>