The code below to migrate an anonymous users shopping cart to the current users cart is missing from the 'Profile_MigrateAnonymous' event in Global.asax of the
VB version code.
Code:
'if set, copy its Theme and ShoppingCart to the current user's profile
If anonProfile.ShoppingCart.Items.Count > 0 Then
Me.Profile.ShoppingCart = anonProfile.ShoppingCart
End If
Enhancement idea: if items already exist in the users profile cart may want to consider prompting user to ADD the anonymous items to the existing items in their cart instead of just replacing them