[ic] Error - from results.html direct to receipt.html !!

Jonathan Clark interchange-users@icdevgroup.org
Sun Feb 16 05:07:01 2003


> > Ok, i can reproduce this error now. I updated to IC 4.8.7. The
> > error happens
> > when a customer hits the back button from the completed order
> (the receipt
> > page) and goes back to the results page and than puts other
> articles into
> > the cart and than hits add to cart, than it happens .... when any
> > other link
> > is hit before inside the shop it seems not to happen. Of course the
> > customers say they don't go over back in browser, but you know
> ....   :))
>
> Ok. Looks like this is being caused by the munge_quantity mv_click routine
> in the results.html page.
>
> It has:
>
> 	[bounce href="[history-scan exclude=nothing]"]
>
> at the end. My guess is that something like
>
> 	[bounce href="[history-scan exclude=(ord/.*|nothing)]"]
>
> will do the trick.
>
>
>
> Hm it doesn't do anything ....... if you go back with the browser
> button to
> the results page and choose another items and press ann to basket
> the items
> are directly ordered !!

Hmm.. we need to exclude process.html to stop this. Hopefully it won't cause
side effects. (the results page is called with search.html so that's ok.

try:

[bounce href="[history-scan exclude='(nothing|^/ord|^/process)']"]

My test steps where:

0) Log in as test/test.
1) From the index page, use the search box to search for 'rake'.
2) Put a 1 in the box to order 1 rake. Click Buy List.
3) Click on the checkout.
4) Filled in CC details (4111 1111 1111 1111), clicked Place Order.
5) From the receipt page, click back button twice to go to the results list
again.
6) Put a quantity in again and click Buy List.

You should get the results page again rather than the receipt.

Confirmed at: http://icdemo.webmaint.net/

Jonathan
www.webmaint.net