Adding new property to customer object
Hi guys. Im new to development with aspdotnetstorefront so bear with me if im missing something obvious. My company has purchased MultiStore and I am starting some development on it.
Im trying to add an additional property to the Customer object in the core library. All seems fine - I can see and set the value of the property when working with Customer.Current (in this case an anonymous customer). However I noticed this value is not maintained on the next request to the server, the property on the Customer.Current object is back to its default (it's a bool so its back to false after previously being set to true).
I dont really understand how Customer.Current object is used by the shop so im hoping to get some insights from anyone that can help me here. Am I going about extending the customer object with new properties in the right way or is the another way of doing it?
Thanks - Aaron