One Page Checkout Issue

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
gdelorey@mitcs.com
Commander (CMDR)
Commander (CMDR)
Posts: 129
Joined: Thu Oct 19, 2006 5:33 pm

One Page Checkout Issue

Post by gdelorey@mitcs.com » Tue Dec 15, 2009 9:10 am

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

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

Re: One Page Checkout Bug / Issue

Post by jmestep » Tue Dec 15, 2009 10:21 am

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));
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

gdelorey@mitcs.com
Commander (CMDR)
Commander (CMDR)
Posts: 129
Joined: Thu Oct 19, 2006 5:33 pm

Re: One Page Checkout Bug / Issue

Post by gdelorey@mitcs.com » Tue Dec 15, 2009 10:23 am

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

gdelorey@mitcs.com
Commander (CMDR)
Commander (CMDR)
Posts: 129
Joined: Thu Oct 19, 2006 5:33 pm

Re: One Page Checkout Bug / Issue

Post by gdelorey@mitcs.com » Tue Dec 15, 2009 10:38 am

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

User avatar
Tom.NET
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Thu Oct 22, 2009 9:14 am
Location: Chicago, IL
Contact:

Re: One Page Checkout Bug / Issue

Post by Tom.NET » Tue Mar 09, 2010 4:24 pm

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?
Royal Performance Group
http://www.royalperformancegroup.com

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

Re: One Page Checkout Issue

Post by jmestep » Wed Mar 10, 2010 8:46 am

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.
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

Post Reply