Welcome, Guest ( Customer Panel | Login )




 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-CART 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
0 Item(s)
$0.00