回帖总数:
53
业力:
285
注册日期:
2009/1/22
Hello, I am looking for the place in nop project where customers are registered. I found modules/customerRegister.ascx.cs with method CreatedUser but in this method there are only attributes inserted I am looking for the place where nop_customer is filled with method customermanager.addCustomer(... Thanks for the help! Bert
回帖总数:
1794
业力:
14506
注册日期:
2009/10/7
位置:
United Kingdom
try libraries-->businesslogic-->customer-->CustomerManager.cs there are other files in the folder which may also be relevant
回帖总数:
53
业力:
285
注册日期:
2009/1/22
Thanks for the reply. I do find the method "addcustomer" in the dll files but I do not find where it is called with value for parameters.... Anyone? Bert
回帖总数:
24
业力:
140
注册日期:
2010/1/26
位置:
United States
They're using a membership provider. Look in Libraries -> Profile -> StoreMembershipProvider.cs There's a CreateUser method in there that gets called, it in turn calls the CustomerManager.AddCustomer method.
回帖总数:
53
业力:
285
注册日期:
2009/1/22
Hi! Thanks for the reply! Hope I don't look silly with my next questions but now I am looking for parameters for CreateUser method :S I cannot find where it is called... Thanks, Btw: I very like the pet website!
回帖总数:
6
业力:
30
注册日期:
2010/4/26
位置:
United States
Hi, You are not alone. I don't see where AddCustomer is called inside CustomerRegister either. Maybe I am looking at the wrong place. Would you point me where to look please? Thanks!