In which scenario anonymous customer created?
In which scenario anonymous customer created?
Typically when someone adds an item to the cart or wishlist.
There is a web.config appSettings entry you can set false to immediately create a customer:
<add key="DelayedCustomerCreation" value="true"/>
You can also use the static AspDotNetStorefrontCommon.Customer.MakeAnonCustome rRecord and AspDotNetStorefrontCommon.Customer.CreateCustomerR ecord methods in code to create the customer at any point that you wish.
Note that setting this to false can cause databases to grow fairly quickly. Make sure that you are performing regular (best to perform daily/nightly) database backups, and running monthly maintenance at least once a month, if not once a week, to clean these up.
<a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>