Page 1 of 1
Guest Checkout
Posted: Wed Jun 05, 2013 1:32 pm
by steveo
What do I need to change to allow guest checkout?
We are using Ablecommerce 7.07 and PayPal.
Thanks!
Re: Guest Checkout
Posted: Wed Jun 05, 2013 3:16 pm
by Katie
Hi,
In version 7.0.7, you can change a parameter in the \ConLib\OnePageCheckout.ascx file.
Change this line:
<param name="AllowAnonymousCheckout" default="false">Possible values are true or false. When true, customers are allowed to check out without creating a user account.</param>
To:
default="true"
Hope this helps!
Katie
Re: Guest Checkout
Posted: Thu Jun 06, 2013 7:05 am
by steveo
Katie,
Thanks for the help. I made the change but it is still requiring the customer to enter a password at checkout.
Do I have to restart the app or anything for this to take effect?
Thanks,
Steve
Re: Guest Checkout
Posted: Fri Jun 07, 2013 8:14 am
by Katie
Steve,
I thought it would start working right away, but restarting IIS or forcing a recompile of the application wouldn't hurt. Also, make sure that you're changing the right file. If you've ever made customizations to the OPC file, then it might reside in the \Conlib\Custom\ folder instead.
Please let me know if you get it working!
Katie
Re: Guest Checkout
Posted: Fri Jun 07, 2013 9:29 am
by steveo
Thanks Katie.
I'll give that a try.
Re: Guest Checkout
Posted: Fri Jun 07, 2013 11:58 am
by steveo
Katie,
I tried an IIS reset and it still isn't working.
Any other ideas?
Re: Guest Checkout
Posted: Sat Jun 08, 2013 8:56 am
by jmestep
If you are logged in as admin and go to the editor section of the One page checkout, you set it like the following:
[[ConLib:OnePageCheckout EnableGiftWrap="true" EnableMultiShipTo="true" EnableShipMessage="false" AllowAnonymousCheckout="true" DisableBots="false" MaxCheckoutAttemptsPerMinute="10"]]
Re: Guest Checkout
Posted: Mon Jun 10, 2013 6:16 am
by steveo
Thanks jmestep! That worked. For some reason editing the actual file did not work.
Re: Guest Checkout
Posted: Mon Jun 10, 2013 6:20 am
by jmestep
The actual file would need to be changed in the .cs file, but that is not a good reason because if you change the Conlib call again, and nothing changes for checkout, you would have a hard time trying to figure out why.
Re: Guest Checkout
Posted: Wed Jun 12, 2013 2:25 pm
by AbleMods
steveo wrote:For some reason editing the actual file did not work
The reason is the parameter specified on the ConLib reference in the scriptlet override the values in the actual file.
From another perspective, the actual file sets the default value. But a parameter will override that default if specified. So changing the actual file works great, unless that parameter is specified in the scriptlet
[[ConLib:OnePageCheckout EnableGiftWrap="true" EnableMultiShipTo="true" EnableShipMessage="false" AllowAnonymousCheckout="true" DisableBots="false" MaxCheckoutAttemptsPerMinute="10"]]