Page 1 of 1
One Page Checkout has gone
Posted: Tue Oct 06, 2009 12:56 pm
by robgrigg
Hi.
I am configuring a site and all of a sudden I have lost the single page checkout and I am now into a multi page process.
I am not sure how this happened. Is this configurable? What could I have changed?
Cheers.
Rob.
Re: One Page Checkout has gone
Posted: Tue Oct 06, 2009 1:24 pm
by jmestep
It changed in 7.0.2, I believe. You have to add the word false to this code on the basket page and similar fix on the minibasket. What happens is that if you are already logged in before you get to the checkout page, you get directed to the multi page checkout.
Code: Select all
protected void CheckoutButton_Click(object sender, EventArgs e)
{
BasketHelper.SaveBasket(BasketGrid);
Response.Redirect(NavigationHelper.GetCheckoutUrl(false));
}
Re: One Page Checkout has gone
Posted: Wed Oct 07, 2009 12:02 am
by robgrigg
Thanks jmestep.
Looing at the code there are 3 get address hepler methods. and they all 3 have the ability to pop you into the long checkout process rather than the one page.
So, my subsequest question is; is there any reason why an authenticated user (or an annonymous user for that metter) would need to be redirected to the multi page checkout? If not then would it be better to modify the helpers?
Thanks again.
Rob.
Re: One Page Checkout has gone
Posted: Wed Oct 07, 2009 3:40 am
by jmestep
I really don't know why Able changed it to bypass one page checkout if a user is logged in. Every site I have worked on want to use the one page checkout only. I think that might be partly because shipping customizations would have to be done to the multi-page.
If we are developing some custom code for checkout and are having difficulty with the one page because of ajax, showing/hiding panels, we will sometimes work with a prototype on the multi page so that we can do better testing of the basic code.
Re: One Page Checkout has gone
Posted: Thu Oct 08, 2009 2:14 am
by robgrigg
Thanks again.