View Full Version : Login not an option during checkout...
BaileyMotorSports
08-05-06, 09:03 PM
Okay, a little background. I have display wizard pro installed and have chosen to disable the navbar in place of my own custom header. Up until recently I have wanted my customers to checkout quickly without having to login, Ive simply directed them to the order form "http://www.baileymotorsports.com/Merchant2/merchant.mvc?Screen=OINF&Store_Code=Bailey"
However, I have just installed an order status page module to help illeviate calls and emails. I now want to prompt the customers to login before they fill out the order form and submit their order. I guess I want to find out why this isnt listed like it is on other sites? For example, If you view my hosting companys website, youll notice that it prompts:
http://www.cybrhost.com/Merchant2/merchant.mvc?Screen=SOINF
Ive noticed a few other sites with simple/non dynamic links that give this prompt. I have checked through every option in Display Wizard Pro and the store setup, I can not seem to find anything to turn this on. I turned my NavBar on for a minute to see what link it used for checkout, it seems to use a session ID attached. https://baileymotorsports.cybrhost.com/Merchant2/merchant.mvc?Session_ID=5817e834313230184f192a26de ebdcf1&Screen=LOGN&Order=1
ILoveHostasaurus
08-05-06, 09:41 PM
The login before checkout is controlled by clicking on Stores -> Your Store Name -> Customer Accounts tab over on the right; there will be a check box that says "Display Login Before Order Form" that you need to turn on.
In addition to that though, if you're using a custom coded checkout button you may need to talter it because it is probably sending people to Screen=OINF now and it will need to send them to Screen=LOGN&Order=1
Since you're using OpenUI, you can accomplish this using a token that will detect if they're already logged in and not waste their time by sending them to the login screen again; here's the code:
<A HREF = "%VAR(g.secure_sessionurl)%Screen=%IF(login)%OINF%E LSE%LOGN&Order=1%IFEND%"> Checkout </A>
Note: For some reason this forum is adding a space in the above code between % and ELSE which should not be there, it's not there when I edit the post, only on display.
Vic - WolfPaw Computers
08-05-06, 09:52 PM
Its an option under Stores -> Storename. Click on the Customer Accounts tab.
Check the box for Display Login Before Order Form.
You may want to add some OpenToken scripting to your navigation link to account and checkout.
We have some tips here:
http://www.wpcomp.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=2
BaileyMotorSports
08-05-06, 09:53 PM
The login before checkout is controlled by clicking on Stores -> Your Store Name -> Customer Accounts tab over on the right; there will be a check box that says "Display Login Before Order Form" that you need to turn on.
In addition to that though, if you're using a custom coded checkout button you may need to talter it because it is probably sending people to Screen=OINF now and it will need to send them to Screen=LOGN&Order=1
Since you're using OpenUI, you can accomplish this using a token that will detect if they're already logged in and not waste their time by sending them to the login screen again; here's the code:
<A HREF = "%VAR(g.secure_sessionurl)%Screen=%IF(login)%OINF%E LSE%LOGN&Order=1%IFEND%"> Checkout </A>
Note: For some reason this forum is adding a space in the above code between % and ELSE which should not be there, it's not there when I edit the post, only on display.
This is some of the reason why I was so stumped, that option is turned on under customer accounts. Regarding this code, is this added directly after the merchant.mvc? portion of the url?
BaileyMotorSports
08-05-06, 09:55 PM
Hmm, same thing. That URL takes me to a page with this image:
http://www.baileymotorsports.com/images/cartwelcome.jpg
BaileyMotorSports
08-05-06, 10:03 PM
Hmm, same thing. That URL takes me to a page with this image:
Ive figured out where that image (which is obviously custom made) came from, its a link within the SFNT page in htr/ftr - store screens. If that wasnt there, it would simply be a blank page.
Is there a way to check to see if the "Display Login" under Customer Accounts is indeed working?
BaileyMotorSports
08-05-06, 10:08 PM
This was a response from my host:
Hi Justin,
The checkout link is dynamic which means it changes depending on the Basket contents and login status of the shopper.
Install this free module called: vc_staticredirect_compiled.zip (javascript:freebieconfirm('vc_staticredirect_comp iled.zip');)
http://www.vikingcoders.com/dl/CTGY/FREE
Then you can use this url for the checkout:
http://www.baileymotorsports.com/Merchant2/merchant.mvc?Screen=SOINF
or because you have DWP installed you can use these urls:
Checkout:
http://www.baileymotorsports.com/Merchant2/merchant.mvc?Screen=DWPOINF
Account:
http://www.baileymotorsports.com/Merchant2/merchant.mvc?Screen=DWPACNT (http://www.baileymotorsports.com/Merchant2/merchant.mvc?Screen=DWPACNT)
Thanks
Gary Hodder
--
CybrHost Corp. - http://www.cybrhost.com/ (http://www.cybrhost.com/) - info@cybrhost.com (info@cybrhost.com)
+1-866-300-MIVA - Professional Miva & E-Commerce web hosting services.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.