MitchellT
Starting Member
USA
22 Posts |
Posted - November 22 2016 : 17:31:50
|
Hello - what are the settings to remove the option of Guest Checkout on the One Page Checkout screen? We used CSS to hide the Guest option, but there''s nothing enforcing the login or new account checkbox so folks still can check out as a guest which causes issues with downloads.
Thanks for any help! |
|
serjtankian
VP-CART Super User
 
Armenia
378 Posts |
Posted - November 24 2016 : 10:18:52
|
Hi,
locate and add a comment to the following line in shoponepagecheckout_checkout_subs.asp file (around line 42)
create_onepage_radio getlang("langcheckoutasguest"), "checkout_method", "checkout_method_guest", "guest", guesstr
*peace - serj* |
 |
|
MitchellT
Starting Member
USA
22 Posts |
Posted - November 24 2016 : 10:38:07
|
Serj, thanks for the reply, I''ve already done that, but VPCart now does not enforce the Login or Create Account options. If the user leaves both remaining radio buttons unselected the order proceeds and the customer checks out as guest anyway. Surely there''s a setting to require accounts/logins to complete checkout. |
 |
|
serjtankian
VP-CART Super User
 
Armenia
378 Posts |
Posted - November 24 2016 : 10:42:47
|
hmm.. so seems need to add validation
*peace - serj* |
 |
|
vaheh
VP-CART New User

USA
115 Posts |
Posted - December 07 2016 : 12:44:33
|
You can simply add the following line of JS: document.getElementById(''checkout_method_return'').checked = true;
to the footer of the page and will do the job. I mostly prefer to do this kind of task through javascript so in case of updating the VPASP you do not have to sit and make all changes again.
|
 |
|
serjtankian
VP-CART Super User
 
Armenia
378 Posts |
Posted - December 08 2016 : 18:15:33
|
what file you''ve changed?
*peace - serj* |
 |
|
vaheh
VP-CART New User

USA
115 Posts |
Posted - December 12 2016 : 13:54:03
|
You can add it to the footer "shoppage_trailer.htm" Make sure the DOM is loaded completely before running the JS.
|
 |
|
|
Topic  |
|