Overriding the default synchronization CopyDataFromCustomerToUserInternal

Patty Komzak asked on January 22, 2019 19:46

I would like to override the default synchronization of the CopyDataFromCustomerToUserInternal method to prevent updates to CMS_User.Email from eCommerce COM_Customer.CustomerEmail.

our online Company Store is for internal employees only, and we use AD log-in information to access our intranet. I would like to preserve the user's company email address (CMS_User.Email) but allow them to enter an alternate email on their orders.

i believe these are the instructions i need. i am unclear on where/how to make the necessary changes. https://docs.kentico.com/k11/e-commerce-features/customizing-and-developing-your-store/customer-related-customizing/synchronizing-customer-and-user-properties#Synchronizingcustomeranduserproperties-Overridingthedefaultsynchronization

we are currently on Kentico11.

Recent Answers


Eric Dugre answered on January 22, 2019 21:07

The methods listed on that page are contained in the CustomerInfoProvider so you can create a custom provider and register it by following the instructions here: https://docs.kentico.com/k11/custom-development/customizing-providers

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.