Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-Cart 8.00 Issues
 How to eliminate Guest Checkout
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MitchellT
Starting Member

USA
22 Posts

Posted - November 22 2016 :  17:31:50  Show Profile  Visit MitchellT's Homepage  Reply with Quote
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  Show Profile  Visit serjtankian's Homepage  Reply with Quote
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*
Go to Top of Page

MitchellT
Starting Member

USA
22 Posts

Posted - November 24 2016 :  10:38:07  Show Profile  Visit MitchellT's Homepage  Reply with Quote
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.
Go to Top of Page

serjtankian
VP-CART Super User

Armenia
378 Posts

Posted - November 24 2016 :  10:42:47  Show Profile  Visit serjtankian's Homepage  Reply with Quote
hmm.. so seems need to add validation




*peace - serj*
Go to Top of Page

vaheh
VP-CART New User

USA
115 Posts

Posted - December 07 2016 :  12:44:33  Show Profile  Visit vaheh's Homepage  Reply with Quote
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.

Go to Top of Page

serjtankian
VP-CART Super User

Armenia
378 Posts

Posted - December 08 2016 :  18:15:33  Show Profile  Visit serjtankian's Homepage  Reply with Quote
what file you''ve changed?



*peace - serj*
Go to Top of Page

vaheh
VP-CART New User

USA
115 Posts

Posted - December 12 2016 :  13:54:03  Show Profile  Visit vaheh's Homepage  Reply with Quote
You can add it to the footer "shoppage_trailer.htm"
Make sure the DOM is loaded completely before running the JS.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00