Page 1 of 1

One Page Checkout Issue

Posted: Tue Dec 15, 2009 9:10 am
by gdelorey@mitcs.com
Hi - I've customized the one page checkout conlib file by adding some shipping text for customers after copying the default one page checkout file and placing it into the /custom folder. On the checkout page I changed [[ConLib:OnePageCheckout]] to [[ConLib:Custom\OnePageCheckout]] and here is what happens then:

- While logged in as myself (admin) the checkout process displays as the four step process (checkout, ship, gift, pay).
- All other users see the correct one page checkout page with the new updates applied.

Could this be a temp files issue with my browser? I've tested in both Firefox and IE8 and see the same result.

Thanks!

: Greg

Re: One Page Checkout Bug / Issue

Posted: Tue Dec 15, 2009 10:21 am
by jmestep
That is standard behaviour- I think it started with 7.0.2.
You can change that by changing one line of code in the basket and minibasket- add the false
Response.Redirect(NavigationHelper.GetCheckoutUrl(false));

Re: One Page Checkout Bug / Issue

Posted: Tue Dec 15, 2009 10:23 am
by gdelorey@mitcs.com
Hi Judy -

Thanks for the help! My client is running 7.0.3 but I'll try your fix and see if we have luck.

Thanks!

: Greg

Re: One Page Checkout Bug / Issue

Posted: Tue Dec 15, 2009 10:38 am
by gdelorey@mitcs.com
Judy -

Worked great, thanks again! Any idea why this is the default behavior? Seems odd to me that there would be two different processes depending on who's logged in...

: Greg

Re: One Page Checkout Bug / Issue

Posted: Tue Mar 09, 2010 4:24 pm
by Tom.NET
How does one set up the store to use one page checkout? I am experiencing the same issue described in the first post.

App_Code/NavigationHelper.cs has WebflowManager.IsUsingOnePageCheckout() in it in GetCheckoutUrl().

Can one configure the store so that WebflowManager.IsUsingOnePageCheckout() is always true for all users?

Re: One Page Checkout Issue

Posted: Wed Mar 10, 2010 8:46 am
by jmestep
That's a good question. I looked in the source code and here is the explanation of the IsOnePageCheckoutSetInScriplet

/// <summary>
/// Scans a content scriptlet to determine if it contains reference to a OnePageCheckout control
/// </summary>
/// <param name="identifier">The identifier of the content scriptlet</param>
/// <returns>True if the one page checkout control is discovered in the specified scriptlet</returns>

There is a "OnePageCheckoutIndicator" set as a cache key. I just don't see anywhere that can be set as a parameter on a content scriplet.