VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Problems and bugs
 xcheckexisting and shopcustregister.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ssanderlin
Starting Member

2 Posts

Posted - July 30 2009 :  11:19:32  Show Profile  Reply with Quote
Why does xcheckexisting only count for shopcustomer.asp and not also shopcustregister.asp? How would I enable this check on shopcustregister.asp?

g3nnin
VP-ASP Super User

209 Posts

Posted - July 31 2009 :  14:37:25  Show Profile  Reply with Quote
Hi,

To enable the xcheckexistingcustomer in shopcustregister, you could locate the following code in shopcustregister.asp:

ValidateData()

Below that code, simply add this code:

If checkForExistingCustomer(strLastName, strEmail, strPassword1) then
sError = sError & getlang("langCustomerExists") & "<br />"
end if

Then, copy the whole checkForExistingCustomer function in shopcustomer.asp into shopcustregister.asp
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000