Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-Cart 8.00 Issues
 [Solved] ContactID vs User Id
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jack208
VP-CART New User

Malaysia
116 Posts

Posted - November 26 2015 :  01:36:43  Show Profile  Reply with Quote
I und VPCart uses ContactID as the primary key for the Customer table. And the introduction of User Id (since VPASP v7? coz I remembered it was not there in earlier ver) is a very useful enhancement since customers remember user id (or email) more easily than using "last name" to login.

However I notice User ID is not set as a unique key, and I realized I''ve two customers with the same user id! They are test records however.

But it could mean two (or more) unrelated customers sharing the same user id. Which can be a problem.

Any thoughts on this? Can we just put a unique index on the User Id field (via MSSQL admin) for a quick resolution?

THink we can do it using MSSQL admin but there need to be a handling of the error messages when a duplicate user id is entered.

Edited by - jack208 on November 27 2015 23:59:07

support
Administrator

4679 Posts

Posted - November 26 2015 :  02:14:46  Show Profile  Visit support's Homepage  Reply with Quote
Hi Jack,

In the front end we do actually block users from being able to an existing username if xcustomeruserid is enabled.

It is only in the admin that there is no validation.

This is a new feature for version 8 for the front end so you do not have duplicate issues.

Thanks!

Cam Flanigan
VPCart Customer Care Team
www.vpcart.com
Go to Top of Page

jack208
VP-CART New User

Malaysia
116 Posts

Posted - November 26 2015 :  03:23:15  Show Profile  Reply with Quote
Thsnkd Cam. This is good enough. If there''s already a check on the frontend, then all I need to do is to run a query for duplicates and do some cleanup in the backend.
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