One Page Checkout has gone

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
robgrigg
Lieutenant (LT)
Lieutenant (LT)
Posts: 76
Joined: Fri Jun 12, 2009 2:22 am

One Page Checkout has gone

Post by robgrigg » Tue Oct 06, 2009 12:56 pm

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.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: One Page Checkout has gone

Post by jmestep » Tue Oct 06, 2009 1:24 pm

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));
    }
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

robgrigg
Lieutenant (LT)
Lieutenant (LT)
Posts: 76
Joined: Fri Jun 12, 2009 2:22 am

Re: One Page Checkout has gone

Post by robgrigg » Wed Oct 07, 2009 12:02 am

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.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: One Page Checkout has gone

Post by jmestep » Wed Oct 07, 2009 3:40 am

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.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

robgrigg
Lieutenant (LT)
Lieutenant (LT)
Posts: 76
Joined: Fri Jun 12, 2009 2:22 am

Re: One Page Checkout has gone

Post by robgrigg » Thu Oct 08, 2009 2:14 am

Thanks again.

Post Reply