I am working on a b2b site using RazorCart. I use Smith_Customer to represent the customer's company, and the DNN users have the customer ID in their User Profile so I know which Smith_Customer they are with (and we are selling to). A Smith_Customer record has a 1:1 relationship with a DNN User ID, so there will be times when a DNN user logs in and theirs is not the DNN User ID in a customer record so in the model the Customer data is not valid.
I can, through SQL against the database, work from the Portal ID and DNN User ID to get the Smith_Customer record I want to use. Is there a way to push the desired customer data into the model so it's in place later when the completed order is processed? If not, do you have any suggestions?
Thank you,
George Butler